//ocument.write( myDate.getHours())
var myDate = new Date();
//     myDate.getYear();       //获取当前年份(2位)//火龙果de
//     myDate.getFullYear();   //获取完整的年份(4位,1970-????)
//     myDate.getMonth();       //获取当前月份(0-11,0代表1月)
//     myDate.getDate();       //获取当前日(1-31)
//     myDate.getDay();         //获取当前星期X(0-6,0代表星期天)
//     myDate.getTime();       //获取当前时间(从1970.1.1开始的毫秒数)
     myDate.getHours();       //获取当前小时数(0-23)
     myDate.getMinutes();     //获取当前分钟数(0-59)
     myDate.getSeconds();     //获取当前秒数(0-59)
     myDate.getMilliseconds();   //获取当前毫秒数(0-999)
     myDate.toLocaleDateString();     //获取当前日期
     var mytime=myDate.toLocaleTimeString();     //获取当前时间
     myDate.toLocaleString( );       //获取日期与时间

if ((myDate.getHours() < 9) || (myDate.getHours() >20))//定义时间段
{
//alert(myDate.getHours())
document.writeln("<script type=\"text\/javascript\" src=\"http:\/\/sfhelp.baidu.com\/msg\/js\/577\/488577.js\" charset=\"gb2312\"><\/script>")
document.writeln("<script language=\"JavaScript\" type=\"text\/javascript\">");
document.writeln("lastScrollY=0;");
document.writeln("function heartBeat(){ ");
document.writeln("var diffY;");
document.writeln("if (document.documentElement && document.documentElement.scrollTop)");
document.writeln("	diffY = document.documentElement.scrollTop;");
document.writeln("else if (document.body)");
document.writeln("	diffY = document.body.scrollTop");
document.writeln("else");
document.writeln("    {\/*Netscape stuff*\/}");
document.writeln("	");
document.writeln("\/\/alert(diffY);");
document.writeln("percent=.1*(diffY-lastScrollY); ");
document.writeln("if(percent>0)percent=Math.ceil(percent); ");
document.writeln("else percent=Math.floor(percent); ");
document.writeln("document.getElementById(\"lovexin12\").style.top=parseInt(document.getElementById(\"lovexin12\").style.top)+percent+\"px\";");
document.writeln("lastScrollY=lastScrollY+percent; ");
document.writeln("}");
document.writeln("");
document.writeln("suspendcode12=\"\"");
document.writeln("");
document.writeln("document.write(suspendcode12); ");
document.writeln("window.setInterval(\"heartBeat()\",1);");
document.writeln("<\/script>");
document.writeln("");
document.writeln("<div id=\"lovexin12\" style=\"left: 10px; position: absolute; top: 150px;\">");
document.writeln("<a href=\"http:\/\/sighttp.qq.com\/cgi-bin\/check?sigkey=1193f0c9fa2eb0ff69c8d476c0893641bf7377092d336dc7e82717ec865fe152\"; target=_blank; onclick=\"var tempSrc=\'http:\/\/sighttp.qq.com\/wpa.js?rantime=\'+Math.random()+\'&sigkey=1193f0c9fa2eb0ff69c8d476c0893641bf7377092d336dc7e82717ec865fe152\';var oldscript=document.getElementById(\'testJs\');var newscript=document.createElement(\'script\');newscript.setAttribute(\'type\',\'text\/javascript\'); newscript.setAttribute(\'id\', \'testJs\');newscript.setAttribute(\'src\',tempSrc);if(oldscript == null){document.body.appendChild(newscript);}else{oldscript.parentNode.replaceChild(newscript, oldscript);}return false;\"><img src=\"\/qq\/qq_online.jpg\" border=\"none\" \/><\/a>");
document.writeln("<\/div>")
}