@
regent <script type="text/javascript">
document.write("<a href=\"");
var day = new Date();
var cur = day.getDay();
var hour=day.getHours();
if(cur==6 || cur==0){
document.write("weekend.html\">linkname</a>");
} else{
if(hour>=8 && hour<12){
document.write("Monday1.html\">linkname</a>");
} else if(hour>=12 && hour<14){
document.write("zhongwu.html\">linkname</a>");
} else if(hour>=14 && hour<18){
document.write("Monday2.html\">linkname</a>");
} else if(hour>=18 && hour<23){
document.write("evening.html\">linkname</a>");
} else{
document.write("night.html\">linkname</a>");
}
</script>