var error=false;var OK='OK';if(document.layers){document.captureEvents(Event.ONLOAD);document.captureEvents(Event.ONFOCUS);document.captureEvents(Event.ONBLUR);document.captureEvents(Event.MOUSEMOVE);document.captureEvents(Event.MOUSEDOWN);document.captureEvents(Event.MOUSEUP);document.captureEvents(Event.ONMOUSEOVER);document.captureEvents(Event.ONMOUSEOUT);}var load={flag:false,A0:new Array('ENV.Set();','set_ONW();','set_PIMG();','MOUSE()','DOWN()','MSUP()','WHEEL()'),Set:function(){var flag=true;for(iLOAD=0;iLOAD<load.A0.length;iLOAD++){if(arguments[0]==load.A0[iLOAD]){flag=false;break;}}if(flag)load.A0.push(arguments[0]);}}
window.onload=function(){load.flag=true;setTimeout('for (iLOAD = 0; iLOAD < load.A0.length; iLOAD ++) { eval(load.A0[iLOAD]); }',300);}
var timer={flag:false,A0:new Array('script_SCROLL();','script_MOVE();','script_INERTIA();','script_SWEEP();','script_TRANS();','script_SIZE();'),timer:false,Set:function(){var flag=true;for(iTIMER=0;iTIMER<timer.A0.length;iTIMER++){if(arguments[0]==timer.A0[iTIMER]){flag=false;break;}}if(flag)timer.A0.push(arguments[0]);}}
function TIMER(){if(error)return false;if(load.flag){if(timer.timer){timer.flag=false;for(iTIMER=0;iTIMER<timer.A0.length;iTIMER++){if(eval(timer.A0[iTIMER]))timer.flag=true;}if(timer.flag){clearTimeout(timer.timer);timer.timer=setTimeout('TIMER ();',16);}else{timer.timer=false;}}else{clearTimeout(timer.timer);timer.timer=setTimeout('TIMER ();',16);}}else{load.Set("TIMER ()");}}var winIE,winFF,winOP,winNN,macSF,macFF,macOP,macNN,macIE;var OSname=navigator.platform;var UAname=navigator.appName;var UAver='UNKOWN';var OSX=(navigator.userAgent.indexOf('Mac OS X')!=-1)?true:false;if(OSname.indexOf('Mac',0)>=0){if(navigator.userAgent.indexOf('Safari',0)>=0)macSF=true;else if(UAname.indexOf('Explorer',0)>=0)macIE=true;else if(navigator.userAgent.indexOf('Firefox',0)>=0)macFF=true;else if(UAname.indexOf('Opera',0)>=0)macOP=true;else if(UAname.indexOf('Netscape',0)>=0)macNN=true;}else if(OSname.indexOf('Win',0)>=0){if(UAname.indexOf('Explorer',0)>=0)winIE=true;else if(navigator.userAgent.indexOf('Firefox',0)>=0)winFF=true;else if(UAname.indexOf('Opera',0)>=0)winOP=true;else if(UAname.indexOf('Netscape',0)>=0)winNN=true;}OSname=(OSname.indexOf('Win',0)>=0)?'Win':(OSname.indexOf('Mac',0)>=0)?'Mac':'UNKOWN';if(winIE||macIE){UAname='Internet Explorer';navigator.userAgent.match(/(.*)MSIE([\D]*)([\d]+([\.][\d]+)*)(.*)/);UAver=RegExp.$3;}else if(winFF||macFF){UAname='Firefox';navigator.userAgent.match(/(.*)Firefox([\D]*)([\d]+([\.][\d]+)*)(.*)/);UAver=RegExp.$3;}else if(macSF){UAname='Safari';navigator.userAgent.match(/(.*)Version([\D]*)([\d]+([\.][\d]+)*)(.*)/);UAver=RegExp.$3;}else if(winOP||macOP){UAname='Opera';navigator.userAgent.match(/(.*)Opera([\D]*)([\d]+([\.][\d]+)*)(.*)/);UAver=RegExp.$3;}else if(winNN||macNN){UAname='Netscape Navigator';navigator.userAgent.match(/(.*)Netscape([\D]*)([\d]+([\.][\d]+)*)(.*)/);UAver=RegExp.$3;}if(!UAname){navigator.appName.match(/([\w\s]*)([\W]*)(.*)/);UAname=RegExp.$1;}if(!UAver){navigator.appVersion.match(/([\D]*)([\d]+([\.][\d]+)*)(.*)/);UAver=RegExp.$2;}var Q=new Array();var query=window.location.search;if(query!=''&&query.match(/(^\?)(.*)/)){var Qflag=false;query=RegExp.$2;query=query.replace(/&amp;|&#38/ig,"&");var Qlist=query.split('&');query='?';for(bi=0;bi<Qlist.length;bi++){var tmp=Qlist[bi].split('=');Q[(tmp[0])]=tmp[1];if(tmp[0].toUpperCase()=='ONW'){Qflag=true;}else{query+=Qlist[bi]+'&';}}if(Qflag)window.location.search=query;}var ENV={Y:0,X:0,H:0,W:0,tH:0,tW:0,Set:function(){ENV.Y=document.body.scrollTop||document.documentElement.scrollTop;ENV.Y=parseInt(ENV.Y);ENV.X=document.body.scrollLeft||document.documentElement.scrollLeft;ENV.X=parseInt(ENV.X);if(self.innerWidth){ENV.W=(document.documentElement.clientWidth)?parseInt(document.documentElement.clientWidth):parseInt(self.innerWidth);ENV.H=(document.documentElement.clientHeight)?parseInt(document.documentElement.clientHeight):parseInt(self.innerHeight);}else if(document.documentElement&&document.documentElement.clientHeight){ENV.W=parseInt(document.documentElement.clientWidth);ENV.H=parseInt(document.documentElement.clientHeight);}else if(window.document.body.clientWidth){ENV.W=parseInt(window.document.body.clientWidth);ENV.H=parseInt(window.document.body.clientHeight);}else if(document.getElementsByTagName('body')){ENV.W=parseInt(document.getElementsByTagName('body')[0].style.width);ENV.H=parseInt(document.getElementsByTagName('body')[0].style.height);}if(window.innerWidth&&window.scrollMaxX){ENV.tW=parseInt(window.innerWidth)+parseInt(window.scrollMaxX);ENV.tH=parseInt(window.innerHeight)+parseInt(window.scrollMaxY);}else if(document.body.scrollWidth&&document.body.offsetWidth){ENV.tW=(document.body.scrollWidth>document.body.offsetWidth)?parseInt(document.body.scrollWidth):parseInt(document.body.offsetWidth);ENV.tH=(document.body.scrollHeight>document.body.offsetHeight)?parseInt(document.body.scrollHeight):parseInt(document.body.offsetHeight);}else{ENV.tW=parseInt(document.body.offsetWidth);ENV.tH=parseInt(document.body.offsetHeight);}ENV.tH=(ENV.tH<ENV.H)?ENV.H:ENV.tH;ENV.tW=(ENV.tW<ENV.W)?ENV.W:ENV.tW;},WO:function(){if(!winIE){if(!window.opener){return 0;}else if(window.opener.location.hostname==window.location.hostname){return 1;}}else{if(!window.opener){return 0;}else if(window.opener.closed){return 0;}else if(window.opener.location.hostname==window.location.hostname){return 1;}}}}
if(!Array.prototype.push){Array.prototype.push=function(){var ArrayLength=this.length;for(var i=0;i<arguments.length;i++)this[ArrayLength+i]=arguments[i];}}Array.prototype.remove=function(){if(this.length>arguments[0]&&this.length>1){var tmp1=this.slice(0,arguments[0]);var tmp2=this.slice((arguments[0]+1));return tmp1.concat(tmp2);}else{return new Array();}}
Array.prototype.csv=function(){var tmp=new Array();for(i=0;i<this.length;i++){tmp[i]=String(this[i]).replace(/"/g,'""');tmp[i]=(tmp[i].match(/("")|[\r\n\,]/))?('"'+tmp[i]+'"'):tmp[i];}return tmp.join(',');}
String.prototype.csv=function(){var tmp1=this.replace(/(\x0D\x0A|[\x0D\x0A])?$/,',');var tmp2;var tmp3=new Array();while(tmp1.match(/("[^"]*(""[^"]*)*"|[^,]*),(.*)/)){tmp1=RegExp.$3;tmp2=RegExp.$1;if(tmp2.match(/^"(.*)"$/)){tmp2=RegExp.$1.replace(/""/g,'"');};tmp3.push(tmp2);}return(this!='')?tmp3:new Array();}
var Cal={px:function(){return(arguments[0]>arguments[1])?(Math.ceil((arguments[0]-arguments[1])/arguments[2])):(Math.floor((arguments[0]-arguments[1])/arguments[2]));},pm:function(){if(arguments[1]){return(arguments[0]==arguments[1])?0:(arguments[0]>arguments[1])?1:-1;}else{return(arguments[0]==0)?0:(arguments[0]>0)?1:-1;}}}
function OBJ(){var obj=arguments[0];if(obj.flag){this.path=obj.path;this.jss=this.path.style;this.id=this.id;this.flag=true;}else if(obj.style){this.path=obj;this.jss=this.path.style;this.id='Unspecified';this.flag=true;}else{this.id=obj;if(document.layers){if(arguments[0].visibility){obj=obj.name;}if(eval('document.layers["'+obj+'"]')){this.path=eval('document.layers["'+obj+'"]');this.jss=this.path;this.flag=true;}else{this.flag=false;}}else if(document.getElementById){if(eval('document.getElementById("'+obj+'")')){this.path=eval('document.getElementById("'+obj+'")');this.jss=this.path.style;this.flag=true;}else{this.flag=false;}}else if(document.all){if(eval('document.all.'+obj)){this.path=eval('document.all.'+obj);this.jss=this.path.style;this.flag=true;}else{this.flag=false;}}else{this.flag=false;}}if(this.flag){ENV.Set();this.Y=(parseInt(this.jss.top)>=0)?parseInt(this.jss.top):parseInt(this.path.offsetTop);this.Y=(this.Y)?this.Y:0;this.X=(parseInt(this.jss.left)>=0)?parseInt(this.jss.left):parseInt(this.path.offsetLeft);this.X=(this.X)?this.X:0;this.Z=this.jss.zIndex;this.Z=(this.Z)?this.Z:1;if(this.jss.height){this.H=parseInt(this.jss.height);}else{this.H=parseInt(this.path.offsetHeight);this.H-=(this.jss.paddingTop)?parseInt(this.jss.paddingTop):0;this.H-=(this.jss.paddingBottom)?parseInt(this.jss.paddingBottom):0;}if(this.jss.width){this.W=parseInt(this.jss.width);}else{this.W=parseInt(this.path.offsetWidth);this.W-=(this.jss.paddingLeft)?parseInt(this.jss.paddingLeft):0;this.W-=(this.jss.paddingRight)?parseInt(this.jss.paddingRight):0;}this.V=(this.jss.visibility=='hide'||this.jss.visibility=='hidden')?0:1;this.D=(this.jss.display=='none')?0:1;var tmpC=new Array();if(this.jss.clip){tmpC=(this.jss.clip=='auto'||this.jss.clip=='')?new Array(0,0,0,0):this.jss.clip.split('rect(')[1].split(')')[0].split(" ");for(bi=0;bi<tmpC.length;bi++){tmpC[bi]=parseInt(tmpC[bi]);}}else{tmpC=new Array(0,this.W,this.H,0);}this.C=new Array(tmpC[0],tmpC[1],tmpC[2],tmpC[3]);var tmpA;if(!isNaN(this.jss.KhtmlOpacity))tmpA=(this.jss.KhtmlOpacity)?parseInt(this.jss.KhtmlOpacity*100):100;else if(!isNaN(this.jss.MozOpacity))tmpA=(this.jss.MozOpacity)?parseInt(this.jss.MozOpacity*100):100;else if(!isNaN(this.jss.opacity))tmpA=(this.jss.opacity)?parseInt(this.jss.opacity*100):100;else if(!macIE&&this.jss.filter.match(/.*\=(\d+).*/i))tmpA=(RegExp.$1)?RegExp.$1:100;this.A=(isNaN(tmpA))?100:tmpA;this.setY=function(){this.Y=arguments[0];ENV.Set();if(document.layers){this.jss.pageY=this.Y;}else if(document.getElementById){this.jss.top=this.Y+'px';}else if(document.all){this.jss.top=this.Y+ENV.Y;}if(macSF)window.scrollTo(ENV.X,ENV.Y);return this.Y}
this.setX=function(){this.X=arguments[0];ENV.Set();if(document.layers){this.jss.pageX=this.X;}else if(document.getElementById){this.jss.left=this.X+'px';}else if(document.all){this.jss.left=this.X+ENV.X;}if(macSF)window.scrollTo(ENV.X,ENV.Y);return this.X;}
this.setZ=function(){this.Z=(arguments[0])?arguments[0]:1;this.jss.zIndex=this.Z;return this.Z;}
this.setH=function(){this.H=arguments[0];this.jss.height=this.H+'px';return this.H;}
this.setW=function(){this.W=arguments[0];this.jss.width=this.W+'px';return this.W;}
this.setV=function(){this.V=(arguments[0]==1||arguments[0]==0)?arguments[0]:(this.V)?0:1;if(this.V==1){if(document.layers){this.jss.visibility='show';}else{this.jss.visibility='visible';}}else{if(document.layers){this.jss.visibility='hide';}else{this.jss.visibility='hidden';}}return this.V;}
this.setD=function(){this.D=(arguments[0]==1||arguments[0]==0)?arguments[0]:(this.D)?0:1;if(this.D==1){this.jss.display='block';this.setV(1);}else{this.jss.display='none';}return this.D;}
this.setC=function(){this.C[0]=arguments[0];this.C[1]=arguments[1];this.C[2]=arguments[2];this.C[3]=arguments[3];if(document.getElementById||document.all){this.jss.clip='rect('+this.C[0]+'px,'+this.C[1]+'px,'+this.C[2]+'px,'+this.C[3]+'px)';}else if(document.layers){this.path.clip.top=this.C[0];this.path.clip.right=this.C[1];this.path.clip.bottom=this.C[2];this.path.clip.left=this.C[3];}return this.C;}
this.setA=function(){this.A=(arguments[0]>=100)?100:(arguments[0]<=0)?0:parseInt(arguments[0]);this.jss.KhtmlOpacity=this.A/100;this.jss.MozOpacity=this.A/100;this.jss.opacity=this.A/100;this.jss.filter='alpha(opacity='+(this.A)+')';return this.A;}
this.setI=function(){if(!load.flag)return;ENV.Set();if(document.getElementById||document.all)this.path.innerHTML=arguments[0];else if(document.layers){this.path.document.open();this.path.document.write(arguments[0]);this.path.document.close();}window.scrollTo(ENV.X,ENV.Y);}}else{this.flag=false;this.setY=non;this.setX=non;this.setZ=non;this.setH=non;this.setW=non;this.setV=non;this.setD=non;this.setC=non;this.setA=non;this.setI=non;return false;}return true;}function LIST(){this.flag=false;this.A0=new Array();this.A1=new Array();this.A2=new Array();this.A3=new Array();this.A4=new Array();this.lastA0=new Array();this.lastA1=new Array();this.lastA2=new Array();this.lastA3=new Array();this.lastA4=new Array();this.Set=function(){var flag=false;for(iLIST=0;iLIST<this.A0.length;iLIST++){if(arguments[0]==this.A0[iLIST]||arguments[0]==this.A0[iLIST].id){flag=true;this.A1[iLIST]=arguments[1];this.A2[iLIST]=arguments[2];this.A3[iLIST]=arguments[3];this.A4[iLIST]=arguments[4];break;}}if(!flag){this.A0.push(arguments[0]);this.A1.push(arguments[1]);this.A2.push(arguments[2]);this.A3.push(arguments[3]);this.A4.push(arguments[4]);}if(!timer.timer){TIMER();}return false;}
this.Clear=function(){this.A0=this.A0.remove(arguments[0]);this.A1=this.A1.remove(arguments[0]);this.A2=this.A2.remove(arguments[0]);this.A3=this.A3.remove(arguments[0]);this.A4=this.A4.remove(arguments[0]);this.lastA0=this.lastA0.remove(arguments[0]);this.lastA1=this.lastA1.remove(arguments[0]);this.lastA2=this.lastA2.remove(arguments[0]);this.lastA3=this.lastA3.remove(arguments[0]);this.lastA4=this.lastA4.remove(arguments[0]);}}function CLASS(){var tmp1=document.getElementsByTagName('*');var tmp2=new Array();var tmp3=new Array();for(i=0;i<tmp1.length;i++){tmp2=tmp1[i].className.split(/\s+|\t/);for(j=0;j<tmp2.length;j++){if(tmp2[j]==arguments[0]){tmp3.push(new OBJ(tmp1[i]));break;}}}return tmp3;}var scroll=new LIST();function script_SCROLL(){scroll.flag=false;if(!scroll.A0.length&&!scroll.A1.length)return scroll.flag;for(iSCROLL=0;iSCROLL<scroll.A0.length-1;iSCROLL++)scroll.Clear(iSCROLL);scroll.A0[0]=(scroll.A0[0]&&isNaN(scroll.A0[0]))?get_ANCHORpos(scroll.A0[0])[1]:scroll.A0[0];scroll.A0[0]=(scroll.A0[0])?scroll.A0[0]:0;scroll.A1[0]=(scroll.A1[0]&&isNaN(scroll.A1[0]))?get_ANCHORpos(scroll.A1[0])[0]:scroll.A1[0];scroll.A1[0]=(scroll.A1[0])?scroll.A1[0]:0;scroll.A2[0]=(isNaN(scroll.A2[0]))?5:scroll.A2[0];ENV.Set();if((ENV.Y!=scroll.A0[0]||ENV.X!=scroll.A1[0])&&(!scroll.lastA0[0]||ENV.Y==scroll.lastA0[0])&&(!scroll.lastA1[0]||ENV.X==scroll.lastA1[0])){var X=Cal.px(scroll.A1[0],ENV.X,scroll.A2[0])+ENV.X;var Y=Cal.px(scroll.A0[0],ENV.Y,scroll.A2[0])+ENV.Y;self.scrollTo(X,Y);scroll.lastA1[0]=X;scroll.lastA0[0]=Y;if(X==scroll.A2[0]&&Y==scroll.A1[0]){scroll.Clear(0);}else{scroll.flag=true;}}else{scroll.Clear(0);}return scroll.flag;}var move=new LIST();function script_MOVE(){move.flag=false;if(!move.A0[0])return move.flag;for(iMOVE=0;iMOVE<move.A0.length;iMOVE++){if(!move.A0[iMOVE].flag){move.A0[iMOVE]=new OBJ(move.A0[iMOVE]);if(!move.A0[iMOVE].flag){alert('system.js/script_MOVE: "'+move.A0[iMOVE].id+'" is not Object.');move.Clear(iMOVE);iMOVE--;continue;}}if(isNaN(move.A2[iMOVE]))move.A2[iMOVE]=move.A0[iMOVE].X;if(isNaN(move.A1[iMOVE]))move.A1[iMOVE]=move.A0[iMOVE].Y;move.A3[iMOVE]=(isNaN(move.A3[iMOVE]))?5:move.A3[iMOVE];move.A4[iMOVE]=(isNaN(move.A4[iMOVE]))?64:move.A4[iMOVE];var X=Cal.px(move.A2[iMOVE],move.A0[iMOVE].X,move.A3[iMOVE])+move.A0[iMOVE].X;var Y=Cal.px(move.A1[iMOVE],move.A0[iMOVE].Y,move.A3[iMOVE])+move.A0[iMOVE].Y;if(Math.abs(X-move.A0[iMOVE].X)>move.A4[iMOVE])X=(X>move.A0[iMOVE].X)?(move.A0[iMOVE].X+move.A4[iMOVE]):(move.A0[iMOVE].X-move.A4[iMOVE]);if(Math.abs(Y-move.A0[iMOVE].Y)>move.A4[iMOVE])Y=(Y>move.A0[iMOVE].Y)?(move.A0[iMOVE].Y+move.A4[iMOVE]):(move.A0[iMOVE].Y-move.A4[iMOVE]);move.A0[iMOVE].setX(X);move.A0[iMOVE].setY(Y);if(X==move.A2[iMOVE]&&Y==move.A1[iMOVE]){move.Clear(iMOVE);iMOVE--;}else{move.flag=true;}}return move.flag;}var inertia=new LIST();function script_INERTIA(){inertia.flag=false;if(!inertia.A0[0])return inertia.flag;for(iINERTIA=0;iINERTIA<inertia.A0.length;iINERTIA++){if(!inertia.A0[iINERTIA].flag){inertia.A0[iINERTIA]=new OBJ(inertia.A0[iINERTIA]);if(!inertia.A0[iINERTIA].flag){alert('system.js/script_INERTIA: "'+inertia.A0[iINERTIA].id+'" is not Object.');inertia.Clear(iINERTIA);iINERTIA--;continue;}}if(isNaN(inertia.A2[iINERTIA]))inertia.A2[iINERTIA]=inertia.A0[iINERTIA].X;if(isNaN(inertia.A1[iINERTIA]))inertia.A1[iINERTIA]=inertia.A0[iINERTIA].Y;inertia.lastA2[iINERTIA]=(inertia.lastA2[iINERTIA])?inertia.lastA2[iINERTIA]:0;inertia.lastA1[iINERTIA]=(inertia.lastA1[iINERTIA])?inertia.lastA1[iINERTIA]:0;var X=Cal.px(inertia.A2[iINERTIA],inertia.A0[iINERTIA].X,1)+inertia.A0[iINERTIA].X+inertia.lastA2[iINERTIA];var Y=Cal.px(inertia.A1[iINERTIA],inertia.A0[iINERTIA].Y,1)+inertia.A0[iINERTIA].Y+inertia.lastA1[iINERTIA];inertia.lastA2[iINERTIA]=-Cal.px(inertia.A0[iINERTIA].X,X,5/3);inertia.lastA1[iINERTIA]=-Cal.px(inertia.A0[iINERTIA].Y,Y,5/3);X-=Cal.pm(X,inertia.A0[iINERTIA].X);inertia.lastA2[iINERTIA]+=Cal.pm(inertia.A0[iINERTIA].X,X);Y-=Cal.pm(Y,inertia.A0[iINERTIA].Y);inertia.lastA1[iINERTIA]+=Cal.pm(inertia.A0[iINERTIA].Y,Y);inertia.A0[iINERTIA].setX(X);inertia.A0[iINERTIA].setY(Y);if(X==inertia.A2[iINERTIA]&&(inertia.lastA2[iINERTIA]<2)&&Y==inertia.A1[iINERTIA]&&(inertia.lastA1[iINERTIA]<2)){inertia.Clear(iINERTIA);iINERTIA--;}else{inertia.flag=true;}}return inertia.flag;}var sweep=new LIST();function script_SWEEP(){sweep.flag=false;if(!sweep.A0[0])return sweep.flag;for(iSWEEP=0;iSWEEP<sweep.A0.length;iSWEEP++){if(!sweep.A0[iSWEEP].flag){sweep.A0[iSWEEP]=new OBJ(sweep.A0[iSWEEP]);if(!sweep.A0[iSWEEP].flag){alert('system.js/script_SWEEP: "'+sweep.A0[iSWEEP].id+'" is not Object.');sweep.Clear(iSWEEP);iSWEEP--;continue;}}if(isNaN(sweep.A1[iSWEEP]))sweep.A1[iSWEEP]=0;if(isNaN(sweep.A2[iSWEEP]))sweep.A2[iSWEEP]=(sweep.A0[iSWEEP].C[1]<sweep.A0[iSWEEP].W)?sweep.A0[iSWEEP].W:0;if(isNaN(sweep.A3[iSWEEP]))sweep.A3[iSWEEP]=(sweep.A0[iSWEEP].C[2]<sweep.A0[iSWEEP].H)?sweep.A0[iSWEEP].H:0;if(isNaN(sweep.A4[iSWEEP]))sweep.A4[iSWEEP]=0;var T=Cal.px(sweep.A1[iSWEEP],sweep.A0[iSWEEP].C[0],5)+sweep.A0[iSWEEP].C[0];var R=Cal.px(sweep.A2[iSWEEP],sweep.A0[iSWEEP].C[1],5)+sweep.A0[iSWEEP].C[1];var B=Cal.px(sweep.A3[iSWEEP],sweep.A0[iSWEEP].C[2],5)+sweep.A0[iSWEEP].C[2];var L=Cal.px(sweep.A4[iSWEEP],sweep.A0[iSWEEP].C[3],5)+sweep.A0[iSWEEP].C[3];if(Math.abs(T-sweep.A0[iSWEEP].C[0])>64)T=(T>sweep.A0[iSWEEP].C[0])?(sweep.A0[iSWEEP].C[0]+64):(sweep.A0[iSWEEP].C[0]-64);if(Math.abs(R-sweep.A0[iSWEEP].C[1])>64)R=(R>sweep.A0[iSWEEP].C[1])?(sweep.A0[iSWEEP].C[1]+64):(sweep.A0[iSWEEP].C[1]-64);if(Math.abs(B-sweep.A0[iSWEEP].C[2])>64)B=(B>sweep.A0[iSWEEP].C[2])?(sweep.A0[iSWEEP].C[2]+64):(sweep.A0[iSWEEP].C[2]-64);if(Math.abs(L-sweep.A0[iSWEEP].C[3])>64)L=(L>sweep.A0[iSWEEP].C[3])?(sweep.A0[iSWEEP].C[3]+64):(sweep.A0[iSWEEP].C[3]-64);sweep.A0[iSWEEP].setC(T,R,B,L);if(T==sweep.A1[iSWEEP]&&R==sweep.A2[iSWEEP]&&B==sweep.A3[iSWEEP]&&L==sweep.A4[iSWEEP]){sweep.Clear(iSWEEP);iSWEEP--;}else{sweep.flag=true;}}return sweep.flag;}var trans=new LIST();function script_TRANS(){trans.flag=false;if(!trans.A0[0])return trans.flag;for(iTRANS=0;iTRANS<trans.A0.length;iTRANS++){if(!trans.A0[iTRANS].flag){trans.A0[iTRANS]=new OBJ(trans.A0[iTRANS]);if(!trans.A0[iTRANS].flag){alert('system.js/script_TRANS: "'+trans.A0[iTRANS].id+'" is not Object.');trans.Clear(iTRANS);iTRANS--;continue;}}if(isNaN(trans.A1[iTRANS]))trans.A1[iTRANS]=(trans.A0[iTRANS].A>80)?0:100;trans.A2[iTRANS]=(isNaN(trans.A2[iTRANS]))?5:trans.A2[iTRANS];trans.A3[iTRANS]=(isNaN(trans.A3[iTRANS]))?16:trans.A3[iTRANS];var T=Cal.px(trans.A1[iTRANS],trans.A0[iTRANS].A,trans.A2[iTRANS])+trans.A0[iTRANS].A;if(Math.abs(T-trans.A0[iTRANS].A)>trans.A3[iTRANS])T=(T>trans.A0[iTRANS].A)?(trans.A0[iTRANS].A+trans.A3[iTRANS]):(trans.A0[iTRANS].A-trans.A3[iTRANS]);trans.A0[iTRANS].setA(T);if(T==trans.A1[iTRANS]){trans.Clear(iTRANS);iTRANS--;}else{trans.flag=true;}}return trans.flag;}var size=new LIST();function script_SIZE(){size.flag=false;if(!size.A0[0])return size.flag;for(iSIZE=0;iSIZE<size.A0.length;iSIZE++){if(!size.A0[iSIZE].flag){size.A0[iSIZE]=new OBJ(size.A0[iSIZE]);if(!size.A0[iSIZE].flag){alert('system.js/script_SIZE: "'+size.A0[iSIZE].id+'" is not Object.');size.Clear(iSIZE);iSIZE--;continue;}}if(isNaN(size.A2[iSIZE]))size.A2[iSIZE]=size.A0[iSIZE].W;if(isNaN(size.A1[iSIZE]))size.A1[iSIZE]=size.A0[iSIZE].H;size.A3[iSIZE]=(isNaN(size.A3[iSIZE]))?5:size.A3[iSIZE];size.A4[iSIZE]=(isNaN(size.A4[iSIZE]))?64:size.A4[iSIZE];var W=Cal.px(size.A2[iSIZE],size.A0[iSIZE].W,size.A3[iSIZE])+size.A0[iSIZE].W;var H=Cal.px(size.A1[iSIZE],size.A0[iSIZE].H,size.A3[iSIZE])+size.A0[iSIZE].H;if(Math.abs(W-size.A0[iSIZE].W)>size.A4[iSIZE])W=(W>size.A0[iSIZE].W)?(size.A0[iSIZE].W+size.A4[iSIZE]):(size.A0[iSIZE].W-size.A4[iSIZE]);if(Math.abs(H-size.A0[iSIZE].H)>size.A4[iSIZE])H=(H>size.A0[iSIZE].H)?(size.A0[iSIZE].H+size.A4[iSIZE]):(size.A0[iSIZE].H-size.A4[iSIZE]);size.A0[iSIZE].setW(W);size.A0[iSIZE].setH(H);if(W==size.A2[iSIZE]&&H==size.A1[iSIZE]){size.Clear(iSIZE);iSIZE--;}else{size.flag=true;}}return size.flag;}var mouse=new LIST();function MOUSE(){if(arguments[0]){mouse.Set();}if(!mouse.A0.length)return;for(iMOUSE=0;iMOUSE<mouse.A0.length;iMOUSE++){if(mouse.A1[iMOUSE]){mouse.A1[iMOUSE]=new OBJ(mouse.A1[iMOUSE]);if(!mouse.A1[iMOUSE].flag){alert('system.js/MOUSE(onmousemouse): "'+mouse.A1[iMOUSE].id+'" is not Object.');mouse.Clear(iMOUSE);iMOUSE--;continue;}eval('mouse.A1[iMOUSE].path.onmousemove = function (event) { MOUSE_event(event);'+mouse.A0[iMOUSE]+'; }');}else{eval('document.onmousemove = function (event) { MOUSE_event(event);'+mouse.A0[iMOUSE]+'; }');}}MX=0;MY=0;}var MX,MY;var MOUSE_event=function(){if(error)return false;ENV.Set();if(document.layers){MX=(parseInt(arguments[0].pageX));MY=(parseInt(arguments[0].pageY));}else if(document.all){MX=(parseInt(event.clientX)+ENV.X);MY=(parseInt(event.clientY)+ENV.Y);}else if(document.getElementById){MX=(parseInt(arguments[0].clientX)+ENV.X);MY=(parseInt(arguments[0].clientY)+ENV.Y);}MY=(MY)?MY:0;MX=(MX)?MX:0;return false;}
var down=new LIST();function DOWN(){if(down.A1.length)MOUSE(1);else return;for(iDOWN=0;iDOWN<down.A0.length;iDOWN++){if(down.A1[iDOWN]){down.A1[iDOWN]=new OBJ(down.A1[iDOWN]);if(!down.A1[iDOWN].flag){alert('system.js/DOWN(onmousedown): "'+down.A1[iDOWN].id+'" is not Object.');down.Clear(iDOWN);iDOWN--;continue;}eval('down.A1[iDOWN].path.onmousedown = function (event) { '+down.A0[iDOWN]+'; }');}else{eval('document.onmousedown = function (event) { '+down.A0[iDOWN]+'; }');}}}var msup=new LIST();function MSUP(){if(msup.A1.length)MOUSE(1);else return;for(iMSUP=0;iMSUP<msup.A0.length;iMSUP++){if(msup.A1[iMSUP]){msup.A1[iMSUP]=new OBJ(msup.A1[iMSUP]);if(!msup.A1[iMSUP].flag){alert('system.js/MSUP(onmouseup): "'+msup.A1[iMSUP].id+'" is not Object.');msup.Clear(iMSUP);iMSUP--;continue;}eval('msup.A1[iMSUP].path.onmouseup = function (event) { '+msup.A0[iMSUP]+'; }');}else{eval('document.onmouseup = function (event) { '+msup.A0[iMSUP]+'; }');}}}var wheel=new LIST();function WHEEL(){for(iWHEEL=0;iWHEEL<wheel.A0.length;iWHEEL++){if(!wheel.A0[iWHEEL])continue;if(wheel.A1[iWHEEL]){wheel.A1[iWHEEL]=new OBJ(wheel.A1[iWHEEL]);if(!wheel.A1[iWHEEL].flag){alert('system.js/WHEEL: "'+wheel.A1[iWHEEL].id+'" is not Object.');wheel.Clear(iWHEEL);iWHEEL--;continue;}if(macFF||winFF){wheel.A0[iWHEEL]=wheel.A0[iWHEEL].replace(/\(\);/,'');wheel.A1[iWHEEL].path.addEventListener("DOMMouseScroll",WHEEL_event,false);eval('wheel.A1[iWHEEL].path.addEventListener("DOMMouseScroll",'+wheel.A0[iWHEEL]+',false);');}else if(macSF||winIE){eval('wheel.A1[iWHEEL].path.onmousewheel = function (event) { WHEEL_event(event);'+wheel.A0[iWHEEL]+'; return false; }');}}else{if(macFF||winFF){wheel.A0[iWHEEL]=wheel.A0[iWHEEL].replace(/\(\);/,'');document.addEventListener("DOMMouseScroll",WHEEL_event,false);eval('document.addEventListener("DOMMouseScroll",'+wheel.A0[iWHEEL]+',false);');}else if(macSF||winIE){eval('document.onmousewheel = function (event) { WHEEL_event(event);'+wheel.A0[iWHEEL]+'; return false; }');}}}}var MW=0;var WHEEL_event=function(){if(error)return false;if(macFF||winFF){MW=-Cal.pm(arguments[0].detail);}else if(macSF){MW=Cal.pm(event.wheelDelta);}else{MW=Cal.pm(event.wheelDelta);}return false;}
var PIMG_List=new Array();function set_PIMG(){var tmpA=(document.getElementById)?document.getElementsByTagName('img'):document.images;for(i=0;i<tmpA.length;i++){if(!tmpA[i].src.match(/(.*)-+\.(jpe?g|gif|pi?ng)/i))continue;var tmp1=RegExp.$1;var tmp2=RegExp.$2;if(!tmp1.replace(/(.*)-$/,'')){tmp1=RegExp.$1;}PIMG_List[i]=new Array();PIMG_List[i][0]=tmpA[i];PIMG_List[i][1]=new Image();PIMG_List[i][1].src=tmpA[i].src;PIMG_List[i][2]=new Image();PIMG_List[i][2].src=tmp1+'.'+tmp2;tmpA[i].onmouseover=function(){for(i=0;i<PIMG_List.length;i++){if(PIMG_List[i]&&this==PIMG_List[i][0]){this.src=PIMG_List[i][2].src;break;}}}
tmpA[i].onmouseout=function(){for(i=0;i<PIMG_List.length;i++){if(PIMG_List[i]&&this==PIMG_List[i][0]){this.src=PIMG_List[i][1].src;break;}}}}}var ONW_List=new Array();function set_ONW(){var tmpA=(document.getElementById)?document.getElementsByTagName('a'):document.links;for(i=0;i<tmpA.length;i++){if(!tmpA[i].href)continue;if(tmpA[i].href.match(/([^\?]*)\?((ONW)|(.*)(&|&amp;|&#38)ONW)=?([^&]*)(&?.*)/i)){if(winIE)var linktext=tmpA[i].innerHTML;tmpA[i].href=(RegExp.$4||RegExp.$7)?RegExp.$1+'?'+RegExp.$4+RegExp.$7:RegExp.$1;var target=RegExp.$1;var tmp=new Array(RegExp.$6);if(winIE)tmpA[i].innerHTML=linktext;target=(tmp[0]&&target.match(/.*\/([\w]+)(\.[\w]*)?\/?(\?.*)?$/))?RegExp.$1:'_blank';tmp=tmp[0].replace(/ /g,'').replace(/,|:|\//g,'.').split('.');tmp[0]=(isNaN(tmp[0])||tmp[3]>0)?screen.availHeight:(tmp[0]<100)?screen.availHeight:tmp[0];tmp[1]=(isNaN(tmp[1])||tmp[3]>0)?screen.availWidth:(tmp[1]<100)?screen.availWidth:tmp[1];tmp[2]=(tmp[2]>0)?'no':'yes';tmp[3]=(tmp[3]>0)?'yes':'no';tmp[4]=(tmp[0]<500)?30:0;tmp[5]=(tmp[1]<700)?30:0;var Feature=(target=='_blank')?'':'height='+tmp[0]+',width='+tmp[1]+',top='+tmp[4]+',left='+tmp[5]+',fullscreen='+tmp[3]+',resizable=yes,toolbar=no,directories=no,location='+tmp[2]+',scrollbars=yes,menubar=no,status='+tmp[2];eval('tmpA['+i+'].onclick	= function () { ONW_List['+i+'] = window.open("'+tmpA[i].href+'","'+target+'","'+Feature+'"); if (ONW_List['+i+']) { ONW_List['+i+'].focus(); } return false; }');tmpA[i].onkeypress=tmpA[i].onclick;}else if(tmpA[i].href.match(/.*#(\w*$)/)){if(RegExp.$1!=''){var tmp1=new OBJ(RegExp.$1);var tmp2=(tmp1.flag)?'"'+tmp1.id+'"':false;}else{var tmp2='0,0';}if(tmp2&&!tmpA[i].onclick)eval('tmpA['+i+'].onclick = function () { return scroll.Set('+tmp2+'); }');tmpA[i].onkeypress=tmpA[i].onclick;}}}function ONW(){var ONW_obj;var target=(arguments[1]&&arguments[0].match(/.*\/([\w]+)(\.[\w]*)?\/?(\?.*)?$/))?RegExp.$1:'_blank';var tmp=new Array(arguments[1],arguments[2],arguments[3],arguments[4]);tmp[0]=(isNaN(tmp[0])||tmp[3]>0)?screen.availHeight:(tmp[0]<100)?screen.availHeight:tmp[0];tmp[1]=(isNaN(tmp[1])||tmp[3]>0)?screen.availWidth:(tmp[1]<100)?screen.availWidth:tmp[1];tmp[2]=(tmp[2]>0)?'no':'yes';tmp[3]=(tmp[3]>0)?'yes':'no';tmp[4]=(tmp[0]<500)?30:0;tmp[5]=(tmp[1]<700)?30:0;var Feature=(target=='_blank')?'':'height='+tmp[0]+',width='+tmp[1]+',top='+tmp[4]+',left='+tmp[5]+',fullscreen='+tmp[3]+',resizable=yes,toolbar=no,directories=no,location='+tmp[2]+',scrollbars=yes,menubar=no,status='+tmp[2];ONW_obj=window.open(arguments[0],target,Feature);if(ONW_obj){ONW_obj.focus();}return false;}function get_ANCHORpos(){if(error)return false;var AX=0;var AY=0;if(document.layers){if(document.anchors[(arguments[0])]){AX=parseInt(document.anchors[(arguments[0])].x);AY=parseInt(document.anchors[(arguments[0])].y);}else{alert('base_js.get_ANCHORpos: "'+arguments[0]+'" is not Anchor.');}}else if(document.all){var obj=new OBJ(arguments[0]);if(obj.flag){AX=parseInt(obj.path.offsetLeft);AY=parseInt(obj.path.offsetTop);var tmp=obj.path;while((tmp=tmp.offsetParent)!=null){AX+=parseInt(tmp.offsetLeft);AY+=parseInt(tmp.offsetTop);}}else{alert('base_js.get_ANCHORpos: "'+arguments[0]+'" is not Anchor.');}}else if(document.getElementById){if(document.getElementById(arguments[0])){AX=parseInt(document.getElementById(arguments[0]).offsetLeft);AY=parseInt(document.getElementById(arguments[0]).offsetTop);var tmp=document.getElementById(arguments[0]);while((tmp=tmp.offsetParent)!=null){AX+=parseInt(tmp.offsetLeft);AY+=parseInt(tmp.offsetTop);}}else{alert('base_js.get_ANCHORpos: "'+arguments[0]+'" is not Anchor.');}}AX=(AX>0)?AX:0;AY=(AY>0)?AY:0;return new Array(AX,AY);}var weekList=new Array('Sun','Mon','Tue','Wed','Thu','Fri','Sat');var monthList=new Array('','Jan','Feb','Mar','Apr','May','Jun','Jly','Aug','Sep','Oct','Nov','Dec');function set_COOKIE(){var DATE=new Date((get_Date(0)+2),11,31);var year=DATE.getYear();year=(year<1900)?(year+=1900):year;var mon=DATE.getMonth();mon+=1;var day=DATE.getDate();day=(day<10)?('0'+day):day;var hour=DATE.getHours();hour=(hour<10)?('0'+hour):hour;var min=DATE.getMinutes();min=(min<10)?('0'+min):min;var sec=DATE.getSeconds();sec=(sec<10)?('0'+sec):sec;var wday=DATE.getDay();wday=weekList[wday];document.cookie=arguments[0]+'='+arguments[1]+'; expires='+wday+', '+day+'-'+monthList[mon]+'-'+(year)+' '+hour+':'+min+':'+sec+' GMT;'+'path=/; ';}function get_COOKIE(){var COOKIE_list=document.cookie.split('; ');for(i=0;i<COOKIE_list.length;i++){if(COOKIE_list[i].split('=')[0]==arguments[0]){return COOKIE_list[i].split('=')[1];break;}}return'';}function get_stepRGB(){var stepRGB=new Array();var Fc=arguments[0].replace('#','');if(Fc.length>=6){Fc=Fc.substring(0,6);}else if(Fc.length>=3){Fc=Fc.charAt(0)+Fc.charAt(0)+Fc.charAt(1)+Fc.charAt(1)+Fc.charAt(2)+Fc.charAt(2);}else{Fc=(Fc.charAt(0)!='')?(Fc.charAt(0)+Fc.charAt(0)+Fc.charAt(0)+Fc.charAt(0)+Fc.charAt(0)+Fc.charAt(0)):'000000';}var Tc=arguments[1].replace('#','');if(Tc.length>=6){Tc=Tc.substring(0,6);}else if(Tc.length>=3){Tc=Tc.charAt(0)+Tc.charAt(0)+Tc.charAt(1)+Tc.charAt(1)+Tc.charAt(2)+Tc.charAt(2);}else{Tc=(Tc.charAt(0)!='')?(Tc.charAt(0)+Tc.charAt(0)+Tc.charAt(0)+Tc.charAt(0)+Tc.charAt(0)+Tc.charAt(0)):'000000';}var iR=parseInt(Fc.substring(0,2),16);var iG=parseInt(Fc.substring(2,4),16);var iB=parseInt(Fc.substring(4,6),16);var eR=parseInt(Tc.substring(0,2),16);var eG=parseInt(Tc.substring(2,4),16);var eB=parseInt(Tc.substring(4,6),16);for(bi=1;bi<=arguments[2];bi++){var tmpR=(iR-parseInt((iR-eR)*(bi/arguments[2]))).toString(16);tmpR=(tmpR.length==1)?('0'+tmpR):tmpR;var tmpG=(iG-parseInt((iG-eG)*(bi/arguments[2]))).toString(16);tmpG=(tmpG.length==1)?('0'+tmpG):tmpG;var tmpB=(iB-parseInt((iB-eB)*(bi/arguments[2]))).toString(16);tmpB=(tmpB.length==1)?('0'+tmpB):tmpB;stepRGB[(bi-1)]='#'+tmpR+tmpG+tmpB;}return stepRGB;}function get_Date(){var DATE=new Date();var year=DATE.getYear();year=(year<1900)?(year+=1900):year;var mon=DATE.getMonth();mon+=1;var day=DATE.getDate();day=(day<10)?('0'+day):day;var hour=DATE.getHours();hour=(hour<10)?('0'+hour):hour;var min=DATE.getMinutes();min=(min<10)?('0'+min):min;var sec=DATE.getSeconds();sec=(sec<10)?('0'+sec):sec;var wday=DATE.getDay();wday=weekList[wday];switch(arguments[0]){case 0:return year;break;case 1:return year+'.'+mon;break;case 2:return year+'.'+monthList[mon];break;case 3:return year+'.'+mon+'.'+day;break;case 4:return year+'.'+monthList[mon]+'.'+day;break;case 5:return year+'.'+mon+'.'+day+' ('+wday+') '+hour+':'+min;break;case 6:return year+'.'+monthList[mon]+'.'+day+' ('+wday+') '+hour+':'+min;break;default:return Date.UTC(year,(mon-1),day,hour,min,sec);break;}}function set_flash(){document.open();if(check_FLASHplugin(7)){document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.adobe.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="'+arguments[1]+'" height="'+arguments[2]+'">');document.write('<param name="movie" value="'+arguments[0]+'"><param name="play" value="'+arguments[3]+'"><param name="quality" value="'+arguments[4]+'"><param name="scale" value="'+arguments[5]+'"><param name="saligh" value="'+arguments[6]+'"><param name="wmode" value="'+arguments[7]+'"><param name="bgcolor" value="'+arguments[9]+'"><param name="loop" value="false"><param name="menu" value="false">');document.write('<embed src="'+arguments[0]+'" play="'+arguments[3]+'" quality="'+arguments[4]+'" scale="'+arguments[5]+'" salign="'+arguments[6]+'" wmode="'+arguments[7]+'" bgcolor="'+arguments[9]+'" width="'+arguments[1]+'" height="'+arguments[2]+'" loop="false" menu="true" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"></embed>');document.write('</object>');}else{if(arguments[10]){document.writeln(arguments[10]);}else{document.write('<div id="alertlyr" style="width:'+arguments[1]+'px;height:'+arguments[2]+';background:'+arguments[9]+';"><span lang="en" class="e10" style="color:#666;">You need to download Flash Player to view this page.</span><br><br><a href="http://www.adobe.com/go/getflashplayer" obj="_blank" lang="en" class="e10" style="color:#999;">Download Flash Player</a><br></div>');}}document.close();}function trans_PNG(){if(winIE&&parseInt(UAver)==6){var tmpA=(document.getElementById)?document.getElementsByTagName('img'):document.images;for(i=0;i<tmpA.length;i++){if(!tmpA[i].runtimeStyle)continue;if(!tmpA[i].src.match(/(.*)[^-]\.(png)/i))continue;tmpA[i].runtimeStyle.filter='progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+tmpA[i].src+'", sizingmethod="image");';tmpA[i].src='/com/img/transparent.png';}}}function R(){return Math.floor(Math.random()*arguments[0]);}function non(){}function check_MailAddress(){return(arguments[0].match(/([\w\._-]+)(@[\w_-]+)((\.[\w_-]+)+)/i))?true:false;}function check_URL(){return(arguments[0].match(/(https?|ftp|news)(:\/\/[\w\+\$\;\?\.%,!#~*\/:@&=_-]+)/i))?true:false;}function check_FileName(){return(arguments[0].match(/([\w\+\$\;\?\.%,!#~*:&=_-]+)\.([\w]+)/))?RegExp.$2:false;}function check_FLASHplugin(){if(!macSF)return true;if((navigator.mimeTypes&&navigator.mimeTypes['application/x-shockwave-flash']&&navigator.mimeTypes['application/x-shockwave-flash'].enabledPlugin)){return true;}else if((navigator.plugins&&navigator.plugins['Shockwave Flash'])){return true;}else{return false;}return false;}function check_DIRECTORplugin(){if(!macSF)return true;if((navigator.mimeTypes&&navigator.mimeTypes['application/x-director']&&navigator.mimeTypes['application/x-director'].enabledPlugin)){return true;}else if((navigator.plugins&&navigator.plugins['Shockwave for Director'])){return true;}else{return false;}return false;}var AJAX_OBJ;var FUNCTION_loaded;function AJAX(){FUNCTION_loaded=arguments[2];if(AJAX_OBJ&&AJAX_OBJ.readyState!=4)AJAX_OBJ.abort();if(window.XMLHttpRequest){AJAX_OBJ=new XMLHttpRequest();}else if(window.ActiveXObject){try{AJAX_OBJ=new ActiveXObject("Msxml2.XMLHTTP");}catch(e){AJAX_OBJ=new ActiveXObject("Microsoft.XMLHTTP");}}else{alert("XMLHttpRequest and ActiveXObject is no function. Please access by FireFox, Safari, Mozilla or Internet Explorer.");return false;}AJAX_OBJ.open("POST",arguments[0],true);AJAX_OBJ.send(arguments[1]);AJAX_OBJ.onreadystatechange=function(){if(AJAX_OBJ.readyState==4){AJAX_loaded(FUNCTION_loaded);}}
return true;}function AJAX_loaded(){if(AJAX_OBJ.status==200){eval(FUNCTION_loaded.split('(')[0]+'(AJAX_OBJ.responseText'+FUNCTION_loaded.split('(')[1]);}else{alert("Error occurred in transportation.\nstatus: "+AJAX_OBJ.status);}}