function $(id){
	return document.getElementById(id);
}

function ShowTime()
{
  var strTime=""
  //设定时区差
  
  nhr=new Array(5)
  nhr[0]="北京"
  nhr[1]="纽约"
  nhr[2]="东京"
  nhr[3]="伦敦"
  nhr[4]="悉尼"
  nhr[5]="法兰克福"
  

  tmpDate=new Date();
  tmpHrs=tmpDate.getHours();
  dhr=new Array(5)
  dhr[0]=0
  dhr[1]=-13
  dhr[2]=1
  dhr[3]=-8
  dhr[4]=2
  dhr[5]=-7
  
  strTime=strTime+" <table  border=0 cellspacing=0 cellpadding=0><tr>"
  for (var i=0;i<5;i++)
  {
    strTime=strTime+"<td height=20 align=center style='font-size:18px'><font color=#003399>"+nhr[i]+"&nbsp;&nbsp;<br> "
    //alert (tmpDate)
    tmpDate=new Date();
    
    tmpHrs=tmpDate.getHours();
    dhr[i]=tmpHrs+dhr[i]
    tmpDate.setHours(dhr[i]);
    date=tmpDate.getDate();
    month=tmpDate.getMonth()+1 ;
    year=tmpDate.getFullYear();
    hrs=tmpDate.getHours();
    mins=tmpDate.getMinutes();
    secs=tmpDate.getSeconds();
    if(hrs<10)
    hrs="0"+hrs;
    if(mins<10)
    mins="0"+mins;
    if(secs<10)
    secs="0"+secs;
    
    //strTime=strTime+(month);
    //strTime=strTime+("月");
   // strTime=strTime+(date);
   // strTime=strTime+("日 ");
    strTime=strTime+(hrs);
    strTime=strTime+(":");
    strTime=strTime+(mins);
    strTime=strTime+(":");
    strTime=strTime+(secs);
    strTime=strTime+"</font>&nbsp;&nbsp;</td>";
  }
  strTime=strTime+"</tr></table>"  
  $("SpanTimeZone").innerHTML=strTime
  setTimeout('ShowTime()',1000);
}