 function  visitor() 
{ 
//define variable 
 var Jsay; 
 var Jdayr; 
 var  Jtoday= new Date(); 
 var  Jyear= Jtoday.getFullYear(); Jmonth=Jtoday.getMonth(); 
         Jday= Jtoday.getDay();  Jdate=Jtoday.getDate(); 
         Jhrs= Jtoday.getHours(); Jmin=Jtoday.getMinutes(); 
          Jsec=Jtoday.getSeconds();    
 // document.write('\t'+"<font color=white>"+','+"</font>"); 
  document.write('<font color=dimgray>'+'</font>'+(Jyear)+"<font color=dimgray>"+"年"+"</font>" ); 
  document.write((Jmonth+1)); 
  document.write("<font color=dimgray>"+"月"+"</font>"+Jdate+"<font color=dimgray>"+"日"+"</font>");        
if (Jday==1) 
 document.write("<font color=darkorange>"+"星期"+"</font>"+"<font color=darkorange>"+"一"+"</font>"); 
else if (Jday==2)  
 document.write("<font color=darkorange>"+"星期"+"</font>"+"<font color=darkorange>"+"二"+"</font>"); 
else if (Jday==3)  
 document.write("<font color=darkorange>"+"星期"+"</font>"+"<font color=darkorange>"+"三"+"</font>"); 
else if (Jday==4)  
 document.write("<font color=darkorange>"+"星期"+"</font>"+"<font color=darkorange>"+"四"+"</font>"); 
else if (Jday==5)  
 document.write("<font color=darkorange>"+"星期"+"</font>"+"<font color=darkorange>"+"五"+"</font>"); 
else if (Jday==6)  
 document.write("<font color=darkorange>"+"星期"+"</font>"+"<font color=darkorange>"+"六"+"</font>"); 
else if (Jday==7)  
 document.write("<font color=darkorange>"+"星期"+"</font>"+"<font color=darkorange>"+"日"+"</font>"); 
} 
