var bdy0=document.getElementById('body0'),bdy1=document.getElementById('body0'),bdyv=document.getElementById('ifrv');var sx=0,sy=0,a,b,c,d,e,f,g,h,I,x,j,k,l,m,n,o,p,c3=''+unescape('%3C')+'',v,y,z,Dimg,IDA,iw=0,ai,bi,ci,di,ei,fi,gi,hi,ii,ji,ki,li,Mi,mi,ni,oi,pi,qi,ri,si,ti,ui,vi,wi,yi,zi,u1,u2,u3;var c3=''+unescape('%3C')+'',c22=''+unescape('%22')+'',c23=''+unescape('%23')+'',c25=''+unescape('%25')+'',c26=''+unescape('%26')+'',c27=''+unescape('%27')+'',c7c=''+unescape('%7C')+'',c6;var mtXT ='29,31,28,31,30,31,30,31,31,30,31,30,31,24,59,59',badip='';var numcheck;var numcheck4;var ToTle=0;numcheck =/[0-9]/;numcheck4 =/^\d/;var codes01=',,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,',codes02='::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::',codes03=';;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;',codes04='________________________________________________________________________________________________________________________________________________________________',codes05=' ';if (''+navigator.appName+''=='Microsoft Internet Explorer'){}else if (window.sidebar){iw=2;}else if(''+navigator.appName+''=='Netscape'){iw=3;}else if(window.opera){iw=4;}else if(window.print){iw=5;}function numchecks(f1,f2,f3){if (len(f1)>0){for (nx=1;nx<=len(f1);nx=nx+1){if (''+numcheck.test(mid(f1,nx,1))+''!='true'){return false;break;}else if (nx==len(f1)&&''+numcheck.test(mid(f1,nx,1))+''=='true'){return true;}}}}var clicksource='http://e901.u2.com.tw';var linkset=new Array(),iv=new Array(100),iv1=new Array(100),iv2=new Array(100),iv3=new Array(100),iv4=new Array(100),iv5=new Array(100);var ie4=document.all&&navigator.userAgent.indexOf("Opera")==-1;var ns6=document.getElementById&&!document.all;var ns4=document.layers; var Page_Mode=''; var Page_ModeN=''; var Page_ModeN2='';function expv(f1,f2){var evi=-1;if (navigator.appName==''+f1+''){a=navigator.userAgent;b=new RegExp(''+f2+' ([0-9]{1,}[\.0-9]{0,})');if (b.exec(a)!=null){evi=parseFloat(RegExp.$1);}}return evi;}iwv=expv('Microsoft Internet Explorer','MSIE');var t=new Array(100),r=new Array(100);;a='o,p,q,r,sa,ua,va,wa,wr';b='var iv=new Array(100)';h='o,p,r,s,z,t,iv,i';g=',imgIDAA,imgIDAB,imgIDAAY,imgIDABY,imgIDAXI,imgIDAYI,imgIDAXN,imgIDAYN';l='';for (c=0;(a.split(',').length-1)>=c;c++){d=''+a.split(',')[c]+'';if (''+d+''!=''){b=b+','+d+'=new Array(100)';}t[c]='';for (j=0;6>=j;j++){b=b+','+h.split(',')[c]+''+j+'=new Array(100)';}if (6>c){d='000'+c+'';d=''+d.substr(d.length-3,3)+'';l+=''+c3+'input type="hidden" id="oki'+d+'" name="oki'+d+'" value=""/>';if (c>0){b=b+',q'+(2*(c-1)+1)+',q'+(2*(c-1)+2)+'';for (d=1;2>=d;d++){b=b+',d'+(2*(c-1)+d)+'';b=b+',passbacka'+(2*(c-1)+d)+'='+c27+''+c27+'';b=b+',passbackb'+(2*(c-1)+d)+'='+c27+''+c27+'';b=b+',H'+d+'POPD'+(2*(c-1)+d)+'imgIDA';for (i=1;(g.split(',').length-1)>=i;i++){b=b+',H'+d+'POPD'+(2*(c-1)+d)+''+g.split(',')[i]+'=0';}}}}}document.write(''+l+'');l='';eval(''+b+'');b='';r[0]='';function ifr(f1,f2,f3,f4,f5,f6,f7,f8,f9,f10){}function inmenu(I,UMenuNo,UMenuName,UMenuColor,UMenuURL,UMenuImg){KK='HTTP://www.U2.net.tw';if (I==1){linkset[UMenuNo]='';}else{linkset[UMenuNo]+='';}}function spant(index01,index02,index03,index04,index05,index06,index07,index08,index09,index10){if (''+ucase(index10)+''=='I'){ document.getElementById(''+index01+'').innerHTML=''+index02+'';}else if(''+ucase(index10)+''=='V'){ document.getElementById(''+index01+'').value=''+index02+''; document.getElementById(''+index01+'').style.display='';}else{}}function showmenu2(e,which,show01,show02,show03,show04,show05,show06,show07,show08,show09,show10){if (!document.all&&!document.getElementById&&!document.layers){return;}else{menuobj=ie4? eval('document.all.'+show01) : ns6? document.getElementById("'+show01+'") : ns4? eval('document.'+show01):"";menuobj.thestyle=(ie4||ns6)? menuobj.style : menuobj;if (ie4||ns6){ if (which!=undefined){ if (show10=='0'||show10=='ona'){ menuobj.document.write(''+which+''); }else{ } menuobj.document.close(); }else{ if (show10=='1'){ menuobj.thestyle.display=''; menuobj.thestyle.visibility='visible'; menuobj.document.close(); }else{ } }}else{ menuobj.document.write(''+which+''); menuobj.document.close();}}}function showmenu(e,which){if (!document.all&&!document.getElementById&&!document.layers){return;}clearhidemenu();menuobj=ie4? document.all.popmenu : ns6? document.getElementById("popmenu") : ns4? document.popmenu : '';menuobj.thestyle=(ie4||ns6)? menuobj.style : menuobj;if (ie4||ns6){menuobj.innerHTML=which;}else{menuobj.document.write(''+which+'');menuobj.document.close();}menuobj.contentwidth=(ie4||ns6)? menuobj.offsetWidth : menuobj.document.gui.document.width;menuobj.contentheight=(ie4||ns6)? menuobj.offsetHeight : menuobj.document.gui.document.height;eventX=ie4? event.clientX : ns6? e.clientX : e.x;eventY=ie4? event.clientY : ns6? e.clientY : e.y;var rightedge=ie4? document.body.clientWidth-eventX : window.innerWidth-eventX;var bottomedge=ie4? document.body.clientHeight-eventY : window.innerHeight-eventY;if (rightedgewidtha/heighta){ if(image.width>widtha){ Imgs.width=''+widtha+''; Imgs.heigh=''+((image.height/image.width)*widtha)+''; }}else{ if(image.height>heighta){ Imgs.width=''+((image.width/image.height)*heighta)+''; Imgs.height=''+heighta+''; }else{ }}}function filters(f1,f2,f3,f4,f5){if (''+iw+''=='0'||''+iw+''=='1'){return 'filter:alpha(opacity='+f1+')';}else{f1=Math.ceil(f1)/100;return 'opacity:'+f1+'';}}function filterst(f1,f2,f3,f4,f5){if (''+iw+''=='0'||''+iw+''=='1'){v='document.getElementById('+c27+''+f2+''+c27+').style.filter='+c27+'progid:DXImageTransform.Microsoft.Alpha(Opacity='+f1+')'+c27+'';}else{f1=Math.ceil(f1)/100;v='document.getElementById('+c27+''+f2+''+c27+').style.opacity='+f1+'';}if (''+f3+''==''){h=''+document.getElementById(''+f2+'')+'';if(h.split('[object').length>1){eval(v);}}else{return ''+v+'';}}function icheck2(index01,index02,index03,index04,index05,index06,index07,index08,index09,index10){var index01t;var index02t;var index01ta;var icheck2t;index01ta='/'+index01+'/';icheck2t='false';if (''+index10+''=='N'){index02t=''+index02+'';}else{index02t=''+document.getElementById(''+index02+'').value+'';}if (!eval(index01ta+".test('"+index02t+"')")){if (''+index10+''=='N'){}else{alert(''+index03+'');document.getElementById(''+index02+'').focus();}}else{icheck2t='true';}return icheck2t;} function ShowSize(files,filesi,filesb,files04,files05,files06,files07){var fsoa=new ActiveXObject('Scripting.FileSystemObject');var AUTOPAcarcountYStrA=''; AUTOPAcarcountYStrA=""; AUTOPAcarcountYStrA=AUTOPAcarcountYStrA & "
ee檔案說明:";if (fsoa.FileExists(files)==true){ var fa=fsoa.GetFile(files); var fan=""+fsoa.GetFilename(files)+""; var files07=files07; if (fa.size>0){ alert("本檔案"+Math.round(fa.size/(1024*1024))+" Mb,超過上傳0Mb的限制"); document.getElementById(filesb).style.left=0 ; document.getElementById(filesb).style.top=0 ; document.getElementById(filesb).innerHTML=AUTOPAcarcountYStrA; } Namecheck(fan,filesi,filesb,files04,files05,files06,files07);}else{ document.getElementById(filesb).style.left=0 ; document.getElementById(filesb).style.top=0 ; document.getElementById(filesb).innerHTML=AUTOPAcarcountYStrA;}}function keke() {try{event.keyCode=0;}catch(e){}return false;}function geturlweb(aa, bb) {}var kakata=',onkeydown,onmousedown,ondragstart,oncontextmenu,onselectstart';function kakaa(){try{event.keyCode=0;}catch(e){}return false;}function no123a(no1,no2,no3,no4,no5){ if (no1.length!=0&&no1.length<6){ for (noi=1;noi<=no1.length;noi=noi+1){ if (''+no1.substr(noi-1,1)+''=='1'){ eval('document.'+kakata.split(',')[noi]+'=kakaa'); } } }}function ok123a(ok1,ok2,ok3,ok4,ok5){ if (ok1.length!=0&&ok1.length<6){ for (oki=1;oki<=ok1.length;oki=oki+1){ if (''+ok1.substr(oki-1,1)+''=='1'){ void(eval('document.'+kakata.split(',')[oki]+'=null')); } } }}var leni=0; function len(INDEX01){return INDEX01.length; }function mid(INDEX01,INDEX02,INDEX03){ rightt=''; leni=INDEX01.length; if (leni>0&&Math.ceil(INDEX02)>0&&(Math.ceil(INDEX03)>0||INDEX03=='E')&&leni>=Math.ceil(INDEX03)){ if (INDEX03=='E'){ INDEX03=leni-INDEX02+1; } return INDEX01.substr(INDEX02-1,INDEX03); }else{ right=rightt; } } function left(INDEX01,INDEX02){ var rightt='';var leni=INDEX01.length; if (leni>0&&Math.ceil(INDEX02)>0&&leni>Math.ceil(INDEX02)){ return INDEX01.substr(0,INDEX02); }else{ return INDEX01; }}function right(right01,right02){ leni=right01.length; if (leni>0&&right02>0){ return right01.substr(leni-right02,right02); }else{ return right01; } } function lefta(INDEX01,INDEX02){ var rightt='';var leni=INDEX01.length; if (leni>0&&INDEX02>0&&leni>INDEX02){ return INDEX01.substr(0,INDEX02); }else{ return INDEX01; }}function righta(right01,right02){ leni=right01.length; if (leni>0&&right02>0){ return right01.substr(leni-right02,right02); }else{ return right01; } } function ucase(INDEX01){if (''+INDEX01+''!=''){return INDEX01.toUpperCase();}}function lcase(INDEX01){ return INDEX01.toLowerCase();}function split(INDEX01,INDEX02,INDEX03){ if (INDEX03=='undefined'){ }else{ return INDEX01.split(INDEX02)[INDEX03]; }}function ubound(INDEX01,INDEX02){ if (INDEX01=='undefined'){ }else{ return INDEX01.split(''+INDEX02+'').length; }}function instr(INDEX01,INDEX02){ if (INDEX01=='undefined'){ }else{ if (ubound(INDEX01,INDEX02)>1){ return INDEX01.split(INDEX02)[0].length+1; }else{ return 0; } }} var wirt0=''; var wirt1=''; function replace(reINDEX01,reINDEX02,reINDEX03,reINDEX04,reINDEX05,reINDEX06,reINDEX07,reINDEX08,reINDEX09,reINDEX10){ wirt0=''; if (reINDEX10==''){ wirt0=''+reINDEX01+''; if (''+reINDEX02+''!=''){ wirt1=''; if (ubound(''+reINDEX01+'',''+reINDEX02+'')>1){ for (wi=0;wi<=ubound(''+reINDEX01+'',reINDEX02)-1;wi=wi+1){ if (wi>0){ wirt1=''+wirt1+''+reINDEX03+''; } wirt1=''+wirt1+''+split(wirt0,reINDEX02,wi)+''; } return wirt1; }else{ return reINDEX01; } }else{ return reINDEX01; } }else{ if (document.getElementById(''+reINDEX01+'').value!=undefined){ if (document.getElementById(''+reINDEX01+'').value.length>0){ wirt0=''+document.getElementById(''+reINDEX01+'').value+''; if (reINDEX02!=''){ for (wi=1;wi<=len(wirt0);wi=wi+1){ if (reINDEX03.split(mid(wirt0,wi,1))[1]==undefined){ wirt1=''+wirt1+''+mid(wirt0,wi,1)+''; }else{ wirt1=''+wirt1+''+right(reINDEX02.split(mid(wirt0,wi,1))[0],1)+''; } } document.getElementById(''+reINDEX01+'').value=''+wirt1+''; }else{ } } } }}a='http://e901.u2.com.tw/0991005001/Big2GB.ASP?ID=50&ID2=2?';document.write('');var szindext='';function zindex(zindex01,zindex02,zindex03,zindex04,zindex05,zindex06,zindex07,zindex08,zindex09,zindex10){var szindext0='';var szindexi=1; szindext0=szindext; szindext='';if (szindext0.length>0){ for (szindexi=1;szindexib){a.width=b;a.alt=''+f3+'';}}function img1(f1,f2,f3,f4,f5,f6){a=''+f1+'';c=document.getElementById(''+a+'v');d=document.getElementById(''+a+'a');a=document.getElementById(''+a+'');b=Math.ceil(c.value);if(''+f6+''=='0'){if(Math.ceil(b)>=Math.ceil(a.width)){if(1>instr(''+d+'','[object')){window.open(''+f2+'','_blank','top=10,left=20,width='+f3+',height='+f4+',scrollbars=yes,menubar=no,toolbar=no,status=no,resizable=1');}}else{alert(''+f5+'');}}}function s4word(s4word01,s4word02,s4word03,s4word04,s4word05,s4word06,s4word07,s4word08,s4word09,s4word10){var s4wordt='';if (len(s4word02)>0){ for (s4i=1;s4i<=len(s4word02);s4i=s4i+1){ s4wordt=s4wordt+""; } document.getElementById(''+s4word01+'').innerHTML=""+s4wordt+"";}}function gettomix(index01,index02,index03,index04,index05,index06,index07,index08,index09,index10){var gettomix='';var gettomix1='';var gettomix2='';var gettomix3='';if(index10=='0'){ if(index01>0&&index02>index01){ for(gi=index01;gi<=index02;gi=gi+1){ gettomix=''+gettomix+','+gi+'_'+document.getElementById(''+index03+''+gi+'').value+''; } document.getElementById(''+index03+'0').value=''+gettomix+''; } }else if(index10=='1'){ gettomix1=''+split(document.getElementById(''+index03+'0').value,''+index06+''+index07+''+index08+'',0)+''; gettomix2=''+split(split(document.getElementById(''+index03+'0').value,''+index06+''+index07+''+index08+'',1)+''+index06+'',''+index06+'',0)+''; gettomix3=''+split(document.getElementById(''+index03+'0').value,''+index06+''+index07+''+index08+''+ gettomix2 +'',1)+''; gettomix1=''+gettomix1+''+index06+''+index07+''+index08+''; gettomix2=''+document.getElementById(''+index03+''+index07+'').value +''; gettomix=''+gettomix1+''+gettomix2+''+gettomix3+''; document.getElementById(''+index03+'0').value=''+gettomix+'';}}function disEvents(disev01,disev02,disev03,disev04,disev05,disev06,disev07,disev08,disev09,disev10){if(disev04=='overflow'){document.getElementById(''+disev01.id+''+disev03+'').style.overflow=''+disev05+'';}else{document.getElementById(''+disev01.id+''+disev03+'').style.display=''+disev05+'';}if(disev02=='on'){}}var t2absmenu00=0;var t2absmenu01='';var t2absmenu02='';var t2absmenu03='';var t2absmenu04='';var t2absmenu05='';var t2absmenu06='';var t2absmenu07='';var t2absmenu08='';var t2absmenu09='';var t2absmenu10='';function Tabs_Change(Tabs01,Tabs02,Tabs03,Tabs04,Tabs05,Tabs06,Tabs07,Tabs08,Tabs09,Tabs10){var Tabsia=0;Tabs04t='';if(left(Tabs04,1)==','){ Tabsia=1; Tabs02=ubound(Tabs04,',');}if(Tabs02>=0){ for (Tabsi=Tabsia;Tabsi<=Tabs02;Tabsi=Tabsi+1){ if(left(Tabs04,1)==','){ Tabs04t=''+split(Tabs04,',',Tabsi)+''; }else{ Tabs04t=''+Tabs04+''+Tabsi+''; } if((Tabsi==Tabs03)){ document.getElementById(''+Tabs04t+'').style.display=""; document.getElementById(''+Tabs04t+'').style.visibility="visible"; if(left(Tabs10,1)==','&&left(Tabs10,2)==','+Tabsi+''&&(''=='10R'||''=='MS_C10R'||''=='C10R'||''=='ECPR')){ document.getElementById(''+split(Tabs10,';',1)+'0').style.visibility="visible"; for (Tabsci=1;''+Tabsci+''<=''+split(Tabs10,';',3)+'';Tabsci=Tabsci+1){ document.getElementById(''+split(Tabs10,';',1)+''+Tabsci+'').style.visibility="hidden"; } t2absmenu00=t2absmenu00+1; if(t2absmenu01!=''&&t2absmenu00>1){ tabsmenu(''+t2absmenu01+'',''+t2absmenu02+'',''+t2absmenu03+'',''+t2absmenu04+'',''+t2absmenu05+'',''+t2absmenu06+'',''+t2absmenu07+'',''+t2absmenu08+'',''+t2absmenu09+'',''+t2absmenu10+''); t2absmenu00=0; } } }else{ if(left(Tabs10,1)==','&&Tabsi==0&&(''=='10R'||''=='MS_C10R'||''=='C10R'||''=='ECPR')){ for (Tabsci=0;''+Tabsci+''<=''+split(Tabs10,';',3)+'';Tabsci=Tabsci+1){ document.getElementById(''+split(Tabs10,';',1)+''+Tabsci+'').style.visibility="hidden"; } } document.getElementById(''+Tabs04t+'').style.display=""; document.getElementById(''+Tabs04t+'').style.visibility="hidden"; } }}}function tabsmenu(Tabs01,Tabs02,Tabs03,Tabs04,Tabs05,Tabs06,Tabs07,Tabs08,Tabs09,Tabs10){var Tabmenu='';var widthi=(100/Tabs05);var Tabmenui=0;var Tabsia=1;var Tabsib=ubound(Tabs02,',')-1;Tabmenu=Tabmenu+''; for (Tabsi=Tabsia;Tabsi<=Tabsib;Tabsi=Tabsi+1){ Tabmenui=Tabmenui+1; if(Tabmenui==1){ Tabmenu=Tabmenu+''; } Tabmenu=Tabmenu+''; Tabmenu=Tabmenu+'
'+split(Tabs04,',',Tabsi)+'
'; Tabmenu=Tabmenu+''; if(Tabmenui==Tabs05){ Tabmenu=Tabmenu+'
'; Tabmenui=0; } } if(Tabmenui>0&&Tabmenui<=Tabs05){ for (Tabs2i=Tabmenui+1;Tabs2i<=Tabs05;Tabs2i=Tabs2i+1){ Tabmenu=Tabmenu+''; } Tabmenu=Tabmenu+''; Tabmenui=0; }Tabmenu=Tabmenu+'
';document.getElementById(Tabs01).style.left=0;document.getElementById(Tabs01).style.top=0;document.getElementById(Tabs01).style.display=''; document.getElementById(''+Tabs01+'').innerHTML=""+Tabmenu+"";Tabmenu='';}function imgmenupids(imgm01,imgm02,imgm03,imgm04,imgm05,imgm06,imgm07,imgm08,imgm09,imgm10){docS1="window.document.";docS3='.SetVariable("'+imgm02+'","'+imgm03+'")';window.document.ImgmenuUPIDi2_menu.SetVariable("'+imgm02+'","'+imgm03+'");}function starttime(index01,index02,index03,index04,index05,index06,index07,index08,index09,index10){var ss=index09;var se=index10;var se1='';var se2='';if(ss>-1){ss=ss-se;document.getElementById(''+index04+'').value=ss;setTimeout('starttime("'+index01+'","'+index02+'","'+index03+'","'+index04+'","'+index05+'","'+index06+'","'+index07+'","'+index08+'",'+ss+','+index10+')',1000);}if(ss==-1){ss='OK';document.getElementById(''+index04+'').value=ss;se1=document.getElementById(''+index02+'').value;se2=document.getElementById(''+index03+'').value;}}function spanword(index01,index02,index03,index04,index05,index06,index07,index08,index09,index10){spans('s'+index01+'','0','0','0','1_1_0');var spanwordt='';spanwordt=spanwordt+"
";spanwordt=spanwordt+"";spanwordt=spanwordt+"";spanwordt=spanwordt+"";spanwordt=spanwordt+"";spanwordt=spanwordt+"
"; document.getElementById('s'+index01+'_A3').innerHTML=""+spanwordt+"";}function divulspans(f1,f2,f3,f4,f5,f6,f7,f8,f9,f10){var PI=f3;var PII=1;if (''+f10+''=='1'){for (PII=1;PII<=PI;PII=PII+1){if (instr(''+document.getElementById(''+f1+''+PII+'')+'','[object')>0){ document.getElementById(''+f1+''+PII+'').value='0'; document.getElementById(''+f1+''+PII+'').style.display='none'; if (''+document.getElementById(''+f1+''+PII+'v')+''!='null'){ if (''+document.getElementById(''+f1+''+PII+'v').value+''=='9'){ document.getElementById(''+f1+''+PII+'').style.display=''; }}}}}else{}if (instr(''+document.getElementById(''+f1+''+f2+'')+'','[object')>0){if (''+f10+''=='1'){ document.getElementById(''+f1+''+f2+'').value='1';}else if (''+f10+''=='2'){ if (''+document.getElementById(''+f1+''+f2+'').value+''=='1'){ document.getElementById(''+f1+''+f2+'').value='0'; }else{ document.getElementById(''+f1+''+f2+'').value='1'; }}else if (''+f10+''=='4'){ if (''+document.getElementById(''+f1+''+f2+'').value+''=='1'){ document.getElementById(''+f1+''+f2+'').value='0'; }else{ document.getElementById(''+f1+''+f2+'').value='1'; }}}if (''+document.getElementById(''+f1+''+f2+'').value+''=='1'){ document.getElementById(''+f1+''+f2+'').style.display='';}else{ document.getElementById(''+f1+''+f2+'').style.display='none';}}function divulspanc(f1,f2,f3,f4,f5,f6,f7,f8,f9,f10){a=document.getElementById(''+f1+'c');divulspans(''+f1+'',''+f2+'',''+eval('a.value')+'',''+f4+'',''+f5+'',''+f6+'',''+f7+'',''+f8+'',''+f9+'',''+f10+'');}var blankt='_self,_blank';var scrollbarst='no,yes';var menubart='no,yes';var toolbart='no,yes';var statust='no,yes';var alt1='圖檔:,開新視窗鑑賞圖檔:';function imgxyt(f1,f2,f3,f4,f5,f6,f7,f8,f9,f10){a=document.getElementById(''+f1+'');if (''+a.style.display+''==''){if (''+f4+''!=''){if (''+f5+''!=''){ b=eval(''+f5+''); eval('a.style.'+f4+'="'+b+'px"');d='imgxyt("'+f1+'","'+f2+'","'+f3+'","'+f4+'","'+f5+'","'+f6+'","'+f7+'","'+f8+'","'+f9+'","'+f10+'")';setTimeout("eval(d)",500);}}}}function he1(f1,f2,f3,f4){c=''+c27+'';l=''+c3+'span id="help_A3" style="position:relative'+f4+';">'+c3+'/span>'+c3+'div id="Scar0" class="w100" style="position:absolute;visibility:visible;z-index:110001;margin-top:0px;left:0px;top:0px;">'+c3+'span id="SEL_car_A3" style="position:absolute;right:0px;">'+c3+'/span>'+c3+'/div>'+c3+'input type="hidden" id="imgstdc" name="imgstdc" value="'+f2+'"/>';l+=''+c3+'div id="imgshs" class="w100 acenter" style="position:absolute;z-index:110000;display:none;top:0px;left:0px">'+c3+'div id="imgshb" class="w100 acenter b12 color0 filter30 zindexb1" style="height:100%;position:absolute;">'+c3+'/div>'+c3+'div id="imgstd0" class="w100 alignc apointer tf17" style="z-index:2;" onclick="document.getElementById('+c+'imgshs'+c+').style.display='+c+'none'+c+';document.getElementById('+c+'imgsh1'+c+').innerHTML='+c+'waiting.....'+c+';" title="Close">Close'+c3+'/div>';l+=''+c3+'div id="imgsh1" class="w100 acenter alignc t121" style="z-index:2;">waitting......'+c3+'/div>'+c3+'/div>';document.write(''+l+'');l='';T122=''+f2.split(',')[0]+'';B12=''+f2.split(',')[1]+'';T121=''+f2.split(',')[2]+'';B13t=''+f2.split(',')[3]+'';T132=''+f2.split(',')[4]+'';T133=''+f2.split(',')[5]+'';B12t=''+f2.split(',')[6]+'';B13=''+f2.split(',')[7]+'';T131=''+f2.split(',')[8]+'';T11=''+f2.split(',')[9]+'';wd1=''+f2.split(',')[10]+'';}function imgout(f1,f2,f3,f4,f5,f6,f7,f8,f9,f10){c=d;a=''+f2.split(',')[1]+'';a=''+a.toLowerCase()+'';ai=document.getElementById(''+f5+'hs');ai.style.top=''+eval(offsetY)+'px';hi=window.innerHeight;ai.style.height=''+hi+'px';ai.style.display='';g=document.getElementById(''+f5+'h1');if (a.split('.swf').length>1||''+f10+''=='ifr'){g.innerHTML=''+c3+'iframe id="'+f5+'id" class="'+f4+' b09" style="width:'+f3.split(',')[3]+'px;height:'+f3.split(',')[4]+'px;" src="'+a+'" alt="."/>';}else{g.innerHTML=''+c3+'img id="'+f5+'id" src="'+a+'" alt="."/>';h=document.getElementById(''+f5+'id');bi=document.getElementById(''+f5+'h1');if (h.width>$('#imgstd0').width()){bi.style.overflowX='scroll';}ni=h.height;mi=$('#imgshs').height()-$('#imgstd0').height();if (ni>mi){ni=mi;bi.style.overflowY='scroll';bi.style.height=''+ni+'px';}}startgo=setTimeout('imgxyt('+c27+''+f5+'hs'+c27+','+c27+''+c27+','+c27+''+c27+','+c27+'top'+c27+','+c27+''+offsetY+''+c27+','+c27+''+c27+','+c27+''+c27+','+c27+''+c27+','+c27+''+c27+','+c27+''+c27+')',500);}function divspanwh(index01,index02,index03,index04,index05,index06,index07,index08,index09,index10){if (''+index03+''>''+index02+''){document.getElementById(''+index01+'').style.width=''+index04+'';document.getElementById(''+index01+'').style.height=''+index05+'';if (index10=='N'){}else{document.getElementById(''+index01+'_0').style.border='0';document.getElementById(''+index01+'_1').style.border='0';document.getElementById(''+index01+'').style.border='1px solid #'+index06+'';}document.getElementById(''+index01+'').style.overflow='auto';document.getElementById(''+index01+'').style.overflow.x='hidden';}else{}}function imgTransition(index01,index02,index03){ document.getElementById(''+index01+'').filters.Transition=Math.floor(Math.random()*23); document.getElementById(''+index01+'').filters.apply();}var offX=0,offY=0,offXs=0,offYs=0,objx=0,objy=0,objxscrol=0,objyscrol=0,ScarIDA,ScarIDAA=0,ScarIDAB=0,ScarIDAY=0,ScarIDAAY=0,ScarIDABY=0,ScarIDAXN=0,ScarIDAYN=0,ScarIDAXI=0,ScarIDAYI=0,sobj,rightedge,bottomedge;var MTableid='Colortable001_a';var mouseOK10='';var mouseOK='False';function xys(index01,index02,index03,index04,index05,index06,index07,index08,index09,index10,index11,index12,index13,index14,index15,index16,index17,index18,index19,index20){offXs =offXs+index01;offYs =offYs+index02;}var td2h=0;var td3h=0;var td4h=0;var tab3l1h='';var tab3l2h='';var tab3r1h='';var tab3r2h='';var yes='0';var Ayes='0';var Byes='0';var A=0;var B=0;var AI=0;var BI=0;var AN=0;var BN=0;var innerW;var innerH;var offsetX;var offsetY;var horz;var vert;var docStyle;var styleDoc;for(popi=1;popi<=20;popi=popi+1){for(pop2i=1;pop2i<=2;pop2i=pop2i+1){eval('var H'+pop2i+'POPD'+popi+'imgIDA');eval('var H'+pop2i+'POPD'+popi+'imgIDAA=0');eval('var H'+pop2i+'POPD'+popi+'imgIDAB=0');eval('var H'+pop2i+'POPD'+popi+'imgIDAAY=0');eval('var H'+pop2i+'POPD'+popi+'imgIDABY=0');eval('var H'+pop2i+'POPD'+popi+'imgIDAXI=0');eval('var H'+pop2i+'POPD'+popi+'imgIDAYI=0');eval('var H'+pop2i+'POPD'+popi+'imgIDAXN=0');eval('var H'+pop2i+'POPD'+popi+'imgIDAYN=0');}}function setvariablesa() {if (document.layers){document.captureEvents(Event.MOUSEMOVE);}if (navigator.appName=="Netscape"){horz=".left";vert=".top";docStyle="document.";styleDoc="";innerW="window.innerWidth";innerH="window.innerHeight";offsetX="window.pageXOffset";offsetY="window.pageYOffset";}else {horz=".pixelLeft";vert=".pixelTop";docStyle="";styleDoc=".style";innerW="window.screen.availWidth";innerH="window.screen.availHeight";offsetX="document.documentElement.scrollLeft";offsetY="document.documentElement.scrollTop";}}function checklocationa(chl01,chl02,chl03,chl04,chl05,chl06,chl07,chl08,chl09,chl10){objectXY=''+chl01+'0';availableX=eval(innerW);availableY=eval(innerH);currentX=eval(offsetX);currentY=eval(offsetY);Dwidth=document.getElementById(''+chl01+'img').width;Dheight=document.getElementById(''+chl01+'img').height;Dbuttx=currentX;Dbutty=currentY; if (chl10==1||chl10==5||chl10==6){ Dbuttx=availableX-(Dwidth+chl04)*chl05+currentX+chl06; } if (chl10==4||chl10==6||chl10==8){ Dbutty=availableY-(Dheight+chl07)*chl08+currentY+chl09; }A=eval(chl01+''+chl02+'A');B=eval(chl01+''+chl02+'B');AI=parseInt(eval(chl01+''+chl02+'XI'));BI=parseInt(eval(chl01+''+chl02+'YI'));AN=parseInt(eval(chl01+''+chl02+'XN'));BN=parseInt(eval(chl01+''+chl02+'YN'));Ayes=eval(chl01+''+chl02+'AY');Byes=eval(chl01+''+chl02+'BY'); AI=parseInt(AI)+1; BI=parseInt(BI)+1;if (AI==50){ if (AN==0){AN=1;}}if (AI==100){ AI=0; if (AN==1){AN=2;}}if (AI==150){ AI=0; AN=0;}if (BI==70){ if (BN==0){BN=1;}}if (BI==140){ if (BN==1){BN=2;}}if (BI==210){ BI=0; BN=0;}if (chl10==1||chl10==2){ Dbutty=currentY+B; if (B<=0){Byes='0';} if (Dbutty>=(availableY-(Dheight+chl07)*chl08+currentY+chl09)){Byes='1';} if (Byes=='0'){B=B+3;} if (Byes=='1'){B=B-3;}}if (chl10==3||chl10==4) { Dbuttx=availableX-(Dwidth+chl04)*chl05+currentX+chl06+A; if (A>0){Ayes='0';} if (Dbuttx<=1){Ayes='1';} if (Ayes=='0'){A=A-3;} if (Ayes=='1'){A=A+3;}}if (chl10==0||chl10==9){ if (chl10==0){ } Dbuttx=availableX-(Dwidth+chl04)*chl05+currentX+chl06+A; if ((availableX-(Dwidth+chl04)*chl05+currentX+chl06+A)>(availableX-24)){A=0;Ayes='0';} if (A>0){Ayes='0';} if (Dbuttx<=1){Ayes='1';} if (Ayes=='0'){if (chl10==0){if (AN==0){A=A-Math.ceil(Math.random()*3);}else{if (AN==1){A=A+Math.ceil(Math.random()*2);}else{A=A-Math.ceil(Math.random()*4);}}}else{A=A-3;}} if (Ayes=='1'){if (chl10==0){if (AN==0){A=A+Math.ceil(Math.random()*3);}else{if (AN==1){A=A-Math.ceil(Math.random()*2);}else{A=A+Math.ceil(Math.random()*4);}}}else{A=A+3;}} Dbutty=currentY+B; if (Dbutty>=(availableY-(Dheight+chl07)*chl08+currentY+chl09)){Byes='1';BI=0;BN=0;} if (B<=0){Byes='0';BI=0;BN=0;} if (Byes=='0'){if (chl10==0){if (BN==0){B=B+Math.ceil(Math.random()*3);}else{if (BN==1){B=B-Math.ceil(Math.random()*2);}else{B=B+Math.ceil(Math.random()*4);}}}else{B=B+3;}} if (Byes=='1'){if (chl10==0){if (BN==0){B=B-Math.ceil(Math.random()*3);}else{if (BN==1){B=B+Math.ceil(Math.random()*2);}else{B=B-Math.ceil(Math.random()*4);}}}else{B=B-3;}}}if (chl10==5||chl10==6) {}else if (chl10==7) {}else if (chl10==8) {}else if (chl10==0) {}else if (chl10==9) {}else {}eval(''+chl01+''+chl02+'A='+A);eval(''+chl01+''+chl02+'B='+B);eval(''+chl01+''+chl02+'AY='+Ayes);eval(''+chl01+''+chl02+'BY='+Byes);eval(''+chl01+''+chl02+'XI='+AI);eval(''+chl01+''+chl02+'YI='+BI);eval(''+chl01+''+chl02+'XN='+AN);eval(''+chl01+''+chl02+'YN='+BN);evalMovea(''+docStyle+'',''+objectXY+'',''+styleDoc+'',''+horz+'',''+Dbuttx+'',''+vert+'',''+Dbutty+'','','','');eval(''+chl01+''+chl02+'='+setTimeout('checklocationa("'+chl01+'","'+chl02+'",'+chl03+','+chl04+','+chl05+','+chl06+','+chl07+','+chl08+','+chl09+','+chl10+')',80));}function evalMovea(Movea01,Movea02,Movea03,Movea04,Movea05,Movea06,Movea07,Movea08,Movea09,Movea10) {eval(Movea01+Movea02+Movea03+Movea04+'='+Movea05);eval(Movea01+Movea02+Movea03+Movea06+'='+Movea07);}setvariablesa();function seccountdown(index01,index02,index03,index04,index05,index06,index07,index08,index09,index10) { var obj = document.getElementById(''+index01+''); if(obj&&obj.innerText>0){ obj.innerText--; setTimeout('seccountdown("'+index01+'","'+index02+'","'+index03+'",'+index04+',"'+index05+'","'+index06+'","'+index07+'","'+index08+'","'+index09+'","'+index10+'")', 1000); }else{ for (dispi=1;dispi<=index04;dispi=dispi+1){ document.getElementById(''+split(index03,',',dispi)+'').style.display=''+index05+''; } }}function divcirs(index01,index02,index03,index04,index05,index06,index07,index08,index09,index10,index11,index12,index13,index14,index15,index16,index17,index18,index19,index20) {divx0=index06;divy0=index07;divix=index06;diviy=0;divxr=1;divyr=1;divia=1;divixend=index04;diviyend=index05;divis=1;divie=index03;divie41=Math.floor(divie/4);if ((divie/4)>divie41){divie41=divie41+1;}divie42=Math.floor(divie/4)*2;if ((divie/4)*2>divie42){divie42=divie42+1;}divie43=Math.floor(divie/4)*3;if ((divie/4)*3>divie43){divie43=divie43+1;}divixv=Math.floor((divixend*2)/divie);diviyv=Math.floor((diviyend*2)/divie);xwidth=0;yheight=0;fontsi=index10;zindex=index13;dividn=index02;opacitya=100;opacityi=Math.floor(opacitya/divie);if (index11==0){ xwidthi=Math.floor(index08/divie42);}else{ xwidthi=index11;}if (xwidthi==0){ xwidthi=10;}if (index12==0){ yheighti=Math.floor(index09/divie42);}else{ yheighti=index12;}if (yheighti==0){ yheighti=10;}for (divi=divis;divi<=divie;divi=divi+1){ dividn=dividn+1; divid=''+index01+''+dividn+''; if (index20=='0'){ if (divi==divie42){ fontsi=fontsi-1; xwidth=(xwidth-xwidthi)/2; yheight=(yheight-yheighti)/2; opacityt=10; zindex=zindex-1; }else if (divi==1){ diviy=diviyend; xwidth=index08; yheight=index09; opacityt=opacitya; }else if (divi==(divie42+1)&&(divie42+2)!=divie43){ fontsi=fontsi-1; xwidth=xwidth/2; yheight=yheight/2; zindex=zindex-1; }else if (divi==(divie42+2)&&(divie42+2)!=divie43){ fontsi=fontsi+1; xwidth=xwidth*2; yheight=yheight*2; zindex=zindex-1; }else if (divi>1&&divi<=divie42){ fontsi=fontsi-1; xwidth=xwidth-xwidthi; yheight=yheight-yheighti; zindex=zindex+1; }else if (divi>(divie42+2)&&divi<=divie&&(divie42+2)!=divie){ fontsi=fontsi+1; xwidth=xwidth+(xwidthi/2); yheight=yheight+(yheighti/2); zindex=zindex+1; } if (divixend==0){ }else{ if (divi==divie42){ divix=index06; }else if (divi>1&&(divi<=(divie41+1)||divi>(divie43+1))){ if (divi<=(divie41+1)){ divix=divix+divixv; }else{ divix=divix+divixv/2; } if (divix>(index04*3/2)){ divix=(index04*3/2)-divix; } }else if (divi>(divie41+1)&&divi<=(divie43+1)){ divix=divix-divixv; if (-index04>divix){ } }else{ } } if (diviyend==0){ }else{ if (divi==divie42){ diviy=0; }else if (divi>1&&divi<=(divie42-1)){ diviy=diviy-diviyv; if (diviy<0){ divix=0; } }else if (divi>1&&divi>divie42){ diviy=diviy+diviyv; if (diviy>index05){ divix=index05-75; } }else{ } } } if (divi==divie42){ opacityt=20; }else if (divi>1&&divi1&&divi>(divie42+1)){ opacityt=opacityi*(divi-divie42)*1.5; }else if (divi>1){ }else if (divi==1){ }else{ opacityt=opacitya; } if (opacityt<0){ opacityt=0; } if (opacityt>=100&&divi>1){ opacityt=95; } if (index20!='0'&&divi==1){ dividcv=parseInt(eval(divid+'c.value')); dividspv=divi; } if (index20=='0'){ if(eval(divid+'img.width')>eval(divid+'w.value')){eval(divid+'i.value='+eval(divid+'img.width'));eval(divid+'img.width='+eval(divid+'w.value'));}else{eval(divid+'i.value='+eval(divid+'img.width'));} }else if (index20=='1'){ dividspv=dividspv+1; if (dividspv>divie){ dividspv=1; } dividcv=dividcv+1; if (dividcv>divie){ dividcv=dividcv-divie; } divido=dividcv-1; dividno=dividn-1; if (divido==0){ divido=divie; } dividosp=''+index01+''+(index02+divi)+''; dividcsp=''+index01+''+(index02+dividspv)+''; }else if (index20=='-1'){ dividosp=''+index01+''+(index02+dividspv)+''; dividspv=dividspv-1; if (dividspv<1){ dividspv=divie; } dividcv=dividcv-1; if (dividcv<1){ dividcv=divie; } divido=dividcv+1; dividno=dividn+1; if (divido>divie){ divido=1; } dividcsp=''+index01+''+(index02+dividspv)+''; } zindexi=eval(divid+'z.value'); alphai=eval(divid+'o.value'); if (index20!='0'){ dividc=''+index01+''+(index02+dividcv)+''; eval(divid+'c.value='+dividcv); zindexi=eval(dividosp+'z.value'); alphai=eval(dividosp+'o.value'); if (divi==1){ tcspan0=''+divid+'_0'; spanrun(''+tcspan0+'',''+dividosp+'_sp0','','','','','','','',''); } if (divi!=divie){ spanrun(''+dividosp+'_sp0',''+dividcsp+'_sp0','','','','','','','',''); }else{ spanrun(''+dividosp+'_sp0',''+tcspan0+'','','','','','','','',''); } eval(dividc+'tab.style.width="'+eval(dividosp+'w.value')+'px"'); eval(dividc+'tabt.style.width="'+eval(dividosp+'w.value')+'px"'); if (parseInt(eval(dividc+'img.width'))>parseInt(eval(dividosp+'w.value'))){ }else{ } eval(divid+'_sp0.style.zindex="'+zindexi+'"'); eval(divid+'_sp0.style.filter="alpha(opacity='+alphai+')"'); if (eval(divid+'v.value')==1){ eval(dividc+'tabt.style.display=""'); }else{ eval(dividc+'tabt.style.display="none"'); } }else{ eval(divid+'i.value='+divid+'img.scrollwidth'); eval(divid+'i.value='+divid+'img.width'); if (parseInt(eval(divid+'img.width'))==0){ eval(divid+'i.value='+divid+'w.value'); } if (parseInt(eval(divid+'i.value'))>parseInt(eval(divid+'w.value'))){ } eval(divid+'_sp0.style.zindex="'+zindexi+'"'); eval(divid+'_sp0.style.filter="alpha(opacity='+alphai+')"'); eval(divid+'tab.style.width="'+eval(divid+'w.value')+'px"'); eval(divid+'tabt.style.width="'+eval(divid+'w.value')+'px"'); if (divi==1){ eval(divid+'tabt.style.display=""'); } }}}var Http_Referer='http://e901.u2.com.tw/0991005001/Big2GB.ASP?ID=50&ID2=2';var Indexs1='';var Indexs2='';document.write('');function spans(spansj01,spansj02,spansj03,spansj04,spansj05){ if (spansj02=='0'){ spansjn=ubound(spansj01,',')-1; }else{ spansjn=spansj02; } if (spansjn<1){ spansjn=0; } spansjnt=''; for (spansjni=0;spansjni<=spansjn;spansjni=spansjni+1){ if (spansj02=='0'){ index01na=''+split(spansj01,',',spansjni)+''; }else{ index01na=''+spansj01+''+right('000'+spansjni+'',3)+''; } if (split(spansj05+'_0','_',0)!='1'){ spansjnt=spansjnt+'
'; } spansjnt=spansjnt+''; if (split(spansj05+'_0','_',1)=='0'){ spansjnt=spansjnt+''; } spansjnt=spansjnt+''; if (split(spansj05+'_0','_',0)!='1'){ spansjnt=spansjnt+'
'; } }document.write(''+spansjnt+'');}function BackInfoCs(Cal2a,Cal2b,Cal2c,Cal2d,Cal2e,Cal2f,Cal2g,Cal2h,Cal2i,Cal2j){ var Cal2jno1=',abcde,'; if (instr(Cal2jno1,lcase(','+mid(Cal2j,1,5)+','))>0){ }else{ Cal2c=Cal2c.replace(/%3C/g,'<'); Cal2c=Cal2c.replace(/%3E/g,'>'); Cal2c=Cal2c.replace(/%3D/g,'='); Cal2c=Cal2c.replace(/%3A/g,':'); Cal2c=Cal2c.replace(/%26/g,'&'); Cal2c=Cal2c.replace(/%2F/g,'/'); Cal2c=Cal2c.replace(/%22/g,''+String.fromCharCode(34)+''); } if (''+mid(Cal2g,1,4)+''=='flow'){ if (''+mid(Cal2g,1,6)+''=='flowno'){ document.getElementById('TINOpen'+Cal2b+'').innerHTML='open'+Cal2f+''; document.getElementById('TINclose'+Cal2b+'').style.display='None'; }else{ document.getElementById('TINOpen'+Cal2b+'').innerHTML='Again open'+Cal2f+''; document.getElementById('TINclose'+Cal2b+'').style.display=''; } }else{ Cal2bOK=',A00001,'; if (Cal2bOK.split(','+ucase(Cal2b)+',').length>1){ }a=''+Cal2g.toUpperCase()+''; if (a.split('OFF,').length>1){ offt=''+mid(''+Cal2g+'',5,len(Cal2g)-5)+''; for (of1=0;parseInt(ubound(offt,',')-1)>=of1;of1++){ if (''+split(offt,',',of1)+''!=''&&''+document.getElementById(''+split(offt,',',of1)+'')+''!='null'){ document.getElementById(''+split(offt,',',of1)+'_A3').style.display='none'; } } } } if (Cal2a!=''&&''=='IN'){ } var Cal2jOK1=',ASEL,'; var Cal2jOK2=',ACS0,'; if (instr(Cal2jOK1,','+mid(Cal2j,1,4)+',')>0){ var prome_A01Iak=''+Cal2e+''; var prome_A01Iat=''+Cal2c+''; var prome_A01Ia1=0; var prome_A01Ia2=Cal2c.split(',').length-1; var prome_A01Iah=''+Cal2g+''; var readdis08=''; var readonlyt=''; var bgcolort='FFFF00'; var AUTOOK=',PVIEWNO,'; var wordchecks=0; var SysetOK=',SETWEBIMGB01,SETWEBCOLORB01,'; if (instr(AUTOOK,','+ucase(Cal2a+''+Cal2b)+',')>0&&instr(SysetOK,',,')>0){ onchanget ='onchange=javascript:AUTOSEL12();'; }else{ onchanget =''; } if (instr(Cal2f,',if')>0){ onchanget ='onchange='+split(split(Cal2f,',if',1),',',0)+''; }else{ } if (instr(''+document.getElementById(''+Cal2f+'')+'','[object')>0){ onchanget ='onchange='+document.getElementById(''+Cal2f+'').value+''; }else{ } if (''+split(Cal2f+''+codes01,',',9)+''!=''){ if (instr(''+document.getElementById(''+split(Cal2f+''+codes01,',',9)+'')+'','[object')>0){ onchanget ='onchange=eval(document.getElementById("'+split(Cal2f+''+codes01,',',9)+'").value);'; }else{ } } if (instr(AUTOOK,','+ucase(Cal2a+''+Cal2b)+',')>0){ wordchecks='7'; }else{ wordchecks='0'; } if (instr(ucase(Cal2a+''+Cal2b),'WEBIMG')>0&&instr(ucase(Cal2a+''+Cal2b),'TOP')<1){ if (instr(''+document.getElementById('WEBIMGSUM001')+'','[object')>0){ if (document.getElementById('WEBIMGSUM001').value==''){ document.getElementById('WEBIMGSUM001').value=''+prome_A01Iat+''; } } } Pcarcount2(''+Cal2a+''+Cal2b+'',''+Cal2j+'',''+Cal2e+'',''+prome_A01Ia1+'',''+prome_A01Ia2+'',''+prome_A01Iat+'','',''+prome_A01Iah+'',''+readdis08+'',''+onchanget+'',''+prome_A01Iak+'','S,0,0,,,,,c,,,'+bgcolort+',,,,12,,,,'+left(split(Cal2f,',',2)+'180',3)+',20,h,1,'+wordchecks+',,,,,,,,,,'); document.getElementById(''+Cal2a+''+Cal2b+'_A3').style.display=''; document.getElementById(''+Cal2a+''+Cal2b+'_0').value=''; document.getElementById(''+Cal2a+''+Cal2b+'_A0').innerHTML=''; document.getElementById(''+Cal2a+''+Cal2b+'_A0').style.display='None'; }else{ if (ie4||ns6){ spant(''+Cal2a+''+Cal2b+'_A3',''+Cal2c+'','','','','','','','','I'); document.getElementById(''+Cal2a+''+Cal2b+'_A3').style.display=''; }else{ } if (instr(Cal2c,''; } } t000=t000+''; t000=t000+''; t000=t000+''; t000=t000+''; t000=t000+'
'; for (scarti=0;scarti<=10;scarti=scarti+1){ PSel_45ii=''+PSel_45id+''+scarti+''; t000=t000+''; } t000=t000+'
'; t000=t000+''; t000=t000+''; t000=t000+''; t000=t000+''; t000=t000+'';spant(''+indexa+'_A3',''+t000+'','','','','','','','','I');document.getElementById(''+indexa+'_A3').style.left='-1000px'; var SEL_01_sumtcm=document.getElementById('SEL_01_sumtcm'); var SEL_01_sumtzm=document.getElementById('SEL_01_sumtzm'); var SEL_01_sumtnm=document.getElementById('SEL_01_sumtnm'); var SEL_01_sumtim=document.getElementById('SEL_01_sumtim'); var SEL_01_sumtc=document.getElementById('SEL_01_sumtc'); var SEL_01_sumtz=document.getElementById('SEL_01_sumtz'); var SEL_01_sumtn=document.getElementById('SEL_01_sumtn'); var SEL_01_sumti=document.getElementById('SEL_01_sumti'); var SEL_01_sumtj=document.getElementById('SEL_01_sumtj'); SEL_01_sumtj.innerHTML='0' ;SEL_01_sumtim.innerHTML='0' ;} var str=''; var MIN=''; var MINN=''; var MISN2='10'; var promeA01IOK=0; var promeA01IAt=''; var promeA01IAi=''; var promeA01IAN='';function pdata_S_1(Index01,Index02,Index03,Index04,Index05,Index06,Index07,Index08,Index09,Indexaa,Indexbb,Indexcc,Indexdd,Indexee,Indexff,Indexgg,Indexhh,Indexii,Indexjj,Indexkk,Indexll){if (''+Indexgg+''==''){ document.write(''); document.write(''); document.write(''); if (''+Index09+''!='0'){ document.write(''); }}else{ if (''+mid(Indexgg,1,5)+''=='vbjs_'){ Indexgg=''; }} str=''; MIN=''+Index03 +''; MISN2='10'; if (''+Index09+''==''){ Index09='1'; }Index08=Index08.replace(//g,'>');Index08=Index08.replace(/ /g,' ');Index08=Index08.replace(/"/g,'"');if (''+MIN+''!=''&&instr(document.getElementById(''+Index02+'').value+',','|')>0){ for (MI=1;Math.ceil(MIN)>=MI;MI=MI+1){ MIINI=0; if(MI==1){ str=str +'
'; str=str +'<<規格選擇>>'; } formName =''+Index01+'_'+MI +''; str=str +'
'+split(split(split(document.getElementById(Index02).value,'|',MI)+'__','_',1)+',,',',',0)+':'; str=str +''; str=str+'
'; } str=str +'
'; document.getElementById(''+Index01+'_N').value=MISN2; spant(''+Index01+'_A3',''+str+'','','','','','','','','I');} if (instr(''+document.getElementById(''+Index01+'_A0')+'','[object')>0){ if (''+document.getElementById(''+Index01+'_A0').value+''==''){ pdata_S_2(Index01,Index02,Index03,Index04,Index05,Index06,Index07,Index08,Index09,Indexaa,Indexbb,Indexcc,Indexdd,Indexee,Indexff,Indexgg,Indexhh,Indexii,Indexjj,Indexkk,Indexll); } }}function pdata_S_2(Index01,Index02,Index03,Index04,Index05,Index06,Index07,Index08,Index09,Indexaa,Indexbb,Indexcc,Indexdd,Indexee,Indexff,Indexgg,Indexhh,Indexii,Indexjj,Indexkk,Indexll){ str=''; MIN=''+Index03+''; MISN1='0'; MISN2='10'; for (MI=1;Math.ceil(MIN)>=MI;MI=MI+1){ if (MI==1){ MISN2='10'; } formName =''+Index01+'_'+MI+''; if (''+document.getElementById(''+formName+'')+''!='null'){ str=str+';'+document.getElementById(''+formName+'').value+''; if (''+right('0000000000'+split(split(split(split(document.getElementById(''+Index02+'').value,','+document.getElementById(''+formName+'').value+'_',1)+'_','_',1)+';',';',0)+',',',',0),10)+''>='0000000000'&&''+right('0000000000'+split(split(split(split(document.getElementById(''+Index02+'').value,','+document.getElementById(''+formName+'').value+'_',1)+'_','_',Index09)+';',';',0)+',',',',0),10)+''<='9999999999'){ if (Math.ceil(MISN2)>Math.ceil(right('0000000000'+split(split(split(split(''+document.getElementById(''+Index02+'').value+'',','+document.getElementById(''+formName+'').value+'_',1)+'','_',1)+';',';',0)+',',',',0),10))){ MISN2=Math.ceil(right('0000000000'+split(split(split(split(''+document.getElementById(''+Index02+'').value+'',','+document.getElementById(''+formName+'').value+'_',1)+'_','_',1)+';',';',0)+',',',',0)+'',10)); } } } } if (''+Math.ceil(''+Indexee+'')+''!='NaN'){if (Math.ceil(''+Indexee+'')>Math.ceil(''+MISN2+'')){Indexee=MISN2;}} document.getElementById(''+Index01+'_A0').value=''+str+'' ; document.getElementById(''+Index01+'_N').value=MISN2; MISN2=document.getElementById(''+Index01+'_N').value; if(instr(''+document.getElementById(''+Indexaa+'')+'','[object')>0&&''+Index09+''=='1'){ Pcarcount2(''+Indexaa+'',''+Indexbb+'',''+right('0000000000'+split(document.getElementById(''+Indexaa+'').value+'_','_',Index09),2)+';'+split(Indexcc+';',';',1)+'',''+Indexdd+'',''+document.getElementById(''+Index01+'_N').value+'',''+Indexff+'',''+Indexgg+'',''+Indexhh+'',''+Indexii+'',''+Indexjj+'',''+right('000000000'+split(document.getElementById(''+Indexaa+'').value+'_' ,'_',1),2)+'',''+Indexll+''); }else if(''+Index09+''=='0'){b=0;c='';d='';a=document.getElementById(''+split(Index01,'SUMT0_',1)+'');b=(Math.ceil(right('0000000000'+split(a.value+'_','_',Index09),2))-1);a.length=Indexee;if (b>(Math.ceil(Indexee)-1)){b=(Math.ceil(Indexee)-1);}for (xi=0;Indexee>xi;xi=xi+1){;a.options[xi]=new Option(''+(xi+1)+'',xi+1);a.options[xi].style.backgroundColor="#FFFF00";}a.selectedIndex=b;a.options[b].style.backgroundColor="#FFFFFF";eval(''+document.getElementById(''+Indexaa+'c').value+'');}}function car_Sent_O(Index01,Index02,Index03,Index04,Index05,Index06,Index07,Index08,Index09,Index10){a=document.getElementById(''+Index08+'_'+Index09+'_0s');b='';if (instr(''+a+'','[object')>0){b='&eid2x='+a.value+'';} if (''+Index01+''!=''){ if (''+left(Index03,4)+''=='MNun'){ }else{ if (ubound(document.getElementById(Index01).value+' ',';')>1){ if (''+right('00'+document.getElementById(Index03).value+'',2)+''>'00'){ SysinIDs(''+Index02+'&carST='+document.getElementById('SEL_01_'+split(Index01+'_','_',1)+'').value+''+replace(''+document.getElementById(''+Index01+'').value+'',';','A','','','','','','','')+''+b+''); }else{ alert('商品數量尚未選擇'); } }else{ if (''+document.getElementById(''+Index03+'')+''!='null'){ if (''+right('00'+document.getElementById(''+Index03+'').value,2)+''>'00'){ if (''+right('00'+document.getElementById(''+Index03+'').value,2)+''>='01'){ if (''+left(Index10+',,,,,,,,,,',5)+''=='vbjs_'){ }else{ SysinIDs(''+Index02+'&carST='+document.getElementById('SEL_01_'+split(Index01+'_','_',1)+'').value+''+replace(''+document.getElementById(''+Index01+'').value+'',';','A','','','','','','','')+''+b+''); } }else{ } }else{ alert('商品數量尚未選擇'); } } } } }else{ }}function PROINC(Index01,Index02,Index03,Index04,Index05,Index06,Index07,Index08,Index09,Index10){ PassLogina = ''+right(Index05,2)+''; if (''+Index05+''=='PROINC'){ PassLogina ='0'; } if (''+PassLogina+''=='CO'){ PDNAME0 ='UserLoginCO,name,pass,啟用處理,IN,OpenCO,首次啟用碼一,首次啟用碼二,text,10,10,CO,網站首次啟用'; }else if(''+PassLogina+''=='CL'){ PDNAME0 ='UserLoginCL,EmialSms1,EmialSms2,傳送註冊碼,IN,OpenCL,E-Mail,(or)手機號碼,text,20,30,CL,傳送註冊碼,原先啟用碼一,PA1,原先啟用碼二,PA2,,,,'; PDNAME0 ='UserLoginCL,name,pass,傳送註冊碼,IN,OpenCL,原先啟用碼一,原先啟用碼二,text,20,30,CL,傳送註冊碼,E-Mail,PA1,(or)手機號碼,PA2,,,,'; }else if(''+PassLogina+''=='CLL'){ PDNAME0 ='UserLoginCLL,name,pass,傳送註冊碼,IN,OpenCLL,E-Mail,(or)手機號碼,text,20,30,CLL,傳送最後啟用碼,原先啟用碼一,PA1,原先啟用碼二,PA2,,,,'; }else if(''+PassLogina+''=='CZ'){ PDNAME0 ='UserLoginCZ,name,pass,最後處理,IN,OpenCZ,最後啟用碼,取得啟用碼來源(Email & 手機),text,10,10,CZ,送出註冊碼,原先啟用碼一,PA1,原先啟用碼二,PA2,hidden,OPENCHECK,CZOPENCHECK,16,17,18,'; PDNAME0 ='UserLoginCZ,name,pass,最後處理,IN,OpenCZ,原先啟用碼一,原先啟用碼二,text,10,4,CZ,送出開通碼,E-Mail,PA1,(or)手機號碼,PA2,hidden,OPENCHECK,CZOPENCHECK,16,17,18,'; }else if(''+PassLogina+''=='SE'){ PDNAME0 ='UserLoginSE,name,pass,最後處理,IN,OpenSE,取得啟用碼來源(Email),取得啟用碼來源,text,10,10,SE,送出索取試用啟用碼,原先啟用碼一,PA1,原先啟用碼二,PA2,text,EmialSms1,,16,17,18,'; }else if(''+PassLogina+''=='CS'){ PDNAME0 ='UserLoginCS,name,pass,儲值處理,IN,OpenCS,儲值啟用碼一,儲值啟用碼二,text,10,10,CS,網站儲值'; }else if(''+PassLogina+''=='CR'){ PDNAME0 ='UserLoginCO,name,pass,續用處理,IN,OpenCO,續用啟用碼一,續用啟用碼二,text,10,10,CO,網站續用'; }else if(''+PassLogina+''=='CA'){ PDNAME0 ='UserLoginCA,name,pass,加值處理,IN,OpenCA,加值啟用碼一,加值啟用碼二,text,10,10,CA,網站加值'; }else if(''+PassLogina+''=='form_EC_order'){ PDNAME0 =''+PassLogina+',C_UserNo,C_UserPass,續用處理,IN,OpenCA,續用啟用碼一,續用啟用碼二,text,10,10,CA,會員登入'; }else if(''+mid(''+PassLogina+'', 1, 5)+''=='RCS21'&&len(''+PassLogina+'')==5){ PDNAME0 =''+PassLogina+',C_UserNo,C_UserPass,續用處理,IN,OpenCA,續用啟用碼一,續用啟用碼二,text,10,10,CA,會員登入'; }else if(''+mid(''+PassLogina+'', 1, 5)+''=='RCS'&&len(''+PassLogina+'')>5){ PDNAME0 =''+PassLogina+',C_UserNo,C_UserPass,續用處理,IN,OpenCA,續用啟用碼一,續用啟用碼二,text,10,10,CA,會員登入'; }else if(''+PassLogina+''=='CI'){ PDNAME0 ='UserLogin,name,pass,登入,IN,ProinCI,登入帳號,登入密碼,password,10,10,0,網站後台登入'; }else{ PDNAME0 = ''+PassLogina+',C_UserNo,C_UserPass,登入,IN,ProinCI,登入帳號,登入密碼,password,10,10,0,會員登入'; PassLogina ='0'; } document.write('
'); document.write('
'); if ((''+Index06+''=='6'&&''+mid(Index05,1,4)+''=='OPEN')||(''+Index05+''=='OPENCR'&&''+Index06+''=='7')||''+Index07+''=='2'){ document.write('

'); document.write('返回(Back)'); } document.write(''); document.write(''); document.write(''); if (''+PassLogina+''=='CZ'||''+PassLogina+''=='SE'){ document.write(''); document.write(''); } document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write('
'); document.write('

'); document.write(''); document.write('

'); document.write(''+mid(split(PDNAME0, ',',12),3) +':'); document.write(''); document.write(''); document.write('
'+split(PDNAME0,',',6) +':'); I=0; if (''+PassLogina+''!='SE'){ if (''+PassLogina+''=='CO'||''+PassLogina+''=='CL'||''+PassLogina+''=='CZ'||''+PassLogina+''=='CR'){ for (mi=1;mi<=4;mi=mi+1){ I=I+1 } }else{ document.write(''); } } if (''+PassLogina+''=='CZ'||''+PassLogina+''=='SE'){ document.write(''); } document.write('
'+split(PDNAME0,',',7)+':'); if (''+PassLogina+''!='SE'){ if (''+PassLogina+''=='CO'||''+PassLogina+''=='CL'||''+PassLogina+''=='CZ'||''+PassLogina+''=='CR'){ for (mi=1;mi<=4;mi=mi+1){ I=I+1; document.write(''); } }else{ if (''+ucase(Index05+' ')+''=='PROINCI '){ document.write(''); }else{ document.write(''); } } } if (''+PassLogina+''=='CZ'||''+PassLogina+''=='SE'){ document.write(''); } if (''+PassLogina+''=='CL'||''+PassLogina+''=='CZ'){ document.write('
'+split(PDNAME0,',',13) +':'); if (''+PassLogina+''=='CZ'){ document.write(''); } if (''+PassLogina+''=='CL'){ document.write(''); } } if (''+PassLogina+''=='CL'||''+PassLogina+''=='CZ'){ document.write('
'+split(PDNAME0, ',',15) +':'); if (''+PassLogina+''=='CL'||''+PassLogina+''=='CZ'){ document.write(''); } if (''+PassLogina+''=='CZ'){ document.write(''); document.write(''); document.write('

'); document.write('

'); document.write(''); document.write('
'); document.write('

'); document.write('驗證碼:'); document.write(''); document.write('

'); document.write('
'); document.write('

    '); document.write(''); document.write(''); document.write(''); document.write(''); document.write('

'+split(PDNAME0,',',12) +''); document.write('

'); document.write('

');}function ChangemoneyPDs(index01,index02,index03,index04,index05,index06,index07,index08,index09,index10){Str='';if (ubound(Str+' ',',')>1){ Stra=''; Stra= Stra +''; document.getElementById(''+ index02 +'_'+index01+''+index03+'').innerHTML=Stra;}} function UserLoginDataCheck(Index01,Index02,Index03,Index04,Index05,Index06,Index07,Index08,Index09,Index10){ PassLogina =''+right(Index06,2)+''; SNT1=',CO,CL,CZ,SE,CR,'; SNT2=',CO,CL,CZ,SE,'; SN=1; if (ubound(SNT1,','+PassLogina+',')>0){ N=0; for (XN=1;XN<=8;XN=XN+1){ if (''+document.getElementById('pa1'+XN+'')+''!='null'){ if (len(document.getElementById('pa1'+XN+'').value)==0){ N=1; break; } } } if (N==1){ alert('欄位需有值;請更正!'); document.getElementById('pa1'+XN+'').focus(); }else{ SN=0; } if (''+PassLogina+''=='CL'&&SN==0){ PDNAME0 = 'UserLoginCL,name,pass,傳送註冊碼,IN,OpenCL,E-Mail,(or)手機號碼,text,20,30,CL,傳送註冊碼,E-Mail,PA1,(or)手機號碼,PA2,,,,'; SN=1; if (''+document.getElementById(''+split(PDNAME0, ',',1)+'').value+''==''&&''+document.getElementById(''+split(PDNAME0,',',2)+'').value+''==''){ alert('至少其中一欄位需有值;請更正!'); document.getElementById(''+split(PDNAME0,',',1)+'').focus(); }else if (replace(''+document.getElementById(''+split(PDNAME0, ',',1)+'').value+'',';',';','','','','','','','')==';'||replace(''+document.getElementById(''+split(PDNAME0, ',',1)+'').value+'','=','=','','','','','','','')=='='||replace(''+document.getElementById(''+split(PDNAME0, ',',1)+'').value+'','--','--','','','','','','','')=='--'&&''+Index10+''=='0'){ alert(''+split(PDNAME0, ',',6)+'值錯誤;請更正!'); document.getElementById(''+split(PDNAME0,',',1)+'').focus(); }else if (''+document.getElementById(''+split(PDNAME0, ',',1)+'').value+''!=''&&(instr(document.getElementById(''+split(PDNAME0,',',1)+'').value,'@')<2||instr(document.getElementById(''+split(PDNAME0, ',',1)+'').value,'.')<4||split(document.getElementById(''+split(PDNAME0, ',',1)+'').value+'.','.',1)=='')){ alert(''+split(PDNAME0, ',',6)+'值錯誤;請更正!'); document.getElementById(''+split(PDNAME0,',',1)+'').focus(); }else if (''+document.getElementById(''+split(PDNAME0, ',',2)+'').value+''!=''&&''+lcase(numchecks(document.getElementById(''+split(PDNAME0,',',2)+'').value,'',''))+''=='false'){ alert(''+replace(split(PDNAME0,',',7),'(or)','','','','','','','','')+'值錯誤;請更正!'); document.getElementById(''+split(PDNAME0,',',2)+'').focus(); }else if (''+document.getElementById(''+split(PDNAME0, ',',2)+'').value+''!=''&&len(document.getElementById(''+split(PDNAME0,',',2)+'').value)<10){ alert(''+replace(split(PDNAME0,',',7),'(or)','','','','','','','','')+'數錯誤;請更正!'); document.getElementById(''+split(PDNAME0,',',2)+'').focus(); }else{ SN=0; } } }else if (''+ucase(Index06)+''=='PROINCI'){ if (''+document.getElementById(Index03).value+''==''){ alert('登入帳號需有值;請更正!'); document.getElementById(Index03).focus(); }else if (''+document.getElementById(Index04).value+''==''){ alert('登入密碼需有值;請更正!'); document.getElementById(Index04).focus(); }else if (''+replace(''+document.getElementById(''+Index03+'').value+'',';',';','','','','','','','')+''==';'||''+replace(''+document.getElementById(''+Index03+'').value+'','=','=','','','','','','','')+''=='='||''+replace(''+document.getElementById(Index03).value+'','--','--','','','','','','','')+''=='--'&&''+Index02+''=='0'){ alert('登入帳號值錯誤;請更正!'); document.getElementById(Index03).focus(); }else if (''+replace(''+document.getElementById(''+Index04+'').value+'',';',';','','','','','','','')+''==';'||''+replace(''+document.getElementById(''+Index04+'').value+'','=','=','','','','','','','')+''=='='||''+replace(''+document.getElementById(Index04).value+'','--','--','','','','','','','')+''=='--'&&''+Index02+''=='0'){ alert('登入密碼值錯誤;請更正!'); document.getElementById(Index04).focus(); }else{a=document.getElementById(''+Index05+'');b=''+a.value+''; if (''+b+''==''||''+b.length+''!='4'&&''+numchecks(''+b+'','','')+''=='false'){ alert('目前驗證碼尚未輸入完整,無法登入!'); a.focus(); }else{ SN=0; } }}else{} if (SN==0){a=document.getElementById(''+Index05+'');b=''+a.value+''; if (''+b+''==''||''+b.length+''!='4'&&''+numchecks(''+b+'','','')+''=='false'){ alert('目前驗證碼尚未輸入完整,無法登入!'); a.focus(); SN=1; }else{ SN=0; } } if (SN==0){ if (''+Index10+''=='1'){ if (''+document.getElementById('pa1'+XN+'')+''!='null'){ document.getElementById('EmialSms1a').value='Emialagain'; } } if (''+PassLogina+''=='CZ'&&''+Index10+''=='0'){ document.getElementById('OPEN001').innerHTML=''; } document.getElementById(Index01).submit(); }}function smenus(f1,f2,f3,f4,f5,f6,f7,f8,f9,f10){if (navigator.appName=='Netscape'){g=''+document.getElementById(''+f1+''+f2+'l'+f7+'').textContent+'';}else{g=''+document.getElementById(''+f1+''+f2+'l'+f7+'').innerText+'';} f=document.getElementById(''+f1+'v'+f7+'');if (''+f2+''=='m'){document.getElementById(''+f1+''+f2+''+f7+'').style.display=''; if (''+g+''!=''){}else{a=''+f1+''; for (x=1;11>=x;x=x+1){a=''+eval('a.replace(/p'+(x-1)+'u/g,"pu")')+'';a=''+eval('a.replace(/p'+(x-1)+'xu/g,"xm")')+'';a=''+eval('a.replace(/p'+(x-1)+'d/g,"pd")')+'';a=''+eval('a.replace(/wd/g,"m")')+'';} a=''+a.replace(/pd/g,'pu')+'';a=''+a.replace(/pue/g,'pu')+'';a=''+document.getElementById(''+a+'').value+'';b=ubound(a,','); if (b>=2){d='';d=d+'<table border="1" cellspacing="0" cellpadding="0" style="border-width:1px;border-style:solid;border-collapse:collapse;border-color:#'+f9+';width:100'+unescape('%25')+'">'; for(x=1;(b-1)>=x;x=x+1){ i=''+split(split(a,',',x)+'_','_',0)+'';j=''+split(split(split(a,',',x)+'_','_',1)+';',';',0)+'';k=''+split(split(split(a,',',x)+'_','_',1)+';',';',1)+'';if(''+k+''!=''){k=k.replace(/_/g,'_');k='<img border="0" width="20px" height="20px" src="image/'+k+'" alt="'+k+'"/>';} d=d+'<tr><td align="left" valign="middle" style="width:100'+unescape('%25')+';height:30px;margin-left:2px;margin-top:0px;cursor:pointer;overflow:hidden'; if (ubound(f.value+',',','+i+',')==2){d=d+';background-color:#FFFF00';} d=d+'" title="'+j+'" id="'+f1+''+f2+''+f7+'t'+i+'" ><div style="line-height:136'+unescape('%25')+';font-size:15px;letter-spacing:1px;"'; e='sadd("'+f1+'","'+f2+'","'+f3+'","'+i+'","a","","'+f7+'","","'+f9+'","")'; d=d+' onclick="'+e+';"'; if (instr(i+',','s')>0){i=split(i,'s',1);}else if (instr(i+',','m')>0){i=split(split(i,'m',1)+'s','s',0);}else if (instr(i+',','l')>0){i=split(split(i,'l',1)+'m','m',0);}else if (instr(i+',','p')>0){i=split(i,'p',1);} d=d+'>'+right('00000'+i,5)+'_'+j+''+k+'</div></td></tr>'; } d=d+'</table>'; document.getElementById(''+f1+''+f2+'l'+f7+'').innerHTML=''+d.replace(/</g,''+unescape('%3C')+'')+''; } }}}function sadd(f1,f2,f3,f4,f5,f6,f7,f8,f9,f10){if (''+f5+''!='v'){if (''+iw+''=='2'){x=f8.clientX;y=f8.clientY;}else{x=window.event.x;y=window.event.y;}}if (''+x+''=='undeifined'||x==''){x=0;}if (''+y+''=='undeifined'||y==''){y=0;}if (''+f6+''==''){if (navigator.appName=='Netscape'){g=''+document.getElementById(''+f1+''+f2+'l'+f7+'').textContent+'';}else{g=''+document.getElementById(''+f1+''+f2+'l'+f7+'').innerText+'';}}h=2;t=''+f1+'_'+f7+'l'+f4+'';if (''+f5+''=='v'){f=document.getElementById(''+f1+''+f5+''+f7+'');a=''+f1+''; for (x=1;11>=x;x=x+1){a=''+eval('a.replace(/p'+(x-1)+'u/g,"pu")')+'';a=''+eval('a.replace(/p'+(x-1)+'xu/g,"xm")')+'';a=''+eval('a.replace(/p'+(x-1)+'d/g,"pd")')+'';a=''+eval('a.replace(/wd/g,"m")')+'';} a=''+a.replace(/pd/g,'pu')+'';a=''+a.replace(/pue/g,'pu')+'';l=''+f1+''+f5+''+f7+'';if (''+right(';'+a,1)+''=='2'){if (''+f7+''=='1'){a=''+a.substr(0,a.length-1)+'2';}else{a=''+left(a,len(a)-1)+'3';}}b=document.getElementById(''+a+'');if (1>instr(''+l+'','ue')){if (instr(''+l+'','mm2')>0){b.value=document.getElementById('SELsumm1').value;}if (instr(''+l+'','mm3')>0){b.value=document.getElementById('SELsumm2').value;}if (instr(''+l+'','sumu2')>0){b.value=document.getElementById('SELsumu1').value;}if (instr(''+l+'','sumu3')>0){b.value=document.getElementById('SELsumu2').value;}if (instr(''+l+'','sum2')>0){b.value=document.getElementById('SELsum1').value;}if (instr(''+l+'','sum3')>0){b.value=document.getElementById('SELsum2').value;}if (l.split('p1xu').length>1){document.getElementById(''+a+'').value=document.getElementById('SELsumxm1').value;}if (instr(''+l+'','p1u')>0){b.value=document.getElementById('SELsumpu1').value;}if (instr(''+l+'','p2u')>0){b.value=document.getElementById('SELsumpu3').value;}if (instr(''+l+'','p3u')>0||instr(''+l+'','p6u')>0){b.value=document.getElementById('SELsumm1').value;}if (instr(''+l+'','p4u')>0||instr(''+l+'','p7u')>0){b.value=document.getElementById('SELsumm2').value;}if (instr(''+l+'','p5u')>0){b.value=document.getElementById('SELsumm3').value;}}else{if (instr(''+l+'','p1ue')>0){b.value=document.getElementById('SELsumpua1').value;}if (instr(''+l+'','p2ue')>0){b.value=document.getElementById('SELsumpub1').value;}} b=''+document.getElementById(''+a+'')+'';if (b.split('[object').length>1){a=''+document.getElementById(''+a+'').value+'';}h=ubound(f.value+';',',');}var v0,v1,x1,y1,x2,y2,v2;if (''+f5+''=='d'||(''+f5+''!=''&&''+window.parent.numchecks(''+f5+'','','')+''=='true')){f=document.getElementById(''+f1+'v'+f7+''); if (ubound(f.value+',',','+f4+',')==2||ubound(f.value+',',','+f4+';')==2){v1=len(f.value); if (ubound(f.value+',',','+f4+';')==2){v2=len(','+f4+';'+split(split(f.value+',',','+f4+';',1),',',0)+'');}else{v2=len(','+f4+'');} d=''+f.value+',';i='';j=''; if (ubound(f.value+',',','+f4+';')==2){ i=''+f4+';'+split(split(f.value+'',','+f4+';',1)+',',',',0)+'';j=''+split(''+f.value+'',','+i+'',1)+'';f.value=''+split(f.value+'',','+f4+';',0)+''; }else{ i=''+f4+''; if (ubound(f.value+'_',','+f4+'_')==2){}else{j=''+split(''+f.value+',',','+i+',',1)+'';j=''+left(j,len(j)-1)+'';} f.value=''+split(f.value+',',','+f4+',',0)+''; } v1=''; if (''+f5+''!='d'&&''+window.parent.numchecks(''+f5+'','','')+''=='true'&&''+f5+''!='0'){ if (Math.ceil(f5)>(ubound(''+i+',',';')-1)){for (x=1;Math.ceil(f5)>=x;x=x+1){i=''+i+';';}} for (x=0;(ubound(''+i+',',';')-1)>=x;x=x+1){if (''+x+''=='0'){}else{v1=''+v1+';';} if (x==Math.ceil(f5)){v1=''+v1+''+document.getElementById('P'+t+'').value+'';}else{v1=''+v1+''+split(''+i+'',';',x)+'';} } } if (''+v1+''!=''){f.value=''+f.value+','+v1+'';}i=''; if (''+j+''!=''){if (''+left(j,1)+''!=','){f.value=''+f.value+',';}f.value=''+f.value+''+j+'';}if (''+f.value+''==','){f.value='';} j='';v1=''; if (''+f5+''=='d'){document.getElementById(''+f1+'_'+f7+'l').innerHTML='';if (''+g+''!=''){document.getElementById(''+f1+''+f2+''+f7+'t'+f4+'').style.backgroundColor='';}} sadd(f1,f2,f3,'','v','',f7,f8,f9,f10); }}else if (''+f5+''=='o'){document.getElementById(''+t+'').style.backgroundColor='#FFFFFF';}else if (''+f5+''=='u'){mouseOK='False';k='';v2=''; f=document.getElementById(''+f1+'v'+f7+'');h=ubound(f.value+';',',');i=''+document.getElementById(''+f1+'_'+f7+'l'+f4+'').style.marginTop+'';i=Math.ceil(i.replace(/px/g,'')); if (instr(''+f.value+',',','+f4+',')>0){v1=''+f.value+'';v1=''+v1.split(','+f4+',')[0]+'';v1=''+(v1.split(',').length-1)+'';i=Math.ceil(v1)*30+i;} l='';for(x=1;(h-1)>=x;x++){ v1=''+split(split(f.value+',',',',x)+';',';',0)+'';b=''+document.getElementById(''+f1+'_'+f7+'l'+v1+'')+'';if (b.split('[object').length>1){l=''+l+','+v1+'';} }f.value=''+l+'';h=ubound(f.value+';',','); for(x=1;(h-1)>=x;x=x+1){ v1=''+f.value+'';v1=''+v1.split(',')[x]+'';v1=''+v1.split(';')[0]+'';''+split(split(f.value+',',',',x)+';',';',0)+'';a=document.getElementById(''+f1+'_'+f7+'l'+v1+'');b=''+a+'';if (b.split('[object').length>1){j=a.style.top;j=Math.ceil(j.replace(/px/g,''));} if (instr(''+f.value+',',','+f4+';')>0){v0=''+f4+';'+split(split(''+f.value+',',','+f4+';',1),',',0)+'';}else{v0=''+f4+'';} if (''+v1+''!=''+f4+''){ if (instr(''+f.value+',',','+v1+';')>0){v1=''+v1+';'+split(split(''+f.value+',',','+v1+';',1),',',0)+'';} if (1>instr(''+v2+',',','+f4+',')&&1>instr(''+v2+',',','+f4+';')){ if (0>=(i-j)){if (x==1){v2=''+v2+','+v0+','+v1+'';}else{v2=''+v2+','+v1+','+v0+'';} }else{if (30>(i-30*(x-1))&&(i-30*(x-1))>0){if (i>j&&''+k+''!=''){v2=''+v2+','+v1+','+v0+'';}else{v2=''+v2+','+v0+','+v1+'';}}else if (30>(i-30*(x-1))&&0>(i-30*(x-1))&&i>j){if (x!=1){v2=''+v2+','+v0+','+v1+'';}else{v2=''+v2+','+v1+','+v0+'';}}else{v2=''+v2+','+v1+'';} } }else{v2=''+v2+','+v1+'';} }else{k=x;document.getElementById(''+f1+'_'+f7+'l'+v1+'').style.zIndex='10'+x+''; } } if (1>instr(''+v2+',',','+f4+',')&&1>instr(''+v2+',',','+f4+';')){v2=''+v2+','+f4+'';} if (''+k+''!=''){if (''+i+''!=''+30*(Math.ceil(k)-1)+''){f.value=''+v2+'';}} v2='';document.getElementById(''+f1+'_'+f7+'l'+f4+'').style.backgroundColor='#FFFFFF';sadd(f1,f2,f3,'','v','',f7,f8,f9,f10);}else if (''+f5+''=='c'){mouseOK=''+f4+''; if (''+lcase(''+mouseOK+'')+''==''+f4+''){ offXs=''+document.getElementById(''+f1+'_'+f7+'l'+f4+'').style.left+'';offXs=window.event.x-Math.ceil(offXs.replace(/px/g,''));offYs=''+document.getElementById(''+f1+'_'+f7+'l'+f4+'').style.top+'';offYs=window.event.y-Math.ceil(offYs.replace(/px/g,'')); document.getElementById(''+f1+'_'+f7+'l'+f4+'').style.zIndex='99999';document.getElementById(''+f1+'_'+f7+'l'+f4+'').style.backgroundColor='#FFFF00'; }}else if (''+f5+''=='m'){ if (''+lcase(''+offYs+'')+''=='nan'){offYs=0;} if (''+lcase(''+mouseOK+'')+''==''+f4+''&&''+lcase(''+offYs+'')+''!='nan'){ document.getElementById(''+f1+'_'+f7+'l'+f4+'').style.backgroundColor='#CCCCCC'; if (navigator.appName=='Netscape'){ document.getElementById(''+f1+'_'+f7+'l'+f4+'').style.marginLeft=''+(window.event.x-Math.ceil(offXs))+'px';document.getElementById(''+f1+'_'+f7+'l'+f4+'').style.marginTop=''+(window.event.y-Math.ceil(offYs))+'px'; }else{ document.getElementById(''+f1+'_'+f7+'l'+f4+'').style.marginLeft=''+(window.event.x-Math.ceil(offXs))+'px';document.getElementById(''+f1+'_'+f7+'l'+f4+'').style.marginTop=''+(window.event.y-Math.ceil(offYs))+'px'; } }}else if (''+f5+''=='a'){ if (2>ubound(f.value+',',','+f4+';')){if (2>ubound(f.value+',',','+f4+',')){f.value=''+f.value+','+f4+'';}} document.getElementById(''+f1+'_'+f7+'l').innerHTML='';sadd(f1,f2,f3,'','v','',f7,f8,''+f9+'',f10);}else{ d='';d=d+'<table border="0" cellspacing="0" cellpadding="0" style="position:relative;border-width:0px;border-style:solid;border-collapse:collapse;border-color:#'+f9+';width:90'+unescape('%25')+'">'; d=d+'<tr><td width="100'+unescape('%25')+'" height="30px" align="center" valign="middle">';for (x=1;(h-1)>=x;x=x+1){if (''+f5+''=='v'){f4=''+split(split(f.value+',',',',x)+';',';',0)+'';}if (''+f4+''!=''){b=ubound(a+',',','+f4+'_');if (b==2){c=''+document.getElementById(''+f1+'_'+f7+'l').innerHTML+'';if ((2>ubound(f.value+',',','+f4+',')&&2>ubound(f.value+',',','+f4+';'))||(''+f5+''=='v'&&b==2)){ i=''+f4+'';j=''+split(split(a,','+f4+'_',1)+',',',',0)+'';j=''+split(split(j+'_','_',0)+';',';',0)+'';k='';k=''+split(split(split(a,','+f4+'_',1)+',',',',0)+';',';',1)+'';if(''+k+''!=''){k=k.replace(/_/g,'_');k='<img border="0" width="20px" height="20px" src="image/'+k+'" alt="'+k+'"/>';} e='sadd("'+f1+'","'+f2+'","'+f3+'","'+i+'","d","","'+f7+'","","'+f9+'","")'; if (''+x+''=='1'){d=d+'<table border="1" cellspacing="0" cellpadding="0" style="position:relative;margin-top:'+(30*(x-1))+'px;border-width:1px;border-style:solid;border-collapse:collapse;border-color:#'+f9+';width:100'+unescape('%25')+'">';} d=d+'<tr><td width="10'+unescape('%25')+'" height="30px" align="center" valign="middle">'; d=d+'<div onclick="'+e+';" title="刪除/del" style="width:20px;margin-left:0px;margin-top:0px;line-height:136'+unescape('%25')+';font-size:17px;letter-spacing:1px;cursor:pointer"'; d=d+'>x</div></td><td width="70'+unescape('%25')+'" height="30px" valign="top" align="left" style="overflow:hidden">'; e=''+e.replace(/"d"/g,'"c"')+''; d=d+'<table id="'+f1+'_'+f7+'l'+i+'" border="0" cellspacing="0" cellpadding="0" onselectstart="window.event.returnvalue=false;" style="position:absolute;background-color:#FFFFFF;border-color:#'+f9+';border-width:1px;border-style:solid;border-collapse:collapse;width:70'+unescape('%25')+';z-index:10'+x+'">'; d=d+'<tr><td width="100'+unescape('%25')+'" height="30px" style="border-width:0px;border-style:solid;border-collapse:collapse;width:100'+unescape('%25')+';background-color:#FFFFFF;cursor:move" onmousedown="'+e+';" onmousemove="'+e.replace(/"c"/g,'"m"')+';" onmouseup="mouseOK="false";'+e.replace(/"c"/g,'"u"')+';" onmouseout="mouseOK="false";'+e.replace(/"c"/g,'"o"')+';">'; d=d+'<div title="'+right('00000'+i,5)+'_'+j+'" style="margin-left:4px;line-height:120'+unescape('%25')+';font-size:15px;letter-spacing:1px;cursor:move"'; z=i; if (instr(i+',','s')>0){i=split(i,'s',1);}else if (instr(i+',','m')>0){i=split(split(i,'m',1)+'s','s',0);}else if (instr(i+',','l')>0){i=split(split(i,'l',1)+'m','m',0);}else if (instr(i+',','p')>0){i=split(i,'p',1);} d=d+'>'+right('00000'+i,5)+'_'+j+''+k+'</div>';i=z;d=d+'</td></tr></table>'; if (ubound(''+f1+',','p')>=2){ d=d+'</td><td width="20'+unescape('%25')+'" height="30px" valign="top" align="left" style="overflow:hidden">'; j=''+split(split(split(a,','+f4+'_',1)+',',',',0)+'__','_',1)+''; d=d+'<input id="P'+f1+'_'+f7+'l'+i+'_0E" name="PSEL'+f1+'_'+f7+'l'+i+'_0E" type="hidden" value="'+j+'"/>'; d=d+'<span id="P'+f1+'_'+f7+'l'+i+'_A3" style="margin-left:0px;margin-right:0px;margin-top:5px;margin-bottom:0px;z-index:0"></span>'; } d=d+'</td></tr>';if (2>ubound(f.value+',',','+f4+';')){if (2>ubound(f.value+',',','+f4+',')){f.value=''+f.value+','+f4+'';}}if (''+g+''!=''){document.getElementById(''+f1+''+f2+''+f7+'t'+i+'').style.backgroundColor='#FFFF00';}}}}} d=d+'</table></td></tr></table>'; document.getElementById(''+f1+'_'+f7+'l').innerHTML=''+d.replace(/</g,''+unescape('%3C')+'')+''; l='';for(x=1;(h-1)>=x;x++){ v1=''+split(split(f.value+',',',',x)+';',';',0)+'';b=''+document.getElementById(''+f1+'_'+f7+'l'+v1+'')+'';if (b.split('[object').length>1){l=''+l+','+v1+'';} }f.value=''+l+'';h=ubound(f.value+';',',');}}function smenum(f1,f2,f3,f4,f5,f6,f7,f8,f9,f10){}function smenux(f1,f2,f3,f4,f5,f6,f7,f8,f9,f10){}function sweb(f1,f2){document.getElementById(''+f1+'').action=''+f2+'';document.getElementById(''+f1+'').submit();}function formc(f1,f2,f3,f4,f5){a=document.getElementById(''+f1+'');if (instr(''+a+'','[object')>0){if (''+a.action+''!=''){var w0n=0;w1n=0;w2n=0;w3n=0;var w1='';var w2='';var w3='';var wr=''+a.action+'';w0n=len(wr);w1n=instr(''+lcase(''+wr+'')+'',''+lcase(''+f2+'')+'')-1;if (''+f2+''!=''){w2n=len(''+f2+'');w3n=w0n-w1n-w2n;}if (''+w3n+''!='0'&&''+w1n+''!='-1'){w3=right(wr,w3n);}if (''+w1n+''!='0'&&w0n>=w1n){w1=''+left(wr,w1n)+''};if (''+f5+''=='n'&&w1n==w0n){f3='';};if (''+f4+''=='a'){f4='action';}else{f4='value';}eval('document.getElementById("'+f1+'").'+f4+'="'+w1+''+f3+''+w3+'"');}}}function opt(f1,f2,f3,f4,f5,f6,f7){a=document.getElementById(''+f1+'');if (0>(ubound(f2+';',',')-2)&&''+ubound(f2+',',';')+''=='2'){ g=Math.ceil(split(f2+';',';',1));a.length=g;n=Math.ceil(split(f2+';',';',0));if (n==0){a.length=g+1;}d=0;b=d;for (xi=d;a.length>xi;xi=xi+1){h=xi;if (n!=0){h=xi+1;}a.options[xi]=new Option(''+h+'',h);if (''+f3+''==''+h+''){a.options[xi].style.backgroundColor='#FFFFFF';b=xi;}else{a.options[xi].style.backgroundColor='#FFFF00';}}}else{ if (''+f2+''!=''&&1>instr(''+f2+';',',')){if (instr(''+document.getElementById(''+f2+'')+'','[object')>0){f2=''+document.getElementById(''+f2+'').value+'';}}if (''+f5+''!=''&&1>instr(''+f5+';',',')){if (instr(''+document.getElementById(''+f5+'')+'','[object')>0){f5=''+document.getElementById(''+f5+'').value+'';}}if (''+f6+''!=''&&1>instr(''+f6+';',',')){if (instr(''+document.getElementById(''+f6+'')+'','[object')>0){f6=''+document.getElementById(''+f6+'').value+'';}}a=document.getElementById(''+f1+'');a.length=(ubound(f2,',')-2);b=0;c='';d='';for (xi=0;(ubound(f2,',')-1)>xi;xi++){;if (''+f2+''!=''&&1>instr(''+f2+',',';')){c=''+split(''+f2+'',',',xi+1)+'';}else{c=''+split(split(f2,',',xi+1),';',1)+'';}if (''+f5+''!=''){d=''+split(''+f5+'',',',xi+1)+'';}else{d=''+f2.split(',')[xi+1]+'';if (d.split(';').length>1){d=''+d.split(';')[0]+'';}else{d='';};if (''+f4+''!==''){d=''+eval('d.replace(/'+f4+'/g,"")')+'';}}if (''+f6+''!=''){g=''+split(''+f6+'',',',xi+1)+'';}else{g=''+f2.split(',')[xi+1]+'';if (g.split(';').length>1){g=''+g.split(';')[0]+'';}else{g=xi;}}h=''+d+'';if (''+h+''!=''){h='-'+h+'';}a.options[xi]=new Option(''+c+''+h+''+f7+'',g);if (''+f3+''==''+g+''||(''+f3+''==''+xi+''&&2>f2.split(','+f3+'').length)){a.options[xi].style.backgroundColor='#FFFFFF';b=xi;}else{a.options[xi].style.backgroundColor='#FFFF00';}}}a.selectedIndex=b;}function sumix(f1,f2,f3,f4,f5,f6,f7,f8,f9,f10){h=''+f1+'_'+f3+'_';if (instr(''+document.getElementById(''+h+'0n')+'','[object')>0){if (''+Math.ceil(document.getElementById(''+h+'0n').value)+''!='NaN'){g=document.getElementById(''+h+'0n').value;a='';c=0;for (xi=1;g>=xi;xi=xi+1){a=a + ','+document.getElementById(''+h+'0_'+xi+'').value+'';if (''+Math.ceil(document.getElementById(''+h+'3_'+xi+'').value)+''!='NaN'){c=c+Math.ceil(document.getElementById(''+h+'3_'+xi+'').value);}}document.getElementById(''+h+'0s').value=a;document.getElementById(''+h+'3s').value=c;document.getElementById(''+h+'0s').value=''+f3+';'+c+''+a+'';if (''+f2+''!=''){b=document.getElementById(''+f1+'_'+f3+'_i').value;b=Math.ceil(split(''+document.getElementById(''+f4+''+b+'').value+'_0','_',1));if (''+b+''!='NaN'){g=''+f1+''+f2+'1_'+f3+'_A';h=''+f1+''+f2+'2_'+f3+'_A';document.getElementById(''+g+'3').innerHTML=''+((Math.ceil(document.getElementById(''+g+'0').value)+Math.ceil(c))*b)+'';document.getElementById(''+h+'3').innerHTML=''+((Math.ceil(document.getElementById(''+h+'0').value)+Math.ceil(c))*b)+'';}}}}}function alf(f1,f2,f3,f4,f5,f6,f7,f8,f9,f10){a=document.getElementById(''+f1+''+f4+'');if (document.getElementById(''+f1+''+f2+'').value!=f3){if (''+f5+''!=''){filterst(f5,''+f1+''+f4+'','','','');}if (''+f6+''!=''){a.title=''+f6+'';}if (''+f9+''!=''){if (''+f9+''=='1'){a=document.getElementById(''+f1+'_il');b=document.getElementById(''+f1+''+f2+'');if (Math.ceil(iv1[10*(f10-1)+0])>Math.ceil(iv2[10*(f10-1)+0])){document.getElementById(''+f1+''+a.value+'_td').style.display='none';}a.value++;b.value++;if (Math.ceil(iv1[10*(f10-1)+0])>Math.ceil(iv2[10*(f10-1)+0])){document.getElementById(''+f1+''+b.value+'_td').style.display='';}}if (''+f9+''=='-1'){a=document.getElementById(''+f1+''+f2+'');b=document.getElementById(''+f1+'_ir');a.value=a.value-1;c=document.getElementById(''+f1+''+a.value+'_td');d=''+c.style.display+'';if (d!=''){c.style.display=''};document.getElementById(''+f1+''+b.value+'_td').style.display='none';b.value=b.value-1;}eval(''+iv1[10*(f10-1)+1]+'');eval(''+iv2[10*(f10-1)+1]+'');}}else{if (''+f7+''!=''){filterst(f7,''+f1+''+f4+'','','','');}if (''+f8+''!=''){a.title=''+f8+'';}}}function alfx(f1,f2,f3,f4,f5,f6,f7,f8,f9,f10){iv1[10*(f10-1)+0]=f3;iv1[10*(f10-1)+1]="alf('"+f1+"','_il',1,'_imgal','50','','',' ','','"+f10+"');";iv1[10*(f10-1)+2]="alf('"+f1+"','_il',1,'_imgal','','left','0','','','"+f10+"');";iv1[10*(f10-1)+3]="alf('"+f1+"','_il',1,'_imgal','100','','','',-1,'"+f10+"');";iv1[10*(f10-1)+4]="alf('"+f1+"','_il',1,'_imgal','50','','','','','"+f10+"');";iv2[10*(f10-1)+0]=f9;iv2[10*(f10-1)+1]="alf('"+f1+"','_ir',"+f3+",'_imgar','50','','',' ','','"+f10+"');";iv2[10*(f10-1)+2]="alf('"+f1+"','_ir',"+f3+",'_imgar','','right','0','','','"+f10+"');";iv2[10*(f10-1)+3]="alf('"+f1+"','_ir',"+f3+",'_imgar','100','','','',1,'"+f10+"');";iv2[10*(f10-1)+4]="alf('"+f1+"','_ir',"+f3+",'_imgar','50','','','','','"+f10+"');";iv2[10*(f10-1)+5]='if (){}';} function filedown(f1,f2,f3,f4,f5,f6,f7,f8,f9,f10){ Cal2s(f1,f2,f3,f4,f5,f6,f7,f8,f9,f10);}function checkid(f1,f2){a=document.getElementById(''+f1+'');b=document.getElementById(''+f1+''+f2+'');c=''+a+'';d=''+b+''; if (d.split('[object').length>1){ return ''+f1+''+f2+''; }else{ return ''+f1+''; }}function scrohs(f1,f2,f3,f4,f5,fn,fd,fh,f6,f7,f8){zi=document.getElementById(''+f1+'');if (''+fd+''=='1'||''+fd+''=='2'){s=''+document.getElementById(''+f1+'').style.marginTop+'px';}else{s=''+document.getElementById(''+f1+'').style.marginLeft+'px';}s=s.split('px')[0];l=f7;s=Math.ceil(f8);o=document.getElementById(''+f6+'');k=''+document.getElementById(''+f1+'k').value+'';if (''+k+''=='2'){if ((0>s&&(''+fd+''=='1'||''+fd+''=='3'))||(s!=-(Math.ceil(f4)*Math.ceil(fn))&&(''+fd+''=='2'||''+fd+''=='4'))){if (''+fd+''=='1'||''+fd+''=='3'){s=s+(Math.ceil(f4)*Math.ceil(fn)/20);if (s>0){s=0;}}else{s=s-(Math.ceil(f4)*Math.ceil(fn)/20);if (-(Math.ceil(f4)*Math.ceil(fn))>s){s=-(Math.ceil(f4)*Math.ceil(fn));}}if (''+fd+''=='1'||''+fd+''=='2'){zi.style.marginTop=''+s+'px';}else{zi.style.marginLeft=''+s+'px';}}if (''+l+''!='100'){l=Math.ceil(l)+5;li=l;document.getElementById(''+f1+'s').value=l;z=''+document.getElementById(''+f1+'l').value+'';if (''+fd+''=='1'||''+fd+''=='3'){ai=1;bi=fn;}else{ai=Math.ceil(f2)-Math.ceil(fn)+1;bi=Math.ceil(ai)+Math.ceil(fn);}for (j=ai;bi>=j;j++){zi=''+z.split(',')[j]+'';filterst(''+li+'',''+f1+''+zi+'','','','');}}}if (''+l+''!='100'||((0>s&&(''+fd+''=='1'||''+fd+''=='3'))||(s!=-(Math.ceil(f4)*Math.ceil(fn))&&(''+fd+''=='2'||''+fd+''=='4')))||''+k+''!='2'){setTimeout('scrohs('+c27+''+f1+''+c27+','+c27+''+f2+''+c27+','+c27+''+f3+''+c27+','+c27+''+f4+''+c27+','+c27+''+f5+''+c27+','+c27+''+fn+''+c27+','+c27+''+fd+''+c27+','+c27+''+fh+''+c27+','+c27+''+f6+''+c27+','+c27+''+l+''+c27+','+c27+''+s+''+c27+')',100);}else{if (''+fd+''=='2'||''+fd+''=='4'){li=document.getElementById(''+f1+'');si=''+document.getElementById(''+f1+'l').value+'';b=Math.ceil(f3.split(';')[1]);hi=0;h='';for (x=1;b>=x;x++){d='none';z1[3]='div';z1[4]='div';if (''+fd+''=='3'||''+fd+''=='4'){z1[3]='td';z1[4]='td';}zi=''+si.split(',')[x]+'';o=document.getElementById(''+f1+''+zi+'');o.style.display='';if ((''+fd+''=='2'&&x>(b-Math.ceil(fn)))||''+fd+''=='4'){h+=''+c3+''+z1[3]+' id="'+f1+''+zi+'" style="display:none;height:'+o.scrollHeight+'px" onmouseover="document.getElementById('+c27+''+f1+'k'+c27+').value=0;">'+o.innerHTML+''+c3+'/'+z1[3]+'>';if (''+fd+''=='2'){li.removeChild(o);}}if (b==x){z1[1]='';z1[2]='';if (''+fd+''=='3'||''+fd+''=='4'){z1[1]=''+c3+'table>'+c3+'tr>';z1[2]=''+c3+'/tr>'+c3+'/table>';}if (''+fd+''=='2'){li.innerHTML=''+li.innerHTML+''+h+'';}else{li.innerHTML=''+z1[1]+''+z1[6]+''+h+''+z1[5]+''+z1[2]+'';}for (i=1;(Math.ceil(f2)+Math.ceil(fn))>=i;i++){zi=''+si.split(',')[i]+'';document.getElementById(''+f1+''+zi+'').style.display='';}}if (''+fd+''=='2'){li.style.marginTop=''+hi+'px';}else{li.style.marginLeft=''+hi+'px';}}}fd=''+document.getElementById(''+f1+'w').value+'';setTimeout('scroh1('+c27+''+f1+''+c27+','+c27+''+f2+''+c27+','+c27+''+f3+''+c27+','+c27+''+f4+''+c27+','+c27+''+f5+''+c27+','+c27+''+fn+''+c27+','+c27+''+fd+''+c27+','+c27+''+fh+''+c27+')',f5);}}function scroh1(f1,f2,f3,f4,f5,fn,fd,fh){k=document.getElementById(''+f1+'k');s=document.getElementById(''+f1+'l');li=document.getElementById(''+f1+'');si=''+s.value+'';b=Math.ceil(f3.split(';')[1]);l='';ui;vi='';h='';hi=0;z1[5]='';z1[6]='';if (''+b+''!='NaN'){if (''+b+''!='0'){for (x=1;b>=x;x++){d='none';z1[3]='div';z1[4]='div';if (((Math.ceil(f2)+1)>x&&(''+fd+''=='1'||''+fd+''=='3'))||((Math.ceil(f2)+Math.ceil(fn)+1)>x&&(''+fd+''=='2'||''+fd+''=='4'))){d='';}if (''+fd+''=='3'||''+fd+''=='4'){z1[3]='td';z1[4]='td';}zi=''+si.split(',')[x]+'';document.getElementById(''+f1+''+zi+'').style.display=''+d+'';if (((b-Math.ceil(fn)+1)>x&&(''+fd+''=='1'||''+fd+''=='3'))||(x>Math.ceil(fn)&&(''+fd+''=='2'||''+fd+''=='4'))){l+=','+zi+'';if (''+fd+''=='3'||''+fd+''=='4'){o=document.getElementById(''+f1+''+zi+'');o.style.display='';z1[5]+=''+c3+''+z1[3]+' id="'+f1+''+zi+'" style="height:'+o.scrollHeight+'px" onmouseover="document.getElementById('+c27+''+f1+'k'+c27+').value=0;">'+o.innerHTML+''+c3+'/'+z1[3]+'>';}}else{vi+=','+zi+'';o=document.getElementById(''+f1+''+zi+'');o.style.display='';if (''+fd+''=='1'||''+fd+''=='2'){hi=hi+o.scrollHeight;}else{hi=hi+o.scrollWidth;}if (''+fd+''!='2'){h+=''+c3+''+z1[3]+' id="'+f1+''+zi+'" style="display:none;height:'+o.scrollHeight+'px" onmouseover="document.getElementById('+c27+''+f1+'k'+c27+').value=0;">'+o.innerHTML+''+c3+'/'+z1[3]+'>';}if (''+fd+''=='1'){li.removeChild(o);}}if (b==x){if (''+fd+''=='1'||''+fd+''=='3'){l=''+vi+''+l+'';}else{l=''+l+''+vi+'';}z1[1]='';z1[2]='';if (''+fd+''=='3'||''+fd+''=='4'){z1[1]=''+c3+'table>'+c3+'tr>';z1[2]=''+c3+'/tr>'+c3+'/table>';}if (''+fd+''=='1'||''+fd+''=='2'){if (''+fd+''=='1'){li.innerHTML=''+h+''+li.innerHTML+'';}else{li.innerHTML=''+h+''+li.innerHTML+'';}}else{li.innerHTML=''+z1[1]+''+z1[6]+''+h+''+z1[5]+''+z1[2]+'';}if (''+fd+''=='1'||''+fd+''=='3'){for (i=b-Math.ceil(fn)+1;b>=i;i++){zi=''+si.split(',')[i]+'';document.getElementById(''+f1+''+zi+'').style.display='';filterst('0',''+f1+''+zi+'','','','');}hi=-hi;}else{hi=0;for (i=1;(Math.ceil(f2)+Math.ceil(fn))>=i;i++){zi=''+si.split(',')[i]+'';document.getElementById(''+f1+''+zi+'').style.display='';if (i>Math.ceil(f2)){filterst('0',''+f1+''+zi+'','','','');}}}if (''+fd+''=='1'||''+fd+''=='2'){li.style.marginTop=''+hi+'px';}else{li.style.marginLeft=''+hi+'px';}s.value=''+l+'';l=0;s=hi;document.getElementById(''+f1+'s').value=l;k.value=2;setTimeout('scrohs('+c27+''+f1+''+c27+','+c27+''+f2+''+c27+','+c27+''+f3+''+c27+','+c27+''+f4+''+c27+','+c27+''+f5+''+c27+','+c27+''+fn+''+c27+','+c27+''+fd+''+c27+','+c27+''+fh+''+c27+','+c27+''+o.id+''+c27+','+c27+''+l+''+c27+','+c27+''+s+''+c27+')',300);}}}}}function ciw(f1){}function lcr(f1,f2,f3,f4,f5,f6,f7,f8,f9,f10){u=0;ciw(0);eval('z='+r[0]+'document.getElementById("'+f1+'")');eval('b='+r[0]+'document.getElementById("'+f2+'")');eval('k='+r[0]+'document.getElementById("'+f3+'")');c=''+z+'';d=''+b+'';g=''+k+'';if (c.split('[object').length>1){if (d.split('[object').length>1){if (g.split('[object').length>1){k.style.width=''+k.scrollWidth+'px';l=''+b.style.paddingLeft+'px';m=l.replace(/px/g,'');if (''+m+''==''){m=0;}l=''+b.style.paddingRight+'px';n=l.replace(/px/g,'');if (''+n+''==''){n=0;}m=Math.ceil(m);n=Math.ceil(n);g=z.scrollWidth-k.scrollWidth-m;if (''+lcase(f4+'a')+''=='righta'){u=(Math.ceil(g)-m-n);}else if (''+f4+''=='center'){a=Math.ceil((g-m-n)/2);if (0>a){a=0;};u=a;}if (''+f1+''=='body0'){c=''+document.getElementById('div00000').style.paddingLeft+'px';c=c.split('px')[0];d=''+document.getElementById('tab00').offsetLeft+'px';d=d.split('px')[0];if (d>c){if (currentX>c){d=d-c;c=c-d;b.style.paddingLeft='0px';}}}else{}b.style.marginLeft=''+u+'px';}}}}function TopStopMoveU(UQ){document.getElementById(''+UQ+'').scrollAmount='0';}function TopMoveU(UQ,tspeed){document.getElementById(''+UQ+'').scrollAmount=tspeed;}function TopStopMoveD(DQ){document.getElementById(''+DQ+'').scrollAmount='0';}function TopMoveD(DQ,tspeed){document.getElementById(''+DQ+'').scrollAmount=tspeed;}function StopMoveU(UQ){document.getElementById(''+UQ+'').scrollAmount='0';}function MoveU(UQ,tspeed){document.getElementById(''+UQ+'').scrollAmount=tspeed;}function LeftStopMoveU(UQ){document.getElementById(''+UQ+'').scrollAmount='0';}function LeftMoveU(LLQ,tspeed){document.getElementById(''+LLQ+'').scrollAmount=tspeed;}function ShowPic(Index){ if ((''+document.getElementById(''+split(Index+';',';',0)+'')+''=='null'&&instr(''+document.getElementById(''+split(Index+';',';',0)+'_0E')+'','[object')>0)||(instr(''+document.getElementById(''+split(Index+';',';',0)+'')+'','[object')>0&&instr(''+document.getElementById(''+split(Index+';',';',0)+'_0E')+'','[object')>0)){; if (''+document.getElementById(''+split(Index+';',';',0)+'')+''=='null'&&instr(''+document.getElementById(''+split(Index+';',';',0)+'_0E')+'','[object')>0){; Index=''+Index+'_0E'; } if (instr(''+document.getElementById(''+split(Index+';',';',0)+'')+'','[object')>0&&instr(''+document.getElementById(''+split(Index+';',';',0)+'_0E')+'','[object')>0){; if (''+document.getElementById(''+split(Index+';',';',0)+'').value+''==''){; Index=''+Index+'_0E'; } } } if (2>ubound(document.getElementById(''+split(Index+';',';',0)+'').value,',')&&2>ubound(Index +' ',',')&&(ubound(ucase(split(Index+';',';',0)),'IMG')>1||ubound(ucase(split(Index+';',';',0)),'PIC')>1||(ubound(ucase(split(Index+';',';',0)),'PAGE')>1&&ubound(ucase(split(Index+';',';',0)),'FHOMEPAGEC')<2&&ubound(ucase(Http_Referer),'SYSET=SETWEBIMGB01')>1))){ if (''+document.getElementById(''+split(Index+';',';',0)+'').value+''!='0'&&''+document.getElementById(''+split(Index+';',';',0)+'').value+''!=''&&''+document.getElementById(''+split(Index+';',';',0)+'').value+''!='00'&&(ubound(document.getElementById(''+split(Index+';',';',0)+'').value+' ','.')>1||ubound(split(Index+';;;',';',2)+' ','.')>1)){ if (''+ucase(split(Index+';',';',1))+''=='MSBGG'){ IMAGET=''+ClickSource+'/SysImg/BigGb/GB_'+document.getElementById(''+split(Index+';',';',0)+'').value+'.Gif'; }else if(''+ucase(split(Index+';',';',1))+''=='MSBIG'){ IMAGET=''+ClickSource+'/SysImg/BigGb/INPUT_'+document.getElementById(''+split(Index+';',';',0)+'').value+'.Gif'; }else{ IMAGET='IMAGE/'+document.getElementById(''+split(Index+';',';',0)+'').value; } window.open(IMAGET); }else{ if (ubound(ucase(Index)+' ','FILE')>1){ alert('您尚未指定檔案,無法預覽哦!'); }else{ alert('您尚未指定圖檔,無法預覽哦!'); } } }else{ if ((right('0'+split(document.getElementById(''+split(Index+';',';',0)+'').value+',' ,',',0),1)!='0'&&''+split(document.getElementById(''+split(Index+';',';',0)+'').value+',' ,',',0)+''!=''&&''+split(document.getElementById(''+split(Index+';',';',0)+'').value+',' ,',',0)+''!='0'&&''+split(document.getElementById(''+split(Index+';',';',0)+'').value+',' ,',',0)+''!='00')||len(split(document.getElementById(''+split(Index+';',';',0)+'').value+',' ,',',0))>2){ IndexOK=',FHOMEPAGEC,'; InwebOK=',FHOMEPAGE,'; if (ubound(IndexOK+' ',','+ucase(left(Index,10))+',')>1){ window.open(''+document.getElementById(''+Index+'').value+'&webcolor='+document.getElementById('PViewNO').value+''); }else if(ubound(InwebOK+' ',','+ucase(left(Index,9))+',')>0){ a=''+document.getElementById(''+Index+'').value+'';if (''==''){a=''+a+'?';a=''+a.split('?')[1]+'';} window.open(''+a+''); }else{ IMAGET='IMAGE/'+split(split(Index+';',';',1)+',',',',0)+''+document.getElementById(''+split(Index+';',';',0)+'').value+''; window.open(''+IMAGET+''); } }else{ if (ubound(ucase(Index)+' ','FILE')>1){ alert('您尚未指定檔案,無法預覽哦!'); }else{ alert('您尚未指定頁面,無法預覽哦!'); } } } } function SetBColor(ToSet,Color,f3,f4){ var Lefts =''+window.document.body.offsetWidth/2-130+'',FColor=Color,SetFont='1',bgcolor='FFFFFF',BgColorN='',strTitle,strFeatures ='dialogWidth:630px;dialogHeight:330px;dialogTop:150px;dialogLeft:'+Lefts+';center:yes;border:0;scrollbars:no;help:no;status:no'; if (''+f4+''!='1'){di='dialog0_A3';var strTitle = jQuery('#'+di+'');if (!strTitle){return false;}ai=document.getElementById(''+di+'');ai.style.display='';strTitle.html('');ai.style.position='absolute';ai.style.width='98%';ai.style.height='97%';v=ie4? document.body.scrollTop : ns6? window.pageYOffset : 0;ai.style.marginTop=''+v+'px';}else{strTitle=Color;a=document.getElementById(''+ToSet+'');b=document.getElementById('S'+ToSet+'');c=document.getElementById('S'+ToSet+'1');if (''+ToSet+''=='B09color'){b=document.getElementById('body0');}f=document.getElementById('SB12color');g=document.getElementById('SB13color');h=document.getElementById(''+right(ToSet,len(ToSet)-1)+''); if (''+strTitle+''=='NO'){strTitle='';if (''+f3+''!='undefined'){strTitle=''+f3+'';}if (''+window.parent.mid(ToSet,1,1)+''!='B'){ if (''+mid(ToSet,1,4)+''!='ST12'){a.value=BgColorN;if (instr(''+b+'','[object')>0){b.style.color=BgColorN;}if (instr(''+a+'','[object')>0){a.style.color=BgColorN;} }else{h.value=BgColorN;if (instr(''+c+'','[object')>0){c.style.borderStyle='none';c.style.borderWidth='0px';c.style.borderColor='';f.style.borderStyle='none';f.style.borderWidth='0px';f.style.borderColor='';g.style.borderStyle='none';g.style.borderWidth='0px';g.style.borderColor=''; }}}else{a.value=BgColorN;k=''+b+'';if (k.split('[object').length>1){b.style.backgroundColor=''+strTitle+'';b.bgColor=''+strTitle+'';}k=''+a+'';if (k.split('[object').length>1){a.style.backgroundColor=''+BgColorN+'';}} }else if (''+strTitle+''!='undefined'&&''+strTitle+''!='CLOSE'){ai=''+a+';';bi=''+b+';';vi=''+strTitle+'';if (''+vi+''!=''){vi='#'+vi+'';} if (''+mid(ToSet,1,1)+''=='T'||''+mid(ToSet,1,2)+''=='ST'){ if (''+mid(ToSet,1,4)+''!='ST12'){a.value =strTitle;if (bi.split('[object').length>1){b.style.color=vi;}if (ai.split('[object').length){a.style.color=vi;} }else{h.value=strTitle; if (instr(''+c+'','[object')>0){ c.style.borderStyle='solid';c.style.borderWidth='1px';c.style.borderColor='#'+strTitle+'';f.style.borderStyle='solid';f.style.borderWidth='1px'; f.style.borderColor='#'+strTitle+'';g.style.borderStyle='solid';g.style.borderWidth='1px';g.style.borderColor='#'+strTitle+''; } } }else{a.value =strTitle;k=''+b+'';if (k.split('[object').length>1){b.style.backgroundColor='#'+strTitle+'';}k=''+a+''; if (k.split('[object').length>1){a.style.backgroundColor='#'+strTitle+'';} } }}}function ulx(f1,f2,f3,f4,f5){var uxi,ux0,uxa='',uxb,uxc,uril='',uri1='',uri2,uri3,uri4,uri5;if (f1.split('=').length>1&&f1.split('?').length>1){f2=f2+',';f3=f3+''+c26+'';uxb=f1.split(''+c26+'').length-1;uril='';uri1=''+f1.split('?')[0]+'';uri2=''+f1.split('?')[1]+'';for (uxi=0;uxb>=uxi;uxi++){ux0=''+uri2.split(''+c26+'')[uxi]+'';uxa=''+ux0.split('=')[0]+'';uxc=''+ux0.split('=')[1]+'';if (f3.split(''+c26+''+uxa+'=').length>1){uxc=''+f3.split(''+c26+''+uxa+'=')[1]+''+c26+'';uxc=''+uxc.split(''+c26+'')[0]+'';}if (2>f2.split(','+uxa.toLowerCase()+',').length){if (uril.split('=').length>1){uril+=''+c26+'';}uril+=''+uxa+'='+uxc+'';}}}uril=''+uri1+'?'+uril+'';f3=''+f3+''+f4+'';if (f3.split('=').length>1){uxb=f3.split('=').length-1;for (uxi=1;uxb>=uxi;uxi++){ux0=''+f3.split(''+c26+'')[uxi]+'';uxa=''+ux0.split('=')[0]+'';uxa=''+uxa.toLowerCase()+'';uxc=''+ux0.split('=')[1]+'';if (uril.split(''+c26+''+uxa+'=').length>1||uril.split('?'+uxa+'=').length>1){}else{if (uril.split('=').length>1){uril+=''+c26+'';}uril+=''+uxa+'='+uxc+'';}}}return uril;}function jpa(f1,f2,f3,f4,f5){if (''+f1+''==''){l=''+location.href+'';}else{z3[1]=document.getElementById(''+f2+'');l=''+z3[1].action+'';}if (''+l+''!=''){b='jtidt,jtid,jtidu,page1,page2,jpa';if (''+f3+''!=''){b=''+f3+'';}l=''+ulx(''+l+'',','+b+'','','','')+'';}a=','+f2+',jpas,sfor00';d=',none,none,';v=',,,';for (x=1;3>=x;x++){c=''+a.split(',')[x]+''+v.split(',')[x]+'';if (x==3){c=document.getElementById(''+c+'');}else{c=document.getElementById(''+c+'');}b=''+c+';';if (b.split('[object').length>1){c.style.display=''+d.split(',')[x]+'';}}l+=''+f4+'';if (''+f5+''==''){location.href=''+l+'';}else{z3[1].action=''+l+'';z3[1].submit();}}function cpage(f1,f2,f3,f4,f5){l=''+f1+'';li='?';if (l.split('=').length>1){l=''+ulx(''+l+'',''+f2+'','','','')+'';li='';if (l.split('=').length>2){li=''+c26+'';}}location.href=''+l+''+li+''+f3+'='+f4+'';}function ipcheck(f1){ki=1;if (''+f1+''!=''){if (f1.split('.').length>1){li=''+f1+'';bi=li.split('\n').length-1;if (Math.ceil(bi)>0){ oi=''+$('#asdip').text()+':';oi=''+oi.split(':')[1]+'';di=''; for (xi=0;3>=xi;xi++){ ci=''+oi.split('.')[xi]+''; if (100>Math.ceil(ci)){if (10>Math.ceil(ci)){ci='00'+ci+'';}else{ci='0'+ci+'';}} if (xi>0){di+='.';}di+=''+ci+''; } for (xi=1;bi>=xi;xi++){ ii=''+li.split('\n')[xi]+'';ai='';bi='';oi=''+ii.split('-')[0]+'....'; for (ji=0;3>=ji;ji++){ ci=''+oi.split('.')[ji]+''; if (''+ci+''==''){ci=0;} if (100>Math.ceil(ci)){if (10>Math.ceil(ci)){ci='00'+ci+'';}else{ci='0'+ci+'';}} if (ji>0){ai+='.';}ai+=''+ci+''; } if (ii.split('-').length>1){ oi=''+ii.split('-')[1]+'....'; for (ji=0;3>=ji;ji++){ ci=''+oi.split('.')[ji]+''; if (''+ci+''==''){ci=255;} if (100>Math.ceil(ci)){if (10>Math.ceil(ci)){ci='00'+ci+'';}else{ci='0'+ci+'';}} if (ji>0){bi+='.';}bi+=''+ci+''; } if (''+bi+''>=''+di+''&&''+di+''>=''+ai+''){ki=0;break;} }else{ if (''+ai+''==''+di+''){ki=0;break;} } }}}}return ki;}function goxy(f1,f2,f3,f4,f5){a=document.getElementById(''+f2+'');b=''+a+'';if (b.split('[object').length>1){$('html,body').animate({scrollTop:$('#'+f2+'').offset().top},900);return false;}}