﻿
/*combine position*/

/*
 * a part of xlib 4.17
 * Cross-Browser Javascript Library, Distributed under the terms of the GNU LGPL  
 * compressed version
 */
BQ={version:'4.17',DG:'GNU LGPL',url:'http://cross-browser.com/'};function HY(Bj,AK,FY,Bb,Bl,AU,Gm,DJ,Gb,Bf,zc){var i,dU,cc=null,kS,mA,root,fr,kR,bi,kP,tc;var e,t,tr,a,rI,ti=null;dU=xGetElementById(Bj);if(!dU|| !document.createElement|| !document.appendChild|| !dU.deleteCaption|| !dU.deleteTHead){return null;}kS=xWidth(dU.rows[1].cells[0]);mA=xHeight(dU.rows[0]);root=document.createElement('div');root.className=AK;fr=document.createElement('div');fr.className=Bb;kR=document.createElement('div');kR.className=Bl;fr.appendChild(kR);root.appendChild(fr);bi=document.createElement('div');bi.className=Gm;kP=document.createElement('div');kP.className=DJ;bi.appendChild(kP);root.appendChild(bi);tc=document.createElement('div');tc.className=Bf;root.appendChild(tc);if(dU.caption){cc=document.createElement('div');cc.className=FY;cc.appendChild(dU.caption.firstChild);root.appendChild(cc);dU.deleteCaption();}a=dU.rows[0].cells;rI=a.length;for(i=1;i<rI;++i){e=document.createElement('div');e.className=AU;t=document.createElement('table');t.className=zc;tr=t.insertRow(0);tr.appendChild(a[1]);e.appendChild(t);kR.appendChild(e);}if(dU.tHead){dU.deleteTHead();}a=dU.rows;rI=a.length;for(i=0;i<rI;++i){e=document.createElement('div');e.className=Gb;t=document.createElement('table');t.className=zc;tr=t.insertRow(0);tr.appendChild(a[i].cells[0]);e.appendChild(t);kP.appendChild(e);}dU=dU.parentNode.replaceChild(root,dU);tc.appendChild(dU);resize();root.style.visibility='visible';xAddEventListener(tc,'scroll',onScroll,false);xAddEventListener(window,'resize',onResize,false);function onScroll(){ni(kR,-tc.scrollLeft);qR(kP,-tc.scrollTop);}function onResize(){if(!ti){ti=setTimeout(function(){resize();ti=null;},500);}}function resize(){var pK=0,nu=0,w,h;if(cc){nu=xHeight(cc);xMoveTo(cc,0,0);xWidth(cc,xWidth(root));}xMoveTo(fr,kS,nu);kc(fr,xWidth(root)-kS,mA);xMoveTo(kR,0,0);kc(kR,xWidth(dU),mA);xMoveTo(bi,0,nu+mA);kc(bi,kS,xHeight(root)-nu);xMoveTo(kP,0,0);kc(kP,kS,xHeight(dU));xMoveTo(tc,kS,nu+mA);xWidth(tc,xWidth(root)-kS-1);xHeight(tc,xHeight(root)-nu-mA-1);a=dU.rows[0].cells;e=xFirstChild(kR,'div');for(i=0;i<a.length;++i){xMoveTo(e,pK,0);w=xWidth(e,xWidth(a[i]));h=xHeight(e,mA);pK+=w;kc(xFirstChild(e,'table'),w,h);e=mk(e,'div');}pK=0;a=dU.rows;e=xFirstChild(kP,'div');for(i=0;i<a.length;++i){xMoveTo(e,0,pK);w=xWidth(e,kS);h=xHeight(e,xHeight(a[i]));pK+=h;kc(xFirstChild(e,'table'),w,h);e=mk(e,'div');}onScroll();}}function Ib(yp,yZ,zL){za(yp,function(T,CO){if(!CO){T.onmouseover=BO;T.onmouseout=AT;}});function BO(e){xAddClass(this,zL);var tr=this.parentNode;for(var i=0;i<tr.cells.length;++i){if(this!=tr.cells[i])xAddClass(tr.cells[i],yZ);}}function AT(e){xRemoveClass(this,zL);var tr=this.parentNode;for(var i=0;i<tr.cells.length;++i){xRemoveClass(tr.cells[i],yZ);}}this.unload=function(){za(yp,function(o){o.onmouseover=o.onmouseout=null;});};}function HW(wg,AM,ws,CY,Dp){var lf=[];function so(e){e=e||window.event;var r=e.type=='resize'?true:false;for(var i=0;i<lf.length;++i){scroll(lf[i],r);}}function scroll(t,Fk){if(!t){return;}var zV=xGetElementById(wg);var kT=xGetElementById(t.AO);var thead=t.tHead;var qZ,sl,Du=xPageY(thead);/*@cc_on@if(@_jscript_version==5.6)qZ=xGetElementById(ws).scrollTop;sl=xGetElementById(ws).scrollLeft;@else@*/ qZ=hp();sl=jb();/*@end@*/ var th=xHeight(t);var Ci=xWidth(t);var CI=xPageY(t);var CJ=xPageX(t);var AJ=xHeight(kT);if(Fk){xWidth(kT,Ci+2*CY);var yn=ma('th',t);var Dr=ma('th',kT);for(var i=0;i<yn.length;++i){xWidth(Dr[i],xWidth(yn[i])+Dp);}}ni(kT,CJ-sl);if(qZ<=Du||qZ>CI+th-AJ){if(kT.style.visibility!='hidden'){kT.style.visibility='hidden';zV.style.visibility='hidden';}}else{if(kT.style.visibility!='visible'){kT.style.visibility='visible';zV.style.visibility='visible';}}}function init(){var i,ew,h,t,na;if(null==(na=xGetElementById(wg))){na=document.createElement('div');na.id=wg;document.body.appendChild(na);}for(i=0;i<lf.length;++i){ew=lf[i];h=ew.tHead;if(h){t=document.createElement('table');t.className=AM;t.appendChild(h.cloneNode(true));t.id=ew.AO='xtfh'+i;na.appendChild(t);}else{lf[i]=null;}}na.style.visibility='hidden';}this.unload=function(){for(var i=0;i<lf.length;++i){lf[i]=null;}};var i,j,sc;if(arguments.length>5){i=5;sc=arguments;}else{i=0;sc=ma('table');}for(j=0;i<sc.length;++i,++j){lf[j]=xGetElementById(sc[i]);}init();so({type:'resize'});/*@cc_on@if(@_jscript_version==5.6)xAddEventListener(ws,'scroll',so,false);@else@*/ xAddEventListener(window,'scroll',so,false);/*@end@*/ xAddEventListener(window,'resize',so,false);}function Ie(CN,uf,yk,Ae){var img;if(typeof Image!='undefined'&&document.getElementById){img=document.getElementById(CN);if(img){var Cw=img.src;var i=new Image();i.src=uf;i=new Image();i.src=yk;img.onmouseover=function(){this.src=uf;};img.onmouseout=function(){this.src=Cw;};img.onmousedown=function(){this.src=yk;};img.onmouseup=function(){this.src=uf;if(Ae){Ae();}};}}this.onunload=function(){if(!window.opera&&img){img.onmouseover=img.onmouseout=img.onmousedown=null;img=null;}};}function HA(pM,Hc,w,h,x,y,tY,tO,uF,sU,uI,tJ){var Ds=this;var e='',c=',',oN='left=',nV='top=';this.n=name;if(document.layers){oN='screenX=';nV='screenY=';}this.f=(w?'width='+w+c:e)+(h?'height='+h+c:e)+(x>=0?oN+x+c:e)+(y>=0?nV+y+c:e)+'location='+tY+',menubar='+tO+',resizable='+uF+',scrollbars='+sU+',status='+uI+',toolbar='+tJ;this.lq=function(){return this.w&& !this.w.closed;};this.close=function(){if(this.lq())this.w.close();};this.focus=function(){if(this.lq())this.w.focus();};this.load=function(kF){if(this.lq())this.w.location.href=kF;else this.w=window.open(kF,this.n,this.f);this.focus();return false;};function onClick(){return Ds.load(this.href);}BC(pM,document,'*',BX);function BX(e){e.onclick=onClick;}}function HK(name,w,h,x,y,tY,tO,uF,sU,uI,tJ){var e='',c=',',oN='left=',nV='top=';this.n=name;if(document.layers){oN='screenX=';nV='screenY=';}this.f=(w?'width='+w+c:e)+(h?'height='+h+c:e)+(x>=0?oN+x+c:e)+(y>=0?nV+y+c:e)+'location='+tY+',menubar='+tO+',resizable='+uF+',scrollbars='+sU+',status='+uI+',toolbar='+tJ;this.lq=function(){return this.w&& !this.w.closed;};this.close=function(){if(this.lq())this.w.close();};this.focus=function(){if(this.lq())this.w.focus();};this.load=function(kF){if(this.lq())this.w.location.href=kF;else this.w=window.open(kF,this.n,this.f);this.focus();return false;};}function xAddClass(e,c){if((e=xGetElementById(e))!=null){var s='';if(e.className.length&&e.className.charAt(e.className.length-1)!=' '){s=' ';}if(!Bz(e,c)){e.className+=s+c;return true;}}return false;}function IM(oParent,oChild){if(oParent.appendChild)return oParent.appendChild(oChild);else return null;}function IK(e,c,i){if(!(e=xGetElementById(e)))return '';var bg='';if(e.style){if(dc(c)){e.style.backgroundColor=c;}if(dc(i)){e.style.backgroundImage=(i!='')?'url('+i+')':null;}bg=e.style.backgroundColor;}return bg;}function BH(DK){var i,c,a=DK.split('-');var s=a[0];for(i=1;i<a.length;++i){c=a[i].charAt(0);s+=a[i].replace(c,c.toUpperCase());}return s;}function Ig(ed){var i,c,uM,s='',ly=true;for(i=0;i<ed.length;++i){c=ed.charAt(i);uM=Cq(c);if(uM){ly=true;}if(ly&& !uM){c=c.toUpperCase();ly=false;}s+=c;}return s;function Cq(c){return c==' '||c=='\n'||c=='\t';}}function Bv(e,cP,margin,outside){if(!(e=xGetElementById(e)))return;if(typeof(cP)!='string'){window.status='Bv error: cP='+cP+', id='+e.id;return;}var x=ni(e),y=qR(e),w=xWidth(e),h=xHeight(e);var rG,ra,p=e.offsetParent;if(p==document||p.nodeName.toLowerCase()=='html'){rG=xClientWidth();ra=xClientHeight();}else{rG=xWidth(p);ra=xHeight(p);}var kq=jb(p),je=hp(p);var right=kq+rG,bottom=je+ra;var sH=kq+Math.floor((rG-w)/2),sG=je+Math.floor((ra-h)/2);if(!margin)margin=0;else{if(outside)margin= -margin;kq+=margin;je+=margin;right-=margin;bottom-=margin;}switch(cP.toLowerCase()){case 'n':x=sH;if(outside)y=je-h;else y=je;break;case 'ne':if(outside){x=right;y=je-h;}else{x=right-w;y=je;}break;case 'e':y=sG;if(outside)x=right;else x=right-w;break;case 'se':if(outside){x=right;y=bottom;}else{x=right-w;y=bottom-h}break;case 's':x=sH;if(outside)y=je-h;else y=bottom-h;break;case 'sw':if(outside){x=kq-w;y=bottom;}else{x=kq;y=bottom-h;}break;case 'w':y=sG;if(outside)x=kq-w;else x=kq;break;case 'nw':if(outside){x=kq-w;y=je-h;}else{x=kq;y=je;}break;case 'cen':x=sH;y=sG;break;case 'cenh':x=sH;break;case 'cenv':y=sG;break;}var o=new Object();o.x=x;o.y=y;return o;}function xClientHeight(){var v=0,d=document,w=window;if((!d.compatMode||d.compatMode=='CSS1Compat')&& !w.opera&&d.documentElement&&d.documentElement.clientHeight){v=d.documentElement.clientHeight;}else if(d.body&&d.body.clientHeight){v=d.body.clientHeight;}else if(bP(w.innerWidth,w.innerHeight,d.width)){v=w.innerHeight;if(d.width>w.innerWidth)v-=16;}return v;}function xClientWidth(){var v=0,d=document,w=window;if((!d.compatMode||d.compatMode=='CSS1Compat')&& !w.opera&&d.documentElement&&d.documentElement.clientWidth){v=d.documentElement.clientWidth;}else if(d.body&&d.body.clientWidth){v=d.body.clientWidth;}else if(bP(w.innerWidth,w.innerHeight,d.height)){v=w.innerWidth;if(d.height>w.innerHeight)v-=16;}return v;}function Ii(e,t,r,b,l){if(!(e=xGetElementById(e)))return;if(e.style){if(dr(l))e.style.clip='rect('+t+'px '+r+'px '+b+'px '+l+'px)';else e.style.clip='rect(0 '+parseInt(e.style.width)+'px '+parseInt(e.style.height)+'px 0)';}}function Io(){var i,j,h=[];for(i=1,j=0;i<arguments.length;i+=2,++j){h[j]=xHeight(arguments[i]);}h.sort(d);for(i=0;i<arguments.length;i+=2){xHeight(arguments[i],h[0]);}return h[0];function d(a,b){return b-a;}}function Iq(e,s){if(!(e=xGetElementById(e)))return '';var c='';if(e.style&&bP(e.style.color)){if(dc(s))e.style.color=s;c=e.style.color;}return c;}function GG(sTag){if(document.createElement)return document.createElement(sTag);else return null;}function bP(){for(var i=0;i<arguments.length;++i){if(typeof(arguments[i])=='undefined')return false;}return true;}function GI(DQ){return DQ*(180/Math.PI);}function GR(name,path){if(Bt(name)){document.cookie=name+"="+"; path="+((!path)?"/":path)+"; expires="+new Date(0).toGMTString();}}function xDisplay(e,s){if((e=xGetElementById(e))&&e.style&&bP(e.style.display)){if(dc(s)){try{e.style.display=s;}catch(ex){e.style.display='';}}return e.style.display;}return null;}function qM(){var b=document.body,e=document.documentElement;var Ac=0,Ai=0,AE=0,xG=0,Aj=0,Ad=0,Az=0,xC=0;if(e){Ac=e.scrollWidth;Ai=e.offsetWidth;Aj=e.scrollHeight;Ad=e.offsetHeight;}if(b){AE=b.scrollWidth;xG=b.offsetWidth;Az=b.scrollHeight;xC=b.offsetHeight;}return{w:Math.max(Ac,Ai,AE,xG),h:Math.max(Aj,Ad,Az,xC)};}function GC(c,f,s){var l=c.length;for(var i=(s||0);i<l;i++){f(c[i],i,l);}};function GD(c,f,s){var r,l=c.length;for(var i=(s||0);i<l;i++){r=f(c[i],i,l);if(r!==undefined)break;}return r;};function Ho(fK,pM){var gN=new RegExp('\\b'+pM+'\\b','i');return Ei(fK,function(n){if(n.className.search(gN)!= -1)return n;});}function Hj(fK,pM){var gN=new RegExp('\\b'+pM+'\\b','i');return Ej(fK,function(n){if(n.className.search(gN)!= -1)return n;});}function xFirstChild(e,t){e=xGetElementById(e);var c=e?e.firstChild:null;while(c){if(c.nodeType==1&&(!t||c.nodeName.toLowerCase()==t.toLowerCase())){break;}c=c.nextSibling;}return c;}function By(dM){return dM.rules?dM.rules:dM.cssRules;}function cJ(e,p,i){if(!(e=xGetElementById(e)))return null;var s,v='undefined',wb=document.defaultView;if(wb&&wb.getComputedStyle){s=wb.getComputedStyle(e,'');if(s)v=s.getPropertyValue(p);}else if(e.currentStyle){v=e.currentStyle[BH(p)];}else return null;return i?(parseInt(v)||0):v;}function Bt(name){var value=null,search=name+"=";if(document.cookie.length>0){var offset=document.cookie.indexOf(search);if(offset!= -1){offset+=search.length;var end=document.cookie.indexOf(";",offset);if(end== -1)end=document.cookie.length;value=unescape(document.cookie.substring(offset,end));}}return value;}function Hq(x,y){var he=null,z,zK=0;var i,list=ma('*');for(i=0;i<list.length;++i){if(BF(list[i],x,y)){z=parseInt(list[i].style.zIndex);z=z||0;if(z>=zK){zK=z;he=list[i];}}}return he;}function xGetElementById(e){if(typeof(e)=='string'){if(document.getElementById)e=document.getElementById(e);else if(document.all)e=document.all[e];else e=null;}return e;}function Hs(sTag,zd,AV,fn){var a,list,nP=new Array(),gN=new RegExp(AV,'i');list=ma(sTag);for(var i=0;i<list.length;++i){a=list[i].getAttribute(zd);if(!a){a=list[i][zd];}if(typeof(a)=='string'&&a.search(gN)!= -1){nP[nP.length]=list[i];if(fn)fn(list[i]);}}return nP;}function BC(c,p,t,f){var r=new Array();var gN=new RegExp("(^|\\s)"+c+"(\\s|$)");var e=ma(t,p);for(var i=0;i<e.length;++i){if(gN.test(e[i].className)){r[r.length]=e[i];if(f)f(e[i]);}}return r;}function ma(t,p){var list=null;t=t||'*';p=p||document;if(typeof p.getElementsByTagName!='undefined'){list=p.getElementsByTagName(t);if(t=='*'&&(!list|| !list.length))list=p.all;}else{if(t=='*')list=p.all;else if(p.all&&p.all.tags)list=p.all.tags(t);}return list||new Array();}function GV(cl){return cl.styleSheet?cl.styleSheet:cl.sheet;}function GX(){var nJ=location.href.indexOf('?');var params=new Array();if(nJ!= -1){var xH=location.href.substring(nJ+1,location.href.length).split('&');for(var i=0;i<xH.length;i++){uO=xH[i].split('=');params[i]=uO[1];params[uO[0]]=uO[1];}}return params;}function Bz(e,c){e=xGetElementById(e);if(!e||e.className=='')return false;var gN=new RegExp("(^|\\s)"+c+"(\\s|$)");return gN.test(e.className);}function BF(e,x,y,t,r,b,l){if(!dr(t)){t=r=b=l=0;}else if(!dr(r)){r=b=l=t;}else if(!dr(b)){l=r;b=t;}var eX=xPageX(e),zW=xPageY(e);return(x>=eX+l&&x<=eX+xWidth(e)-r&&y>=zW+t&&y<=zW+xHeight(e)-b);}function Hg(dM){if(!BM())return undefined;function BL(cr){return cr.selectorText.indexOf(dM)>=0;}return Er(BL);}function BM(){return document.styleSheets?true:false;}function xHeight(e,h){if(!(e=xGetElementById(e)))return 0;if(dr(h)){if(h<0)h=0;else h=Math.round(h);}else h= -1;var css=bP(e.style);if(e==document||e.tagName.toLowerCase()=='html'||e.tagName.toLowerCase()=='body'){h=xClientHeight();}else if(css&&bP(e.offsetHeight)&&dc(e.style.height)){if(h>=0){var pt=0,yb=0,AB=0,xQ=0;if(document.compatMode=='CSS1Compat'){var jL=cJ;pt=jL(e,'padding-top',1);if(pt!==null){yb=jL(e,'padding-bottom',1);AB=jL(e,'border-top-width',1);xQ=jL(e,'border-bottom-width',1);}else if(bP(e.offsetHeight,e.style.height)){e.style.height=h+'px';pt=e.offsetHeight-h;}}h-=(pt+yb+AB+xQ);if(isNaN(h)||h<0)return;else e.style.height=h+'px';}h=e.offsetHeight;}else if(css&&bP(e.style.pixelHeight)){if(h>=0)e.style.pixelHeight=h;h=e.style.pixelHeight;}return h;}function yU(n,EE,prefix){var p='',n=Math.ceil(n);if(prefix)p=prefix;n=n.toString(16);for(var i=0;i<EE-n.length;++i){p+='0';}return p+n;}function vP(e){return xD(e,0);}function GU(sA,sm,sp,yQ,yY,oq){var i,iP=oq||document.images;for(i=0;i<iP.length;++i){iP[i].onload=Cf;iP[i].onerror=Cc;iP[i].onabort=Cj;}nf.sA=sA;nf.sm=sm;nf.sp=sp;nf.oq=oq;nf();function Cf(){this.DF=true;}function Cc(){if(yQ&& !this.yM){this.src=yQ;}this.yM=true;}function Cj(){if(yY&& !this.yL){this.src=yY;}this.yL=true;}}function nf(){var jJ=arguments.callee;if(!jJ){return;}var i,iP=jJ.oq?jJ.oq:document.images;var c=0,e=0,a=0,n=iP.length;for(i=0;i<n;++i){if(iP[i].yM){++e;}else if(iP[i].yL){++a;}else if(iP[i].complete||iP[i].DF){++c;}}if(jJ.sA){jJ.sA(n,c,e,a);}if(c+e+a==n){if((e||a)&&jJ.sp){jJ.sp(n,c,e,a);}else if(jJ.sm){jJ.sm();}}else setTimeout('nf()',250);}function Hm(p,s,x){var fK,id;for(var i=3;i<arguments.length;++i){id=arguments[i];if(fK=xGetElementById(id)){fK.yx=p+id+x;fK.rC=new Image();fK.rC.src=p+id+s+x;fK.onmouseout=Ce;fK.onmouseover=Cl;}}function Ce(e){if(this.yx){this.src=this.yx;}}function Cl(e){if(this.rC&&this.rC.complete){this.src=this.rC.src;}}}function xInnerHtml(e,h){if(!(e=xGetElementById(e))|| !dc(e.innerHTML))return null;var s=e.innerHTML;if(dc(h)){e.innerHTML=h;}return s;}function Hl(dM,bd,rule,nJ){if(!(dM=xGetElementById(dM)))return false;if(dM.insertRule){dM.insertRule(bd+"{"+rule+"}",(nJ>=0?nJ:dM.cssRules.length));}else if(dM.addRule){dM.addRule(bd,rule,nJ);}else return false;return true;}function GW(rS,sD,o){var wC,wF,wD,sf,nG=true;var pE=xPageX(rS);var wc=pE+xWidth(rS);var sB=xPageY(rS);var sM=sB+xHeight(rS);var pH=xPageX(sD);var we=pH+xWidth(sD);var rY=xPageY(sD);var rV=rY+xHeight(sD);if(pE<=pH){wC=pH;if(wc<pH)nG=false;else wD=Math.min(wc,we)-pH;}else{wC=pE;if(we<pE)nG=false;else wD=Math.min(wc,we)-pE;}if(sM>=rV){wF=rV;if(sB>rV)nG=false;else sf=rV-Math.max(sB,rY);}else{wF=sM;if(rY>sM)nG=false;else sf=sM-Math.max(sB,rY);}if(nG&&typeof(o)=='object'){o.x=wC;o.y=wF-sf;o.w=wD;o.h=sf;}return nG;}function ni(e,hy){if(!(e=xGetElementById(e)))return 0;var css=bP(e.style);if(css&&dc(e.style.left)){if(dr(hy))e.style.left=hy+'px';else{hy=parseInt(e.style.left);if(isNaN(hy))hy=cJ(e,'left',1);if(isNaN(hy))hy=0;}}else if(css&&bP(e.style.pixelLeft)){if(dr(hy))e.style.pixelLeft=hy;else hy=e.style.pixelLeft;}return hy;}function Hf(__O,zM,CD,oL,Fz){var m=(Fz-oL)/(CD-zM);var b=oL-(zM*m);return m*__O+b;}function Hd(url){if(document.createElement&&document.getElementsByTagName){var s=document.createElement('script');var h=document.getElementsByTagName('head');if(s&&h.length){s.src=url;h[0].appendChild(s);}}}function xMoveTo(e,x,y){ni(e,x);qR(e,y);}function mk(e,t){e=xGetElementById(e);var s=e?e.nextSibling:null;while(s){if(s.nodeType==1&&(!t||s.nodeName.toLowerCase()==t.toLowerCase())){break;}s=s.nextSibling;}return s;}function dr(){for(var i=0;i<arguments.length;++i){if(isNaN(arguments[i])||typeof(arguments[i])!='number')return false;}return true;}function GZ(e){if(!(e=xGetElementById(e)))return 0;if(bP(e.offsetLeft))return e.offsetLeft;else return 0;}function GY(e){if(!(e=xGetElementById(e)))return 0;if(bP(e.offsetTop))return e.offsetTop;else return 0;}function GB(e,o){var set=bP(o);if(!(e=xGetElementById(e)))return 2;if(dc(e.style.opacity)){if(set)e.style.opacity=o+'';else o=parseFloat(e.style.opacity);}else if(dc(e.style.filter)){if(set)e.style.filter='alpha(opacity='+(100*o)+')';else if(e.filters&&e.filters.alpha){o=e.filters.alpha.opacity/100;}}else if(dc(e.style.MozOpacity)){if(set)e.style.MozOpacity=o+'';else o=parseFloat(e.style.MozOpacity);}else if(dc(e.style.Av)){if(set)e.style.Av=o+'';else o=parseFloat(e.style.Av);}return isNaN(o)?1:o;}function GA(s,len,c,left){if(typeof s!='string')s=s+'';if(left){for(var i=s.length;i<len;++i)s=c+s;}else{for(var i=s.length;i<len;++i)s+=c;}return s;}function xPageX(e,uX){var x=0;var vc=uX||false;e=xGetElementById(e);while(e){if(bP(e.offsetLeft))x+=e.offsetLeft-(vc?e.scrollLeft:0);e=bP(e.offsetParent)?e.offsetParent:null;}return x;}function xPageY(e,uX){var y=0;var vc=uX||false;e=xGetElementById(e);while(e){if(bP(e.offsetTop))y+=e.offsetTop-(vc?e.scrollTop:0);e=bP(e.offsetParent)?e.offsetParent:null;}return y;}function Iu(e,Fs){if(!(e=xGetElementById(e)))return null;var p=null;if(!Fs&&bP(e.offsetParent))p=e.offsetParent;else if(bP(e.parentNode))p=e.parentNode;else if(bP(e.parentElement))p=e.parentElement;return p;}function Ij(fK,n){while(fK&&n--){fK=fK.parentNode;}return fK;}function Im(c){var o={};if(dc(c)){if(c.indexOf('rgb')!= -1){var a=c.match(/(\d*)\s*,\s*(\d*)\s*,\s*(\d*)/);o.r=parseInt(a[1])||0;o.g=parseInt(a[2])||0;o.b=parseInt(a[3])||0;o.n=(o.r<<16)|(o.g<<8)|o.b;}else{pn(parseInt(c.substr(1),16));}}else{pn(c);}o.s=yU(o.n,6,'#');return o;function pn(n){o.n=n||0;o.r=(o.n&0xFF0000)>>16;o.g=(o.n&0xFF00)>>8;o.b=o.n&0xFF;}}function Ik(e,t){e=xGetElementById(e);var s=e?e.previousSibling:null;while(s){if(s.nodeType==1&&(!t||s.nodeName.toLowerCase()==t.toLowerCase())){break;}s=s.previousSibling;}return s;}function II(DS){return DS*(Math.PI/180);}function xRemoveClass(e,c){if(!(e=xGetElementById(e)))return false;e.className=e.className.replace(new RegExp("(^|\\s)"+c+"(\\s|$)",'g'),function(ed,kp,Fx){return(kp==' '&&Fx==' ')?' ':'';});return true;}function kc(e,w,h){xWidth(e,w);xHeight(e,h);}function IL(r,g,b){return yU((r<<16)|(g<<8)|b,6,'#');}function jb(e,pV){var offset=0;if(!bP(e)||pV||e==document||e.tagName.toLowerCase()=='html'||e.tagName.toLowerCase()=='body'){var w=window;if(pV&&e)w=e;if(w.document.documentElement&&w.document.documentElement.scrollLeft)offset=w.document.documentElement.scrollLeft;else if(w.document.body&&bP(w.document.body.scrollLeft))offset=w.document.body.scrollLeft;}else{e=xGetElementById(e);if(e&&dr(e.scrollLeft))offset=e.scrollLeft;}return offset;}function hp(e,pV){var offset=0;if(!bP(e)||pV||e==document||e.tagName.toLowerCase()=='html'||e.tagName.toLowerCase()=='body'){var w=window;if(pV&&e)w=e;if(w.document.documentElement&&w.document.documentElement.scrollTop)offset=w.document.documentElement.scrollTop;else if(w.document.body&&bP(w.document.body.scrollTop))offset=w.document.body.scrollTop;}else{e=xGetElementById(e);if(e&&dr(e.scrollTop))offset=e.scrollTop;}return offset;}function Iz(name,value,zX,path){document.cookie=name+"="+escape(value)+((!zX)?"":("; expires="+zX.toGMTString()))+"; path="+((!path)?"/":path);}function lb(e){return xD(e,1);}function mi(rk,url){var zS=false;var s;for(var i=0;i<mi.list.length;i++){if(mi.list[i].url==url){zS=true;s=mi.list[i].node;break;}}if(document.createElement&&document.getElementsByTagName&& !zS){s=document.createElement(rk);var h=document.getElementsByTagName('head');if(s&&h.length){switch(rk.toUpperCase()){case 'SCRIPT':s.src=url;break;case 'LINK':s.rel='stylesheet';s.type='text/css';s.href=url;break;default:s=null;break;}h[0].appendChild(s);mi.list[mi.list.length]={url:url,node:s};}}return s;}mi.list=[];function qw(rk,Gw,Gx,Gy,Ih){var u,i,j,s,h,loaded,c=0,e=rk.toLowerCase();if(document.createElement&&document.getElementsByTagName){h=document.getElementsByTagName('head');if(h.length&&h[0].appendChild){for(i=1;i<arguments.length;++i){loaded=false;u=arguments[i];for(j=0;j<qw.list.length;j++){if(qw.list[j]==u){loaded=true;break;}}if(!loaded){s=document.createElement(e);if(s){switch(e){case 'script':s.type='text/javascript';s.src=u;break;case 'link':s.rel='stylesheet';s.type='text/css';s.href=u;break;default:continue;}h[0].appendChild(s);qw.list[qw.list.length]=u;++c;}}}}}return c;}qw.list=[];function HH(url){mi('script',url);}function dc(s){for(var i=0;i<arguments.length;++i){if(typeof(arguments[i])!='string')return false;}return true;}function Hz(s,end){if(!dc(s,end))return false;var l=s.length;var r=l-end.length;if(r>0)return s.substring(r,l)==end;return s==end;}function Hy(s,sF){if(!dc(s,sF))return s;var l=s.length;var r=l-sF.length;if(r>0)return s.substring(0,r)+sF;return sF;}function HN(s,rb){if(!dc(s,rb))return false;var l=s.length;var r=rb.length;if(r>l)return false;if(r<l)return s.substring(0,r)==rb;return s==rb;}function HZ(zv,Bc){var i,e;for(i=2;i<arguments.length;++i){e=xGetElementById(arguments[i]);if(e.style){try{e.style[zv]=Bc;}catch(HT){e.style[zv]='';}}}}function HX(lo,db,nx,pD){db=xGetElementById(db);if(db&&nx<db.rows.length&&pD<db.rows[nx].cells.length){db.rows[nx].cells[pD].style.visibility=lo?'visible':'hidden';}}function Ia(lo,db,pD){var r;db=xGetElementById(db);if(db&&pD<db.rows[0].cells.length){for(r=0;r<db.rows.length;++r){db.rows[r].cells[pD].style.display=lo?'':'none';}}}function za(db,wj,data){var r,c;db=xGetElementById(db);if(!db|| !wj){return;}for(r=0;r<db.rows.length;++r){if(false==wj(db.rows[r],true,r,c,data)){return;}for(c=0;c<db.rows[r].cells.length;++c){if(false==wj(db.rows[r].cells[c],false,r,c,data)){return;}}}}function HV(lo,db,nx){db=xGetElementById(db);if(db&&nx<db.rows.length){db.rows[nx].style.display=lo?'':'none';}}function HS(uJ,zp,rs,fn){var zg=xGetElementById(uJ);var zi=xGetElementById(zp);rs='on'+rs.toLowerCase();zg[rs]=zi[rs]=function(e){e=e||window.event;var t=e.target||e.srcElement;while(t&&t.nodeName.toLowerCase()!='td'){t=t.parentNode;}if(t){var r=t.parentNode.sectionRowIndex,c=t.cellIndex;var ew=xGetElementById(this.id==uJ?zp:uJ);fn(t,ew.rows[r].cells[c]);}};zg=zi=null;}function HO(n,f,s){s=s||0;n=n+s;for(var i=s;i<n;i++)f(i);};function HP(e,c){if(!(e=xGetElementById(e)))return null;if(!xRemoveClass(e,c)&& !xAddClass(e,c))return false;return true;}function qR(e,hG){if(!(e=xGetElementById(e)))return 0;var css=bP(e.style);if(css&&dc(e.style.top)){if(dr(hG))e.style.top=hG+'px';else{hG=parseInt(e.style.top);if(isNaN(hG))hG=cJ(e,'top',1);if(isNaN(hG))hG=0;}}else if(css&&bP(e.style.pixelTop)){if(dr(hG))e.style.pixelTop=hG;else hG=e.style.pixelTop;}return hG;}function Er(pS){var uT=document.styleSheets;if(!uT)return undefined;for(i=0;i<uT.length;i++){var dM=uT[i];if(!dM)continue;if(vY(dM,pS))return true;}return false;}function vY(dM,pS){if(!dM)return false;var sZ=By(dM);if(!sZ)return undefined;var result;for(var j=0;j<sZ.length;j++){var cr=sZ[j];if(cr.selectorText){result=pS(cr);if(result)return true;}if(cr.type&&cr.type==3&&cr.styleSheet)vY(cr.styleSheet,pS);}if(dM.imports){for(var j=0;j<dM.imports.length;j++){if(vY(dM.imports[j],pS))return true;}}return false;}function Ic(s){return s.replace(/^\s+|\s+$/g,'');}function xD(e,lo){if(!(e=xGetElementById(e)))return null;if(e.style&&bP(e.style.visibility)){if(bP(lo))e.style.visibility=lo?'visible':'hidden';return e.style.visibility;}return null;}function Ej(oNode,hJ,fJ,data){var r=null;while(oNode){if(oNode.nodeType==1&&oNode!=fJ){r=hJ(oNode,data);if(r)return r;}var n=oNode;while(n=n.previousSibling){if(n!=fJ){r=xv(n,hJ,fJ,data);if(r)return r;}}oNode=oNode.parentNode;}return r;}function Ei(oNode,hJ,fJ,data){var r=null;if(oNode){r=wa(oNode,hJ,fJ,data);if(r)return r;while(oNode){var n=oNode;while(n=n.nextSibling){if(n!=fJ){r=wa(n,hJ,fJ,data);if(r)return r;}}oNode=oNode.parentNode;}}return r;}function Ek(n,f){f(n);for(var c=n.firstChild;c;c=c.nextSibling){if(c.nodeType==1)Ek(c,f);}}function wa(oNode,hJ,fJ,data){var r=null;if(oNode){if(oNode.nodeType==1&&oNode!=fJ){r=hJ(oNode,data);if(r)return r;}for(var c=oNode.firstChild;c;c=c.nextSibling){if(c!=fJ)r=wa(c,hJ,fJ,data);if(r)return r;}}return r;}function EJ(n,f,d,l,b){if(typeof l=='undefined')l=0;if(typeof b=='undefined')b=0;var v=f(n,l,b,d);if(!v)return 0;if(v==1){for(var c=n.firstChild;c;c=c.nextSibling){if(c.nodeType==1){if(!l)++b;if(!EJ(c,f,d,l+1,b))return 0;}}}return 1;}function xv(oNode,hJ,fJ,data){var r=null;if(oNode){if(oNode.nodeType==1&&oNode!=fJ){r=hJ(oNode,data);if(r)return r;}for(var c=oNode.lastChild;c;c=c.previousSibling){if(c!=fJ)r=xv(c,hJ,fJ,data);if(r)return r;}}return r;}function EP(xT,d,f,lv){var r,sd,li=xFirstChild(xT);if(!lv){lv=0;}while(li){sd=xFirstChild(li,'ul');r=f(xT,li,sd,d,lv);if(sd){if(!r|| !EP(sd,d,f,lv+1)){return 0;};}li=mk(li);}return 1;}function xWidth(e,w){if(!(e=xGetElementById(e)))return 0;if(dr(w)){if(w<0)w=0;else w=Math.round(w);}else w= -1;var css=bP(e.style);if(e==document||e.tagName.toLowerCase()=='html'||e.tagName.toLowerCase()=='body'){w=xClientWidth();}else if(css&&bP(e.offsetWidth)&&dc(e.style.width)){if(w>=0){var pl=0,kH=0,bl=0,br=0;if(document.compatMode=='CSS1Compat'){var jL=cJ;pl=jL(e,'padding-left',1);if(pl!==null){kH=jL(e,'padding-right',1);bl=jL(e,'border-left-width',1);br=jL(e,'border-right-width',1);}else if(bP(e.offsetWidth,e.style.width)){e.style.width=w+'px';pl=e.offsetWidth-w;}}w-=(pl+kH+bl+br);if(isNaN(w)||w<0)return;else e.style.width=w+'px';}w=e.offsetWidth;}else if(css&&bP(e.style.pixelWidth)){if(w>=0)e.style.pixelWidth=w;w=e.style.pixelWidth;}return w;}var oM=null;function HF(kF){var AQ="left=0,top=0,width=600,height=500,location=0,menubar=0,"+"resizable=1,scrollbars=1,status=0,toolbar=0";if(oM&& !oM.closed){oM.location.href=kF;}else{oM=window.open(kF,"myWinName",AQ);}oM.focus();return false;}function xB(e,rK){if(!(e=xGetElementById(e)))return 0;if(e.style&&bP(e.style.zIndex)){if(dr(rK))e.style.zIndex=rK;rK=parseInt(e.style.zIndex);}return rK;}
/*combine position*/

/*
 * x_add_on 1.1
 * (c) 2007-2008 UssCorp
 * compressed version
 */
;function __M(e,h){if(!(e=xGetElementById(e))|| !dc(e.innerText))return '';var s=document.all?e.innerText:e.textContent;if(dc(h)){if(document.all)e.innerText=h;else if(e.firstChild)e.firstChild.nodeValue=h;else e.textContent=h;}return s;};function vW(e){lb(e);xMoveTo(e,jb()+(xClientWidth()-e.offsetWidth)/2,hp()+(xClientHeight()-e.offsetHeight)/2);};function Gi(e){var df=qM();xMoveTo(e,0,0);kc(e,df.w,df.h);lb(e);};function aT(name,tag){//-->
var ag=null;if(document.all){var aa=document.getElementsByTagName(tag);ag=new Array();for(var i=0;i<aa.length;i++){if(aa[i].getAttribute("name")==name){ag.push(aa[i]);}}}else ag=document.getElementsByName(name);return ag;};function zs(styleSheet,ij){if(!styleSheet)return false;var cL=0;try{cL=(styleSheet.cssRules)?styleSheet.cssRules.length-1:styleSheet.rules.length-1;}catch(e){}var cssRule=false;do{try{if(styleSheet.cssRules)cssRule=styleSheet.cssRules[cL];else cssRule=styleSheet.rules[cL];}catch(e){}if(cssRule){if(typeof cssRule.selectorText!='undefined'&&cssRule.selectorText.toLowerCase()==ij){if(typeof cssRule.parentStyleSheet!='undefined')cssRule.parentStyleSheet.oy=cL;else{window.parentStyleSheet=styleSheet;window.oy=cL;}return cssRule;}}cL--;}while(cL> -1)return false;};function dK(ij,ek){ij=ij.toLowerCase();if(typeof ek!='undefined')return zs(kN(ek),ij);var cssRule=false;for(var i=0;i<document.styleSheets.length;i++){cssRule=zs(document.styleSheets[i],ij);if(cssRule)return cssRule;}return false;};function zf(ij,ek){ij=ij.toLowerCase();var Ew=ij.length;var styleSheet=kN(ek);if(styleSheet){var styleSheet=document.styleSheets[i];var cL=(styleSheet.cssRules)?styleSheet.cssRules.length-1:styleSheet.rules.length-1;var cssRule=false;do{try{if(styleSheet.cssRules)cssRule=styleSheet.cssRules[cL];else cssRule=styleSheet.rules[cL];}catch(e){}if(cssRule){if(typeof cssRule.selectorText!='undefined'&&cssRule.selectorText.toLowerCase().substring(0,Ew)==ij){return cL;}}cL--;}while(cL> -1)}return 0;};function kN(ek){for(var i=0;i<document.styleSheets.length;i++)if(document.styleSheets[i].href!=null&&document.styleSheets[i].href.indexOf(ek)!= -1){return document.styleSheets[i];}return false;}
/*combine position*/

/*
 * a part of xlib 4.17
 * Cross-Browser Javascript Library, Distributed under the terms of the GNU LGPL  
 * compressed version
 */
;function fs(aw){var e=aw||window.event;if(!e)return;this.type=e.type;this.target=e.target||e.srcElement;this.relatedTarget=e.relatedTarget;/*@cc_on if(e.type=='mouseover')this.relatedTarget=e.fromElement;else if(e.type=='mouseout')this.relatedTarget=e.toElement;@*/if(bP(e.pageX)){this.pageX=e.pageX;this.pageY=e.pageY;}else if(bP(e.clientX)){this.pageX=e.clientX+jb();this.pageY=e.clientY+hp();}if(bP(e.offsetX)){this.offsetX=e.offsetX;this.offsetY=e.offsetY;}else if(bP(e.layerX)){this.offsetX=e.layerX;this.offsetY=e.layerY;}else{this.offsetX=this.pageX-xPageX(this.target);this.offsetY=this.pageY-xPageY(this.target);}this.keyCode=e.keyCode||e.which||0;this.shiftKey=e.shiftKey;this.ctrlKey=e.ctrlKey;this.altKey=e.altKey;if(typeof e.type=='string'){if(e.type.indexOf('click')!= -1){this.button=0;}else if(e.type.indexOf('mouse')!= -1){this.button=e.button;/*@cc_on if(e.button&1)this.button=0;else if(e.button&4)this.button=1;else if(e.button&2)this.button=2;@*/}}}BQ={version:'4.17',DG:'GNU LGPL',url:'http://cross-browser.com/'};function xAddEventListener(e,eT,eL,ly){if(!(e=xGetElementById(e)))return;eT=eT.toLowerCase();if(e.addEventListener)e.addEventListener(eT,eL,ly||false);else if(e.attachEvent)e.attachEvent('on'+eT,eL);else{var o=e['on'+eT];e['on'+eT]=typeof o=='function'?function(v){o(v);eL(v);}:eL;}}function Il(e){if(e&&e.preventDefault)e.preventDefault();else if(window.event)window.event.returnValue=false;}function xRemoveEventListener(e,eT,eL,ly){if(!(e=xGetElementById(e)))return;eT=eT.toLowerCase();if(e.removeEventListener)e.removeEventListener(eT,eL,ly||false);else if(e.detachEvent)e.detachEvent('on'+eT,eL);else e['on'+eT]=null;}function HG(aw){if(aw&&aw.stopPropagation)aw.stopPropagation();else if(window.event)window.event.cancelBubble=true;}