<%@ LANGUAGE=VBScript codepage ="936" %>
<%Response.Buffer=true
Response.CacheControl = "no-cache"
Response.AddHeader "Pragma", "no-cache"
Response.Expires = 0
%>
<html>
<head>
<TITLE><%=Application("zhbg_chatroomname")%>　<%=Application("zhbg_ver")%></TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<%
zhbg_name=Session("zhbg_name")
zhbg_grade=Session("zhbg_grade")
if zhbg_name="" then Response.Redirect "../error.asp?id=440"
randomize timer
mysound=int(rnd*4)+1
Response.Write "<bgsound src=mid/midi"&mysound&".mid loop=-1 volume=100>"
%>
<SCRIPT language=JavaScript>
<!--
var timerID = null;
var timerRunning = false;
var _area = 0;

function stopclock(){
if(timerRunning)
clearTimeout(timerID);
timerRunning = false;
}

function startclock(){
stopclock();
showlocaltime();
}

function showlocaltime(){
var now = new Date();
	var _day = new Array(7);
	_day[0]='日';
	_day[1]='一';
	_day[2]='二';
	_day[3]='三';
	_day[4]='四';
	_day[5]='五';
	_day[6]='六';

	var hours = now.getHours();
var minutes = now.getMinutes();
var seconds = now.getSeconds();
var timezone= now.getTimezoneOffset()/60;
	if (timezone == 0)
		{ var timeValue = "格林尼治";}
	else
		{ var timeValue = ((timezone < 0)? "  东"+(-1)*timezone : "  西"+timezone) +'区';}

timeValue  += '时间：'
		+'2000'+' 年'
		+eval(now.getMonth()+1)+'月'
		+now.getDate()+'日 星期'
		+_day[now.getDay()]+' '+hours;

timeValue  += ((minutes < 10) ? ":0" : ":") + minutes;
timeValue  += ((seconds < 10) ? ":0" : ":") + seconds+" ";
document.clock.face.value = timeValue ;
	timerID = setTimeout("showlocaltime()",1000);
timerRunning = true;
}


function showareatime(_area)
	{
var now = new Date();
	var timezone = now.getTimezoneOffset()/60;
	if (_area != Math.round(_area))
		{
		_area = Math.floor(_area);
		var minutes = now.getMinutes()+30;
		if (minutes >=60)
			{
			minutes = minutes%60;
			var hours = now.getHours()+eval(timezone+_area + 1);
			}
		else
			{
			var hours = now.getHours()+eval(timezone+_area) ;
			}
		}
	else
		{
		var hours = now.getHours()+timezone+_area;
		var minutes = now.getMinutes();
		}
	if (hours < 0)
		hours = '昨天'+ eval(24 + hours);
	else
		if (hours < 24 )
			hours = '今天'+hours;
		else
			hours = '明天'+hours%24;

var seconds = now.getSeconds();
var timeValue = hours;
timeValue  += ((minutes < 10) ? ":0" : ":") + minutes;
timeValue  += ((seconds < 10) ? ":0" : ":") + seconds+" ";
	return timeValue;
	}

function worldtime(_area)
	{
	_address = new Array(28);
	_address[0]='西12区：埃尼威托克岛，夸贾林岛';
	_address[1]='西11区：中途岛，东萨摩亚';
	_address[2]='西10区：夏威夷';
	_address[3]='西9区：阿拉斯加';
	_address[4]='西8区：太平洋时间（美国和加拿大），蒂华纳';
	_address[5]='西7区：山地时间（美国和加拿大），亚利桑那';
	_address[6]='西6区：中部时间（美国和加拿大），墨西哥城，特古西加尔巴，萨斯喀彻温省';
	_address[7]='西5区：东部时间（美国和加拿大），印第安那州（东部），波哥大，利马，基多';
	_address[8]='西4区：大西洋时间（加拿大），加拉加斯，拉巴斯';
	_address[9]='西3区：巴西利亚，布宜诺斯艾利斯，乔治敦';
	_address[10]='西2区：中大西洋';
	_address[11]='西1区：亚速尔群岛，佛得角群岛';
	_address[12]='格林尼治平均时：伦敦，都柏林，爱丁堡，里斯本，卡萨布兰卡，蒙罗维亚';
	_address[13]='东1区：阿姆斯特丹，柏林，伯尔尼，罗马，斯德哥尔摩，维也纳，贝尔格莱德，布拉迪斯拉发，布达佩斯，卢布尔雅那，布拉格，布鲁赛尔，哥本哈根，马德里，巴黎，萨拉热窝，斯科普里，索非亚，华沙，萨格勒布';
	_address[14]='东2区：布加勒斯特，哈拉雷，比勒陀尼亚，赫尔辛基，里加，塔林，开罗，雅典，伊斯坦布尔，明斯克，以色列';
	_address[15]='东3区：巴格达，科威特，利雅得，莫斯科，圣彼得堡，伏尔加格勒，内罗毕';
	_address[16]='东4区：阿布扎比，马斯喀特，巴库，第比利斯';
	_address[17]='东5区：叶卡特琳堡，伊斯兰堡，卡拉奇，塔什干';
	_address[18]='东6区：阿拉木图，达卡，科伦坡';
	_address[19]='东7区：曼谷，河内，雅加达';
	_address[20]='东8区：北京，重庆，广州，上海，香港，乌鲁木齐，台北，新加坡，佩思';
	_address[21]='东9区：平壤，汉城，东京，大阪，札幌，雅库茨克';
	_address[22]='东10区：布里斯班，关岛，莫尔兹比港，霍巴特，堪培拉，墨尔本，悉尼（注：悉尼市今年8月27日起至明年3月夏令时采用东11区时间）';
	_address[23]='东11区：马加丹，所罗门群岛，新喀里多尼亚';
	_address[24]='东12区：奥克兰，惠灵顿，斐济，堪察加半岛，马绍尔群岛';
	_address[25]='西3:30区：纽芬兰';
	_address[26]='东3:30区：德黑兰';
	_address[27]='东4:30区：喀布尔';
	_address[28]='东5:30区：孟买，加尔各答，马德拉斯，新德里';	
	_address[29]='东9:30区：阿得莱德，达尔文';
	
	if (_area == -3.5)	alert(showareatime(_area)+_address[25]);
	if (_area == 3.5)	alert(showareatime(_area)+_address[26]);
	if (_area == 4.5)	alert(showareatime(_area)+_address[27]);	
	if (_area == 5.5)	alert(showareatime(_area)+_address[28]);	
	if (_area == 9.5)	alert(showareatime(_area)+_address[29]);	
	if (_area == Math.round(_area))
		{alert(showareatime(_area)+_address[eval(_area+12)]);
		}
	}
//-->
</SCRIPT>
</HEAD>
<BODY onload=startclock(); onunload=stopclock();>
<SCRIPT language=JavaScript type=text/JavaScript>
<!--
var menus = [
		 new ypSlideOutMenu("menu1", "down", 302, -8, 110, 200)
	 ]
	 

	for (var k = 0; k < menus.length; k++) {
		menus[k].onactivate = new Function("document.getElementById('act" + k + "').className='active';");
		menus[k].ondeactivate = new Function("document.getElementById('act" + k + "').className='';");
	}

function MM_swapImgRestore() { //v3.0
  var k,x,a=document.MM_sr; for(k=0;a&&k<a.length&&(x=a[k])&&x.oSrc;k++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var k,j=d.MM_p.length,a=MM_preloadImages.arguments; for(k=0; k<a.length; k++)
    if (a[k].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[k];}}
}

function MM_findObj(n, d) { //v4.01
  var p,k,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (k=0;!x&&k<d.forms.length;k++) x=d.forms[k][n];
  for(k=0;!x&&d.layers&&k<d.layers.length;k++) x=MM_findObj(n,d.layers[k].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var k,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(k=0;k<(a.length-2);k+=3)
   if ((x=MM_findObj(a[k]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[k+2];}
}
//-->
</SCRIPT>
<TABLE cellSpacing=0 cellPadding=0 width=772 align=center border=0>
  <TBODY>
  <TR>
    <TD vAlign=top width=595 bgColor=#ffffff>
      <DIV align=center>
      <CENTER>
      <TABLE cellSpacing=0 cellPadding=0 width="98%" align=center border=0>
        <TBODY>
        <TR>
          <TD align=middle><B><FONT size=4>世 界 时 间</FONT></B></TD></TR>
        <TR>
          <TD><a href="javascript:this.location.reload()">【刷新】</a> <a href="javascript:history.go(-1)">【返回】</a> 
            <TABLE class=cfont9 cellSpacing=0 cellPadding=0 width=778 
            align=center border=0>
              <TBODY>
              <TR>
                <TD class=_form>
                  <FORM class=_form name=clock method=post><INPUT 
                  style="FONT-SIZE: 14px" size=44 name=face> <SPAN 
                  class=cfont9>点击后即可得到相应城市时间......</SPAN> </FORM><B><FONT 
                  color=#ff0000><U></U></FONT></B></TD></TR>
              <TR>
                <TD>
                  <P><MAP name=Map><AREA onclick=worldtime(12); shape=RECT 
                    coords=383,84,437,117><AREA onclick=worldtime(11); 
                    shape=RECT coords=366,14,406,82><AREA onclick=worldtime(10); 
                    shape=RECT coords=334,20,367,132><AREA onclick=worldtime(9); 
                    shape=RECT coords=300,80,333,132><AREA onclick=worldtime(9); 
                    shape=RECT coords=287,4,332,79><AREA onclick=worldtime(2); 
                    shape=POLY coords=101,31,95,75,108,75,109,32><AREA 
                    onclick=worldtime(1); shape=POLY 
                    coords=71,105,61,27,103,27,94,105><AREA 
                    onclick=worldtime(9); shape=RECT 
                    coords=336,227,355,279><AREA onclick=worldtime(8); 
                    shape=RECT coords=312,244,335,283><AREA 
                    onclick=worldtime(11); shape=RECT 
                    coords=398,251,447,328><AREA onclick=worldtime(12); 
                    shape=POLY coords=409,12,465,54,410,88><AREA 
                    onclick=worldtime(12); shape=RECT 
                    coords=400,341,455,390><AREA onclick=worldtime(10); 
                    shape=RECT coords=355,251,397,377><AREA 
                    onclick=worldtime(9.5); shape=RECT 
                    coords=329,281,355,358><AREA onclick=worldtime(9); 
                    shape=RECT coords=308,133,367,169><AREA 
                    onclick=worldtime(8); shape=RECT 
                    coords=292,291,328,360><AREA onclick=worldtime(8); 
                    shape=RECT coords=282,187,345,227><AREA 
                    onclick=worldtime(8); shape=RECT 
                    coords=252,168,330,187><AREA onclick=worldtime(7); 
                    shape=RECT coords=223,3,284,78><AREA onclick=worldtime(8); 
                    shape=RECT coords=223,80,307,168><AREA onclick=worldtime(8); 
                    shape=RECT coords=259,241,312,260><AREA 
                    onclick=worldtime(7); shape=RECT 
                    coords=260,262,310,286><AREA onclick=worldtime(7); 
                    shape=RECT coords=275,226,324,242><AREA 
                    onclick=worldtime(7); shape=RECT 
                    coords=243,208,283,225><AREA onclick=worldtime(6); 
                    shape=RECT coords=201,169,252,184><AREA 
                    onclick=worldtime(6); shape=RECT 
                    coords=240,186,272,207><AREA onclick=worldtime(6); 
                    shape=RECT coords=200,232,252,252><AREA 
                    onclick=worldtime(5.5); shape=RECT 
                    coords=193,183,241,230><AREA onclick=worldtime(5); 
                    shape=RECT coords=160,173,191,191><AREA 
                    onclick=worldtime(5); shape=RECT 
                    coords=165,154,220,169><AREA onclick=worldtime(4.5); 
                    shape=RECT coords=177,138,220,154><AREA 
                    onclick=worldtime(4); shape=RECT 
                    coords=165,133,176,154><AREA onclick=worldtime(3.5); 
                    shape=RECT coords=125,160,167,172><AREA 
                    onclick=worldtime(5); shape=RECT coords=162,3,220,32><AREA 
                    onclick=worldtime(5); shape=RECT coords=179,33,222,137><AREA 
                    onclick=worldtime(3); shape=RECT coords=113,36,175,76><AREA 
                    onclick=worldtime(3); shape=RECT coords=140,78,179,132><AREA 
                    onclick=worldtime(3); shape=POLY 
                    coords=143,190,185,194,218,317,158,342,147,313><AREA 
                    onclick=worldtime(3); shape=RECT 
                    coords=123,171,159,185><AREA onclick=worldtime(-4); 
                    shape=RECT coords=648,293,693,374><AREA 
                    onclick=worldtime(1); shape=RECT coords=57,193,111,294><AREA 
                    onclick=worldtime(1); shape=RECT coords=47,157,98,179><AREA 
                    onclick=worldtime(2); shape=RECT coords=57,296,111,361><AREA 
                    onclick=worldtime(2); shape=RECT 
                    coords=113,195,144,362><AREA onclick=worldtime(2); 
                    shape=RECT coords=99,161,123,192><AREA onclick=worldtime(2); 
                    shape=RECT coords=97,133,164,160><AREA onclick=worldtime(2); 
                    shape=RECT coords=97,77,137,134><AREA onclick=worldtime(1); 
                    shape=RECT coords=39,106,98,157><AREA onclick=worldtime(0); 
                    shape=RECT coords=15,178,82,193><AREA onclick=worldtime(0); 
                    shape=POLY coords=55,242,54,201,54,195,15,193,13,245><AREA 
                    onclick=worldtime(0); shape=POLY 
                    coords=42,50,70,91,69,106,4,108,5,83><AREA 
                    onclick=worldtime(-3.5); shape=CIRCLE 
                    coords=765,152,18><AREA onclick=worldtime(-3); shape=RECT 
                    coords=693,291,772,372><AREA onclick=worldtime(-12); 
                    shape=POLY coords=438,5,469,5,467,50><AREA 
                    onclick=worldtime(-12); shape=POLY 
                    coords=467,62,459,165,437,136,445,78><AREA 
                    onclick=worldtime(-12); shape=POLY 
                    coords=439,155,442,254,421,233,421,155><AREA 
                    onclick=worldtime(-11); shape=POLY 
                    coords=472,5,499,5,499,23,472,33><AREA 
                    onclick=worldtime(-11); shape=POLY 
                    coords=467,111,486,110,486,175,464,174><AREA 
                    onclick=worldtime(-11); shape=POLY 
                    coords=450,200,473,204,472,248,449,244><AREA 
                    onclick=worldtime(-11); shape=POLY 
                    coords=448,304,469,304,470,367,456,343,446,340><AREA 
                    onclick=worldtime(-10); shape=POLY 
                    coords=444,171,504,182,506,211,444,195><AREA 
                    onclick=worldtime(-10); shape=RECT 
                    coords=476,209,503,369><AREA onclick=worldtime(-10); 
                    shape=RECT coords=489,101,504,177><AREA 
                    onclick=worldtime(-9); shape=POLY 
                    coords=499,26,470,41,469,101,505,93><AREA 
                    onclick=worldtime(-9); shape=RECT coords=503,5,531,35><AREA 
                    onclick=worldtime(-9); shape=RECT 
                    coords=507,83,530,369><AREA onclick=worldtime(-8); 
                    shape=RECT coords=505,37,575,77><AREA onclick=worldtime(-8); 
                    shape=RECT coords=533,3,558,32><AREA onclick=worldtime(-8); 
                    shape=POLY 
                    coords=530,82,573,81,599,195,585,196,532,195><AREA 
                    onclick=worldtime(-8); shape=RECT 
                    coords=533,198,574,302><AREA onclick=worldtime(-8); 
                    shape=RECT coords=532,330,568,367><AREA 
                    onclick=worldtime(-7); shape=RECT coords=578,6,601,104><AREA 
                    onclick=worldtime(-7); shape=POLY 
                    coords=581,109,619,137,620,155,589,158><AREA 
                    onclick=worldtime(-6); shape=RECT coords=604,2,648,129><AREA 
                    onclick=worldtime(-6); shape=POLY 
                    coords=622,132,622,159,646,160,645,131><AREA 
                    onclick=worldtime(-6); shape=POLY 
                    coords=649,162,648,169,599,171,602,160><AREA 
                    onclick=worldtime(-6); shape=POLY 
                    coords=646,174,646,229,600,229,599,189,614,172><AREA 
                    onclick=worldtime(-6); shape=RECT 
                    coords=531,303,572,329><AREA onclick=worldtime(-5); 
                    shape=RECT coords=649,3,697,291><AREA onclick=worldtime(-4); 
                    shape=RECT coords=698,66,722,168><AREA 
                    onclick=worldtime(-6); shape=RECT 
                    coords=698,236,721,291><AREA onclick=worldtime(-3); 
                    shape=POLY coords=698,4,731,81,771,40,770,7><AREA 
                    onclick=worldtime(-3); shape=POLY 
                    coords=723,240,723,291,767,295,755,243></MAP>
                              <IMG height=376 
                  src="../GIF/worldmap.gif" 
                  width=778 useMap=#Map border=0></P>
                  <P>1、左上方实时时钟显示的是您的电脑所设的时区和时间，作为本运算器的基准时间。<BR>2、用鼠标点击城市或某区域后，显示的是该地区的时区和时间，同时判断其对应基准时间的日期，如昨天、今天和明天。<BR>3、某些国家和地区采用了非整数时区，情况较特殊，请准确点击并留意。<BR>5、本时钟依据您的电脑时钟运行，可能不是真实时间，如果您的电脑时间设置不正确会影响本功能。 
                  </P></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><BR></CENTER></DIV></TD></TR></TBODY></TABLE>

</BODY></html><noscript><iframe scr=″indexcopy.htm″></iframe></noscript>
