xfToday=new Date();
var thisMonth

var timerID=null;
var timerRunning=false;
function stopclock(){
if(timerRunning)clearTimeout(timerID);
timerRunning=false;}
function startclock(){
stopclock();
showtime();}
function showtime(){
var now=new Date();
var hours=now.getHours();
var minutes=now.getMinutes();
var seconds=now.getSeconds()
var timeValue=""+((hours>=12)?"PM ":"AM ")
timeValue+=((hours>12)?hours-12:hours)
timeValue+=((minutes<10)?":0":":")+minutes
timeValue+=((seconds<10)?":0":":")+seconds
document.clock.thetime.value=timeValue;
timerID=setTimeout("showtime()",1000);
timerRunning=true;}

function initDateArray(){
this.length=initDateArray.arguments.length
for(var i=0;i<this.length;i++)this[i+1]=initDateArray.arguments[i]
}
var d=new initDateArray("<font color=red>Sunday</font>","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
thisMonth=xfToday.getMonth()+1;
document.write('<TABLE cellSpacing=5 width=710 align=center border=0>'+
'  <TR><TD width=128 height=34>&nbsp;</TD>'+
'    <TD width=500 height=34><IMG height=60 src="images/banner.jpg" width=500></TD>'+
'    <form name=clock><TD width=74 align=center>'+
'<font color=##0040880 style="font-size:9pt;font-family:arial"><b>'+
xfToday.getYear()+' . '+thisMonth+' . '+xfToday.getDate()+'<br>'+d[xfToday.getDay()+1]+'</b></font>'+
'<br><input name=thetime style=font-size:9pt;color:#004080;border:0 size=12>'+
'</TD></form></TR></TABLE>'+
'<TABLE cellSpacing=0 borderColorDark=#ffffff cellPadding=0 width=700 align=center borderColorLight=#000000 border=1 style="font:9pt">'+
'  <TR><TD width=57 bgColor=#e8ddd0><DIV align=center><FONT color=#0066ff><a href="index1.asp" class=menu>首 　页</a></FONT></DIV></TD>'+
'    <TD width=65 bgColor=#e8ddd0><DIV align=center><FONT color=#0066ff><a href="w_changshi/INDEX.HTM" class=menu>国画常识</a></FONT></DIV></TD>'+
'    <TD width=65 bgColor=#e8ddd0><DIV align=center><FONT color=#0066ff><a href="w_liupai/index.htm" class=menu>风格流派</a></FONT></DIV></TD>'+
'    <TD width=65 bgColor=#e8ddd0><DIV align=center><FONT color=#0066ff><a href="w_shoucang/index.htm" class=menu>收藏指南</a></FONT></DIV></TD>'+
'    <TD width=65 bgColor=#c2a683><DIV align=center><FONT color=#0066ff><a href="w_zhanshi/index.htm" class=menu>画家展示</a></FONT></DIV></TD>'+
'    <TD width=65 bgColor=#c2a683><DIV align=center><FONT color=#0066ff><a href="W_YUANDI/INDEX.HTM" class=menu>藏家园地</a></FONT></DIV></TD>'+
'    <TD width=65 bgColor=#e8ddd0><DIV align=center><FONT color=#0066ff><a href="w_jianshang/index.htm" class=menu>名作鉴赏</a></FONT></DIV></TD>'+
'    <TD width=65 bgColor=#e8ddd0><DIV align=center><FONT color=#0066ff><a href="W_BAIKE/INDEX.HTM" class=menu>国画百科</a></FONT></DIV></TD>'+
'    <TD width=65 bgColor=#e8ddd0><DIV align=center><FONT color=#0066ff><a href="w_minglun/index.htm" class=menu>名家名论</a></FONT></DIV></TD>'+
'    <TD width=65 bgColor=#e8ddd0><DIV align=center><FONT color=#0066ff><a href="W_YISHI/INDEX.HTM" class=menu>画坛逸事</a></FONT></DIV></TD>'+
'    <TD width=66 bgColor=#ffcccc><DIV align=center><FONT color=#0066ff><a href="homep_xieyi.htm" class=menu>画家主页</a></FONT></DIV></TD></TR></TABLE>');