function mover(a){if(def!=null)document.getElementById("s_"+def).style.display="none";document.getElementById("s_"+a).style.display="block";if(def!=a){document.getElementById("m_"+a).className="on";document.getElementById("m_"+def).className="m_li"}}function mout(a){if(def!=a){document.getElementById("m_"+a).className="m_li";document.getElementById("m_"+def).className="on"}document.getElementById("s_"+a).style.display="none";if(def!=null)document.getElementById("s_"+def).style.display="block"}
for(var mcontainm=document.getElementById("menu").getElementsByTagName("li"),mcontains=document.getElementById("ssmenu").getElementsByTagName("li"),mi=0;mi<=mcontainm.length-1;mi++){mcontainm[mi].onmouseover=function(){mover(this.id.replace("m_",""))};mcontains[mi].onmouseover=function(){mover(this.id.replace("s_",""))};mcontainm[mi].onmouseout=function(){mout(this.id.replace("m_",""))};mcontains[mi].onmouseout=function(){mout(this.id.replace("s_",""))}}
if(def!=null){document.getElementById("m_"+def).className="on";document.getElementById("s_"+def).style.display="block"}function maomao(a){switch(a){case 1:document.getElementById("s_63").className="nav_on";document.getElementById("s_64").className="";break;case 2:document.getElementById("s_63").className="";document.getElementById("s_64").className="nav_on";break;default:break}}String.prototype.Trim=function(){return this.replace(/^\s*|\s*$/g,"")};
String.prototype.LTrim=function(){return this.replace(/(^\s*)/g,"")};String.prototype.RTrim=function(){return this.replace(/(\s*$)/g,"")};onKeyPressNum=function(a){return $.browser.msie?event.keyCode>47&&event.keyCode<58||event.keyCode>95&&event.keyCode<106||event.keyCode==46||event.keyCode==8||event.keyCode==37||event.keyCode==39?true:false:a.which>47&&a.which<58||(a.which>95&&a.which<106)(a.which==46)||a.which==8||a.which==0||a.which==2?true:false};
function DBC2SBC(a){var b,c="";for(b=0;b<a.length;b++){code=a.charCodeAt(b);c+=code>=65281&&code<65373?String.fromCharCode(a.charCodeAt(b)-65248):a.charAt(b)}return c};
