// JavaScript Document
function showDate (){
  var now = new Date();
  var year = now.getYear();
  var month = now.getMonth() + 1;
  var date = now.getDate();
  var hours = now.getHours();
  var minutes = now.getMinutes();
  var seconds = now.getSeconds();
  var day = now.getDay();
  Day = new Array(7);
  Day[0]="星期日";
  Day[1]="星期一";
  Day[2]="星期二";
  Day[3]="星期三";
  Day[4]="星期四";
  Day[5]="星期五";
  Day[6]="星期六";
  var timeValue = "";
  if (year<2007) year += 1900; 
  timeValue += year + "年";
  timeValue += ((month < 10) ? "0":"") + month + "月";
  timeValue += (( date < 10) ? "0":"") + date + "日&nbsp;";
  timeValue += (Day[day]) + "  ";
  document.write (timeValue);
}//标准日期到中文日期的转化函数


function showHideLayers() 
{ 
  var i,p,v,obj,args=showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) 
  with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}