function gettime(){ var mydate = new Date(); var myday=mydate.getDay(); switch(myday){ case 0: myday="星期日"; break; case 1: myday="星期一"; break; case 2: myday="星期二"; break; case 3 :myday="星期三"; break; case 4: myday="星期四"; break; case 5: myday="星期五"; break; default: myday="星期六"; } var myyears=mydate.getFullYear(); var mymonths=mydate.getMonth()<9?"0"+(mydate.getMonth()+1):mydate.getMonth()+1; var mydates=mydate.getDate()<10?"0"+mydate.getDate():mydate.getDate(); var time = myyears+"年"+mymonths+"月"+mydates+"日"+" "+myday; document.getElementById("top_Time_Container").innerHTML="今天是:"+time; } function cleartime() { clearTimeout(); } setTimeout("gettime()",1) setInterval("gettime()",1000); window.onload=function(){ if(document.getElementById("Index_Introduction_Content")) { if(document.getElementById("Index_Introduction_Content").offsetHeight<=703) { document.getElementById("Index_Introduction_Content").style.height=703; } } }
友情链接:
辽阳中医院版权所有 2009 辽ICP备10013157号-1
地址:辽阳中华大街152号 http://www.lyszyyy.com/