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}('{1 7="x",j="T",m="//13.k.y.z",A="//14.k.y.z";5 k(){B(5(){1 a=3.C("D");7=a.15;6(7=="16"){j="L"}n 6(7=="x"){j="T"}n 6(7=="17"){j="M"}n 6(7=="18"){j="S"}1 b=3.o("19");b.1a="1b";b.7="E/F";b.1c=m+"/k.F";3.G("H")[0].9(b);1 c=3.o("1d");c.7="E/1e";c.1f("1g","1h-8");c.s=4.p.I+m+"/1i/1j"+"?J="+t(4.p.K)+(4.N==O?"":"&1k="+t(N))+"&1l="+j+"&1m=P";3.G("H")[0].9(c)},1n)}5 P(a){1 b=3.C("D");1 c=3.o("Q");c.u="1o";c.9(3.R(""));1 d=3.o("Q");d.u="1p";d.9(3.R(""));1 f=3.o("1q");f.u="1r";b.9(f);b.9(c);b.9(d);1 g=q;1 h=["",""];1 i=0;1s(5(){i++;i%=h.1t;6(g==q){c.U[0].V=h[i]}},1u);6(a.1v=="1w"){f.s=m+"/1x.W";h=["\\1y\\1z\\1A",a.X.Y(0,8)];d.1B=a.1C;d.l.r="Z";B(5(){d.l.r="10"},1D);b.1E=5(){4.1F(4.p.I+A+"/1G/1H.1I?J="+t(4.p.K)+"&1J="+a.1K,"","1L=1M, 1N=v, 1O=v, p=v")}}n{f.s=m+"/1P.W";d.l.1Q="1R";h=["\\1S\\1T",a.X.Y(0,8)]}b.1U=5(){g=w;c.U[0].V=h[0];c.l.1V="1W";d.l.r="Z"};b.1X=5(){g=q;d.l.r="10"};b.1Y=5(e){6(1Z e=="O"){e=4.20}6(e.21==2){22("23 24 25");11 w}11 q}}6(4.12){4.12("26",k)}n{4.27("28",k,w)}}',62,133,'|var||document|window|function|if|type||appendChild||||||||||logotype|twca|style|ssldomain|else|createElement|location|true|visibility|src|encodeURI|id|no|false|MINI|com|tw|sslcadomain|setTimeout|getElementById|twcaseal|text|css|getElementsByTagName|head|protocol|DNS|hostname|||twca_cn|undefined|twcasealcb|div|createTextNode|||childNodes|nodeValue|gif|Time|substr|visible|hidden|return|attachEvent|ssllogo|ssl2|className|BIG|MEDIUM|SMALL|link|rel|stylesheet|href|script|javascript|setAttribute|charset|utf|servlet|QueryServerCertStatus5|CN|LogoType|jsoncallback|100|twcad1|twcad2|img|twcad3|setInterval|length|3000|Status|600|Check_OK|u5df2|u8a8d|u8b49|innerHTML|DetailedInfo|1500|onclick|open|NCWebSSL|certinfo|htm|SerialNumber|Serial_Number|scrollbars|yes|toolbar|menubar|Check_NG|display|none|u8B66|u793A|onmouseover|fontSize|10px|onmouseout|onmousedown|typeof|event|button|alert|TWCA|SSL|LOGO|onload|addEventListener|load'.split('|'),0,{}))