var _baiheHead_start_time = new Date(); function clkMoreLink(){ $("#morelinkLi").addClass("now"); $("#morelinkDiv").show(); DivSetVisible(true); } function hiddenMoreLink(){ $("#morelinkLi").removeClass("now"); $("#morelinkDiv").hide(); DivSetVisible(false); } var isie =( navigator.appName == "Microsoft Internet Explorer"); function DivSetVisible(state) { var DivRef = document.getElementById('morelinkDiv'); var IfrRef = $('#DivShim'); if(state) { if(isie){ IfrRef.css("width",DivRef.offsetWidth); IfrRef.css("height",DivRef.offsetHeight); }else{ IfrRef.css("width","0px"); IfrRef.css("width","0px"); } IfrRef.show(); } else{ IfrRef.hide(); } } function showHello(){ var _helloCont = ''; var _hour = new Date().getHours(); switch (_hour){ case 0: case 1: case 2: case 3: case 4: case 5: _helloCont = '凌晨好!'; break; case 6: case 7: case 8: _helloCont = '早上好!'; break; case 9: case 10: case 11: _helloCont = '上午好!'; break; case 12: case 13: _helloCont = '中午好!'; break; case 14: case 15: case 16: case 17: case 18: _helloCont = '下午好!'; break; case 19: case 20: case 21: case 22: case 23: _helloCont = '晚上好!'; } return _helloCont; } document.write("
");