function GetToDay() { var today = new Date(); var seconds = today.getSeconds(); function rand(){return(seconds%2);} function linkto(){location.href = (rand()?'http://www.sohu.com':'http://www.sohu.com');} var enabled = 0; today = new Date();var day; var date;if(today.getDay()==0) day = "周日"; if(today.getDay()==1) day = "周一"; if(today.getDay()==2) day = "周二"; if(today.getDay()==3) day = "周三"; if(today.getDay()==4) day = "周四"; if(today.getDay()==5) day = "周五"; if(today.getDay()==6) day = "周六"; if (today.getYear() < 1900) { date = (today.getYear()+1900) + "年" + (today.getMonth() + 1 ) + "月" + today.getDate() + "日 " + " " + day ;} else { date = (today.getYear()) + "年" + (today.getMonth() + 1 ) + "月" + today.getDate() + "日 " + " " + day; } document.write(date+""); } function addfav() { window.external.addFavorite('http://www.Websmarket.com.cn/','杭州大立科技有限公司'); } function fp() { this.hp.style.behavior='url(#default#homepage)';this.hp.setHomePage('http://www.Websmarket.com.cn/'); } function urlsubmit2(curl,tname,rtname,windowstate,windowname)//交由程序1处理 { //'curl.replace(curl,"#","&") //window.alert(windowstate); windowstate = windowstate.replace("_",","); windowstate = windowstate.replace("_",","); windowstate = windowstate.replace("all","*"); //window.alert(windowstate); document.myForm.target=tname; top.document.frames[windowname].rows=windowstate; document.myForm.action = curl; SetCode(); document.myForm.submit(); //window.alert(curl); //target=ek_maind } function urlsubmit(curl)//交由程序1处理 { document.myForm.action = curl; SetCode(); document.myForm.submit(); } function urlsubmit1(curl,url)//交由程序1处理 { //'curl.replace(curl,"#","&") //window.alert(curl+url); document.myForm.action = curl+url; document.myForm.submit(); //window.alert(curl); } function urlsubmit3(curl,url)//交由程序1处理 { //'curl.replace(curl,"#","&") //window.alert(curl+url); document.myForm.action = curl+"="+url; document.myForm.submit(); //window.alert(curl); } //跳转菜单 function MM_jumpMenu(targ,selObj,restore) { //v3.0 //eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'"); //if (restore) selObj.selectedIndex=0; //var ctemp; //ctemp = selObj.options[selObj.selectedIndex].value; //if ctemp != 'null' //{ window.location=selObj.options[selObj.selectedIndex].value; // } } function jumpurl(curl)//交由程序1处理 { window.location=curl; } function searchp(csearch) { if (csearch !="null") //window.alert('Sys_main_News.asp?ope=reporefilter&opeobject='+csearch); _searchfilter.location='Sys_main_News.asp?ope=reporefilter&opeobject='+csearch; //window.location='Sys_main_News.asp?ope=reporefilter&opeobject='+csearch; } function openwin(url,Width,Height,WindowObj) { //打开普通窗口 window.open(url,null, "height="+Height+",width="+Width+",status=no,toolbar=no,menubar=no,location=no"); } function OpenWindow(Url,Width,Height,WindowObj) { //打开模式表单 var ReturnStr=WindowObj.showModalDialog(Url,WindowObj,'dialogWidth:'+Width+'pt;dialogHeight:'+Height+'pt;status:no;help:no;scroll:no;'); //window.alert(ReturnStr) return ReturnStr; } function OpenWindowobj(Url,Width,Height,WindowObj,obj) { //有数据返回到指定处 var ReturnStr=WindowObj.showModalDialog(Url,WindowObj,'dialogWidth:'+Width+'pt;dialogHeight:'+Height+'pt;status:no;help:no;scroll:yes;'); if (ReturnStr != "00000000") obj.value=ReturnStr; } function openprint (url) { //window.alert(url); window.open(url,null, "fullscreen=1,height=600,width=600,status=no,toolbar=no,menubar=no,location=no,title=打印,scrollbars=yes"); //window.open(url); //document.ek_main.location=url } function CA() { for (var i=0;i