var url=window.location.href; if (url=="http://0730.com.cn/html/main/index.html"||url=="http://www.0730.com.cn/html/main/index.html") { window.location.href="http://www.isp0730.com"; } function menuFix() { var sfEls = document.getElementById("nav").getElementsByTagName("li"); for (var i=0; i0? " ": "") + "sfhover"; } sfEls[i].onMouseDown=function() { this.className+=(this.className.length>0? " ": "") + "sfhover"; } sfEls[i].onMouseUp=function() { this.className+=(this.className.length>0? " ": "") + "sfhover"; } sfEls[i].onmouseout=function() { this.className=this.className.replace(new RegExp("( ?|^)sfhover\\b"), ""); } } } window.onload=menuFix; //搜索 function search() { var txtSearch = document.getElementById("txtSearch").value; if(txtSearch== "") { alert("请输入搜索的关键字!"); } else { window.location.href="/online/Search.aspx?keywords="+txtSearch; } }
var speed=50 marquePic2.innerHTML=marquePic1.innerHTML function Marquee(){ if(demo.scrollLeft>=marquePic1.scrollWidth){ demo.scrollLeft=0 }else{ demo.scrollLeft++ } } var MyMar=setInterval(Marquee,speed) demo.onmouseover=function() {clearInterval(MyMar)} demo.onmouseout=function() {MyMar=setInterval(Marquee,speed)}

湘公网安备 43060202000197号