function search(a){var b=$("sctext").value;if(b.replace(/(\s+)$/g,"")!=""&&b.replace(/^\s+/g,"")!=""){if($("searchbutton").getAttribute("CreateHTML")==0){location.href="?.hl="+a+"&sctext="+encodeURIComponent(b)}else{location.href="sctext.htm?.hl="+a+"&sctext="+encodeURIComponent(b)}}}function ovTbr(d,c,b){var e=$(c+"_bx");if(e){d.onmouseout=e.onmouseout=function(a){e.style.display="none"};e.style.display="";if(d.children.length==1){if(!is_ie){d.children[0].setAttribute("onclick","location.href='"+d.getAttribute("href")+"'");d.setAttribute("href","javascript:void(0)")}var f=getObjPosition(d);if(b==1){e.style.left=f.x+"px";e.style.top=(f.y+d.offsetHeight-2)+"px"}else{if(b==2){e.style.left=(f.x+d.offsetWidth)+"px";e.style.top=f.y+"px"}}e.style.position="absolute";e.style.zIndex=9999;d.appendChild(e)}else{var f=getObjPosition(d);if(b==1){e.style.left=f.x+"px";e.style.top=(f.y+d.offsetHeight-2)+"px"}else{if(b==2){e.style.left=(f.x+d.offsetWidth)+"px";e.style.top=f.y+"px"}}}}}function DataCount(d){try{var a=_createHttpRequestg();var c=JsWebURL+"/web/Bedata.asmx/DataCount?__id="+d;a.open("GET",c,false);a.onreadystatechange=null;a.send(null)}catch(b){}}function moveanchor(){var a=(is_ie)?document.documentElement.scrollTop:self.pageYOffset;if(a>150){$("anchorbox").style.display=""}else{$("anchorbox").style.display="none"}}function StartAnchor(){setInterval("moveanchor()",1)}function aiby(c){var b=JsWebURL+"/web/aby/accessibility.aspx?id="+c;xmlHttp.open("POST",b,true);xmlHttp.onreadystatechange=a;xmlHttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");xmlHttp.send(null);function a(){if(xmlHttp.readyState==4){if(xmlHttp.status==200){$("abSound").innerHTML=xmlHttp.responseText;$("abSound").style.left="-2000px";$("abSound").style.position="absolute"}}}}function callmailvs(){showMsg('<BR>請輸入您的Email<input type="text" name="textfield" size="25" maxlength="100" /><input type="button" name="Submit" value="送出" />')}function showMsg(a){var b="<table id='fsBox' style='height:100px;width:380px;' border='0' CELLSPACING='0' CELLPADDING='0'>";b+="<tr><td class='fsHead' style='height:24px;'>將「 驗證碼 」轉寄給自己</td><td class='warclose' >";b+="<span onclick=$('aPswindow').style.display='none'; onkeypress=$('aPswindow').style.display='none'; ></span>";b+="</td></tr><tr><td class='fsbody' colspan=2  valign='top' ><div class='fsbodyDIV' style='height:100px;'  >"+a+"</div></td></tr>";b+="</table>";aPswindow(b)};
