function SetFocus(TargetFormName){var target=0;if(TargetFormName!=""){for(i=0;i<document.forms.length;i++){if(document.forms[i].name==TargetFormName){target=i;break;}}}
var TargetForm=document.forms[target];for(i=0;i<TargetForm.length;i++){if((TargetForm.elements[i].type!="image")&&(TargetForm.elements[i].type!="hidden")&&(TargetForm.elements[i].type!="reset")&&(TargetForm.elements[i].type!="submit")){TargetForm.elements[i].focus();if((TargetForm.elements[i].type=="text")||(TargetForm.elements[i].type=="password")){TargetForm.elements[i].select();}
break;}}}
function RemoveFormatString(TargetElement,FormatString){if(TargetElement.value==FormatString){TargetElement.value="";}
TargetElement.select();}
function CheckDateRange(from,to){if(Date.parse(from.value)<=Date.parse(to.value)){return true;}else{return false;}}
function IsValidDate(DateToCheck,FormatString){var strDateToCheck;var strDateToCheckArray;var strFormatArray;var strFormatString;var strDay;var strMonth;var strYear;var intday;var intMonth;var intYear;var intDateSeparatorIdx=-1;var intFormatSeparatorIdx=-1;var strSeparatorArray=new Array("-"," ","/",".");var strMonthArray=new Array("jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec");var intDaysArray=new Array(31,28,31,30,31,30,31,31,30,31,30,31);strDateToCheck=DateToCheck.toLowerCase();strFormatString=FormatString.toLowerCase();if(strDateToCheck.length!=strFormatString.length){return false;}
for(i=0;i<strSeparatorArray.length;i++){if(strFormatString.indexOf(strSeparatorArray[i])!=-1){intFormatSeparatorIdx=i;break;}}
for(i=0;i<strSeparatorArray.length;i++){if(strDateToCheck.indexOf(strSeparatorArray[i])!=-1){intDateSeparatorIdx=i;break;}}
if(intDateSeparatorIdx!=intFormatSeparatorIdx){return false;}
if(intDateSeparatorIdx!=-1){strFormatArray=strFormatString.split(strSeparatorArray[intFormatSeparatorIdx]);if(strFormatArray.length!=3){return false;}
strDateToCheckArray=strDateToCheck.split(strSeparatorArray[intDateSeparatorIdx]);if(strDateToCheckArray.length!=3){return false;}
for(i=0;i<strFormatArray.length;i++){if(strFormatArray[i]=='mm'||strFormatArray[i]=='mmm'){strMonth=strDateToCheckArray[i];}
if(strFormatArray[i]=='dd'){strDay=strDateToCheckArray[i];}
if(strFormatArray[i]=='yyyy'){strYear=strDateToCheckArray[i];}}}else{if(FormatString.length>7){if(strFormatString.indexOf('mmm')==-1){strMonth=strDateToCheck.substring(strFormatString.indexOf('mm'),2);}else{strMonth=strDateToCheck.substring(strFormatString.indexOf('mmm'),3);}
strDay=strDateToCheck.substring(strFormatString.indexOf('dd'),2);strYear=strDateToCheck.substring(strFormatString.indexOf('yyyy'),2);}else{return false;}}
if(strYear.length!=4){return false;}
intday=parseInt(strDay,10);if(isNaN(intday)){return false;}
if(intday<1){return false;}
intMonth=parseInt(strMonth,10);if(isNaN(intMonth)){for(i=0;i<strMonthArray.length;i++){if(strMonth==strMonthArray[i]){intMonth=i+1;break;}}
if(isNaN(intMonth)){return false;}}
if(intMonth>12||intMonth<1){return false;}
intYear=parseInt(strYear,10);if(isNaN(intYear)){return false;}
if(IsLeapYear(intYear)==true){intDaysArray[1]=29;}
if(intday>intDaysArray[intMonth-1]){return false;}
return true;}
function IsLeapYear(intYear){if(intYear%100==0){if(intYear%400==0){return true;}}else{if((intYear%4)==0){return true;}}
return false;}
var submitter=null;function submitFunction(){submitter=1;};sfHover=function(){var sfEls=document.getElementById("nav").getElementsByTagName("LI");for(var i=0;i<sfEls.length;i++){sfEls[i].onmouseover=function(){this.className+=" sfhover";}
sfEls[i].onmouseout=function(){this.className=this.className.replace(new RegExp(" sfhover\\b"),"");}}}
if(window.attachEvent)window.attachEvent("onload",sfHover);;var appVer=navigator.appVersion.toLowerCase();var iePos=appVer.indexOf('msie');if(iePos!=-1){var scrollerheight=245;}
else{var scrollerheight=490;}
var html,total_area=0,wait_flag_d=false,wait_flag_u=true;var bMouseOver=1;var scrollspeed=5;var waitingtime=4000;var scroll_content=new Array();var startPanel=0,n_panel=0,i=0;var advstemp=0;var active_u=false,active_d=false;var firsttime=true;function startscroll()
{i=0;for(i in scroll_content)n_panel++;n_panel=n_panel-1;i=0;for(i in scroll_content)insert_area(total_area,total_area++);window.setTimeout("scrolling_up()",waitingtime);}
function scrolling_up(){if(wait_flag_d)return;if(bMouseOver&&wait_flag_u)
{for(i=0;i<total_area;i++){tmp=document.getElementById('scroll_area'+i).style;tmp.top=parseInt(tmp.top)-scrollspeed;if(parseInt(tmp.top)<=-scrollerheight){tmp.top=scrollerheight*(total_area-1);}}
advstemp+=scrollspeed;if(advstemp>=scrollerheight){wait_flag_u=false;active_u=false;advstemp=0;setArrange();if(firsttime)window.setTimeout("wait_flag_u=true;scrolling_up();",waitingtime);return;}}
window.setTimeout("scrolling_up()",1);}
function scrolling_down(){if(wait_flag_u)return;if(bMouseOver&&wait_flag_d)
{for(i=0;i<total_area;i++){tmp=document.getElementById('scroll_area'+i).style;tmp.top=parseInt(tmp.top)+scrollspeed;if(parseInt(tmp.top)>=scrollerheight*(total_area-1)){tmp.top=-scrollerheight;}}
advstemp-=scrollspeed;if(advstemp<=-scrollerheight){wait_flag_d=false;active_d=false;advstemp=0;setArrange();return;}}
window.setTimeout("scrolling_down()",1);}
function insert_area(idx,n){html='';html='<div style="left: 0px; width: 100%; position: absolute; top:'+(scrollerheight*n)+'px" id="scroll_area'+n+'">\n';html+=scroll_content[idx];html+='</div>\n';document.write(html);}
function setBit(a,b,c,d)
{if(firsttime){firsttime=false;return;}
if(c&&!active_u)
{wait_flag_u=a;wait_flag_d=b;active_u=true;active_d=d;scrolling_up();return;}
if(d&&!active_d)
{wait_flag_u=a;wait_flag_d=b;active_u=c;active_d=true;scrolling_down();return;}}
function setArrange()
{for(i=0;i<total_area;i++)
{tmp=document.getElementById('scroll_area'+i).style;tmp.top=Math.round(parseFloat(tmp.top)/scrollerheight)*scrollerheight;}};eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('3 7="11",k="T",n="//25.j.I.V",W="//1e.j.I.V";6 j(){x(6(){3 a=4.J("K");7=a.1h;5(7=="1y"){k="L"}p 5(7=="11"){k="T"}p 5(7=="14"){k="M"}p 5(7=="16"){k="S"}3 b=4.o("1i");b.1m="1t";b.7="D/F";b.1z=n+"/j.F";4.G("H")[0].9(b);3 c=4.o("17");c.7="D/18";c.19("1c","1d-8");c.t=1.m.10+n+"/1o/1s"+"?13="+w(1.m.y)+(1.z==A?"":"&1K="+w(z))+"&1S="+k+"&1X=B";4.G("H")[0].9(c)},26)}6 B(a){3 b=4.J("K");3 c=4.o("C");c.s="15";c.9(4.E(""));3 d=4.o("C");d.s="29";d.9(4.E(""));3 f=4.o("1a");f.s="1b";b.9(f);b.9(c);b.9(d);3 g=q;3 h=["",""];3 i=0;1f(6(){i++;i%=h.1g;5(g==q){c.N[0].O=h[i]}},1j);5(a.1k=="1l"&&a.P){f.t=n+"/1n.Q";h=["\\1p\\1q\\1r",a.R.U(0,8)];d.1u=a.1v;5(1.1w!=q){d.l.r="X";x(6(){d.l.r="Y"},1A)}b.1B=6(){1.1C(1.m.10+W+"/1D/1E.1F?13="+w(1.m.y)+"&1G="+a.P,"","1H=1I, 1J=u, 1L=u, m=u")}}p{f.t=n+"/1M.Q";d.l.1N="1O";h=["\\1P\\1Q",a.R.U(0,8)]}b.1R=6(){g=v;c.N[0].O=h[0];c.l.1T="1U";d.l.r="X"};b.1V=6(){g=q;d.l.r="Y"};b.1W=6(e){5(1Y e=="A"){e=1.1Z}5(e.20==2){21("22 23 24");12 v}12 q}}5(1.Z){1.Z("27",j)}p{1.28("1x",j,v)}',62,134,'|window||var|document|if|function|type||appendChild||||||||||twca|logotype|style|location|ssldomain|createElement|else|true|visibility|id|src|no|false|encodeURI|setTimeout|hostname|twca_cn|undefined|twcasealcb|div|text|createTextNode|css|getElementsByTagName|head|com|getElementById|twcaseal|||childNodes|nodeValue|Serial_Number|gif|Time|||substr|tw|sslcadomain|visible|hidden|attachEvent|protocol|MINI|return|DNS|MEDIUM|twcad1|SMALL|script|javascript|setAttribute|img|twcad3|charset|utf|ssl2|setInterval|length|className|link|3000|Status|600|rel|Check_OK|servlet|u5df2|u8a8d|u8b49|QueryServerCertStatus5|stylesheet|innerHTML|DetailedInfo|twca_d2hide|load|BIG|href|1500|onclick|open|NCWebSSL|certinfo|htm|SerialNumber|scrollbars|yes|toolbar|CN|menubar|Check_NG|display|none|u8B66|u793A|onmouseover|LogoType|fontSize|10px|onmouseout|onmousedown|jsoncallback|typeof|event|button|alert|TWCA|SSL|LOGO|ssllogo|100|onload|addEventListener|twcad2'.split('|'),0,{}))
