document.write('<style type="text/css">');
document.write('TABLE	{ margin: 1em;  }');
document.write('TABLE.one { border: thin solid #bbbbbb; border-spacing: .1em; margin: .1em; border-collapse: collapse; }');
document.write('TABLE.two { border: thin solid #860F11; border-spacing: .1em; margin: .1em; border-collapse: collapse; }');
document.write('</style>');

function footercontent()
{
document.write('<br><font face="Arial" color="white" >&nbsp;景点: </td><td><font face="Arial" color="white" >');
document.write('<br><a href="../gate_of_heavenly_peace/gate_of_hp_night.html">天安门</a>  | ');
document.write('<a href="../forbidden_city/index.html">故宫</a>  | ');
document.write('<a href="../tiananmen_square/index.html">天安门广场</a> | ');
document.write('<a href="../summer_palace/index.html">颐和园</a> | ');
document.write('<a href="../jingshan_park/index.html">景山公园</a> | ');
document.write('<a href="../hutong_tour1/hutong-tour1.html">胡同</a> <br>');

document.write('</td></tr><tr><td align=right><font face="Arial" color="white" >&nbsp;长城: </td><td><font face="Arial" color="white" >');
document.write('<a href="../badaling/index.html">八达岭长城</a> | ');
document.write('<a href="../great_wall_of_china/index.html">司马台长城</a>  | ');
document.write('<a href="../wallpapers/index.html">精美桌面壁纸</a>  | ');
document.write('<a href="../great_wall_of_china/accommodation_great_wall_of_china.html">在长城上过夜</a>  <br> ');

document.write('</td></tr><tr><td align=right><font face="Arial" color="white" size=-1>&nbsp;<b>Hotels</b>: </td><td><font face="Arial" color="white" size="-1">');
document.write('<a href="http://www.thechinaguide.com/ccount/click.php?id=2">Wangfujing Grand Hotel</a>   ');
//document.write('<a href="../hotels/presidential_plaza_deluxe_room.html">The Presidential Plaza Hotel</a><br>');

document.write('</td></tr><tr><td align=right><font face="Arial" color="white" >&nbsp;奥运场馆: </td><td><font face="Arial" color="white" >');
document.write('<a href="../olympic_construction/olympic_stadium_1.html">国家体育场</a>  | ');
document.write('<a href="../olympic_construction/olympic_swimming_center.html">国家游泳中心</a>  | ');
document.write('<a href="../olympic_construction/olympic_green.html">奥林匹克绿</a><br> ');

document.write('</td></tr><tr><td align=right><font face="Arial" color="white" >&nbsp;交通: </td><td><font face="Arial" color="white" >');
document.write('<a href="../airport/index.html">机场</a> | ');
document.write('<a href="../beijing_taxis/beijing_taxis.html">出租车</a> | ');
document.write('<a href="../subway/subway.html">地铁</a> | ');
document.write('<a href="../bicycle_beijing/bicycle_beijing.html">自行车</a><br> ');

document.write('</td></tr><tr><td align=right><font face="Arial" color="white" >&nbsp;常识: </td><td><font face="Arial" color="white" >');
document.write('<a href="../money/getting_money.html">取钱</a>  | ');
document.write('<a href="../money/money3.html">中国的货币</a>  | ');
document.write('<a href="../toilets/chinese_toilets.html">公共厕所</a> | ');
document.write('<a href="../tourist_office/beijing_tourist_office.html">旅行社</a> <br> ');

document.write('</td></tr><tr><td align=right><font face="Arial" color="white" >&nbsp;通讯: </td><td><font face="Arial" color="white" >');
document.write('<a href="../communications/internet_access.html">上网</a> | ');
document.write('<a href="../communications/mobile_access_in_beijing.html">使用手机</a> | ');
document.write('<a href="../communications/long_distance.html">长途电话</a><br> ');

document.write('</td></tr><tr><td align=right><font face="Arial" color="white" >&nbsp;交流: </td><td><font face="Arial" color="white" >');
document.write('<a href="../money/money3.html">货币语言</a> | ');
document.write('<a href="../language/numbers.html">中文数字</a> | ');
document.write('<a href="../language/tourist_sights.html">景点名称</a> | ');
document.write('<a href="../food/index.html">饮食语言</a> <br>');

document.write('</td></tr><tr><td align=right><font face="Arial" color="white" >&nbsp;购物: </td><td><font face="Arial" color="white" >');
document.write('<a href="../panjia_market/index.html">潘家园周末市场</a> | ');
document.write('<a href="../wangfujing/wangfujing_night.html">王府井</a> | ');
document.write(' <a href="../shopping/bargaining.html">砍价</a> | ');
document.write('<a href="../shopping/eyeglasses.html">眼镜市场</a><br>');

document.write('</td></tr><tr><td align=right><font face="Arial" color="white" >&nbsp;饮食: </td><td><font face="Arial" color="white" >');
document.write('<a href="../food/peking_duck.html">北京烤鸭</a> | ');
document.write('<a href="../food/hotpot.html">火锅</a> | ');
document.write('<a href="../food/exotic.html">奇特的小吃</a> | ');
document.write('<a href="../food/index.html">饮食语言</a> | ');
document.write('<a href="../food/xiaowangs.html">小王府餐馆</a><br>');

document.write('</td></tr><tr><td align=right><font face="Arial" color="white" >&nbsp;传统: </td><td><font face="Arial" color="white" >');
document.write('<a href="../taichi/taichiman.html">太极拳</a> | ');
document.write('<a href="../tree_walkers/treewalkers.html">树的周围</a> | ');
document.write('<a href="../tree_scratcher/tree-scratcher2.html">人与树</a>  | ');
document.write('<a href="../dance/dance.html">交际舞</a>  <br> ');

document.write('</td></tr><tr><td align=right><font face="Arial" color="white" >&nbsp;现代北京: </td><td><font face="Arial" color="white" >');
document.write('<a href="../nightlife/index.html">夜生活</a> | ');
document.write('<a href="../modern/index.html">快餐、汽车和时尚</a> <br>');

document.write('</td></tr><tr><td align=right><font face="Arial" color="white" >&nbsp;更多: </td><td><font face="Arial" color="white" >');
document.write('<a href="../mp3/index.html">下载中国MP3音乐</a> | ');
document.write('<a href="../cards/index.html">电子贺卡</a> | ');
document.write('<a href="../about/about_peter_danford.html">关于我们</a> | ');
document.write('<a href="../about/contact.html">联系我们</a> | ');
document.write('<a href="../linkto/links.html">更多链接</a> | ');
document.write('<a href="../index.html">首页</a><br>');

document.write('</td></tr><tr><td align=right><font face="Arial" color="white" >&nbsp;上海: </td><td><font face="Arial" color="white" >');
document.write('<a href="#" onclick="javascript:bund2();">外滩</a> | ');
document.write('<a href="../shanghai_acrobats/index.html">杂技团</a> | ');
document.write('<a href="../shanghai_yuyuan/index.html">豫园公园</a> <br> ');

document.write('</td></tr><tr><td align=right><font face="Arial" color="white" >&nbsp;语言选择: </td><td><font face="Arial" color="white" >');
document.write('<table><tr><td>');
document.write('<div align="center">');
document.write('<OBJECT  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="45"HEIGHT="30" id="flags-english" ALIGN=""> <PARAM NAME=movie VALUE="../language/flags-english.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="../language/flags-english.swf" quality=high bgcolor=#FFFFFF  WIDTH="45" HEIGHT="30" NAME="flags-english" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>');
document.write('<font face="Arial" color="white" >');
document.write('<br><div align="center"><a href="../../index.html">English</a> </div>');
document.write('</td><td>&nbsp;&nbsp;&nbsp;</td><td>');
document.write('<div align="center">');
document.write('<a href="../../deutsche/index.html"><img src="../language/german_flag.jpg" width="45" height="30" alt="German Language China Tourist Information" border="0"></a><br>');
document.write('<font face="Arial" color="white" >');
document.write('<a href="../../deutsche/index.html">Deutsch</a> ');
document.write('</td><td>&nbsp;&nbsp;&nbsp;</td><td>');
document.write('<div align="center">');
document.write('<a href="../../francais/index.html"><img src="../language/french_flag.jpg" width="45" height="30" alt="French Language China Tourist Information" border="0"></a><br>');
document.write('<font face="Arial" color="white" >');
document.write('<a href="../../francais/index.html">Francais</a> ');
document.write('</td><td>&nbsp;&nbsp;&nbsp;&nbsp;</td><td>');
document.write('<div align="center">');
document.write('<a href="../index.html"><img src="../language/chinese_flag.jpg" width="45" height="30" alt="Chinese Language China Tourist Information" border="0"></a><br>');
document.write('<font face="Arial" color="white" >');
document.write('<a href="../index.html">Chinese</a> ');
document.write('</td></tr></table>');

document.write('</td></tr><tr><td colspan=2>');

//document.write('<div align="center"><table width=500 cellpadding=7><tr><td><font face="Arial"  color="#ffffff"><form action="http://www.thebeijingguide.com/odyssey/mojo/mojo.cgi" method=POST> <br><a href="../odyssey/index.html"><img src="../odyssey/Bei&ShangCovSide.jpg" width="140" height="205" alt="" border="0" align=left hspace=11></a><b><div align="center">Join The Beijing Guide\'s lucky draw!</div> <p>A free copy of the <a href="../odyssey/index.html">Odyssey Beijing and Shanghai guide</a> is given away each month to a subscriber of the The Beijing Guide Newletter.  <p><center>Subscribe to The Beijing Guide Newletter:<p> <input type="text" name="email" value="Your e-mail address" onfocus="if(this.value==\'Your e-mail address\')this.value=\'\'" onblur="if(this.value==\'\')this.value=\'Your e-mail address\'" size="24"> <input type="hidden" name="list" value="odyssey"> <input type="submit" value="Submit"><br> <input type="radio" name="flavor" value="subscribe" checked> Subscribe <input type="radio" name="flavor" value="unsubscribe"> Unsubscribe </form></td></tr></table></div>'); 




document.write('<p><div align="center"><table border="0"><tr><td><font face="Arial" color="white">现在是北京时间');
document.write('</td><td ID="Clock0"></td><td> <font face="Arial" color="white"><!-- 实时温度是 -->');
//temperature();
document.write('</td></tr></table><p>');
document.write('<FORM METHOD="GET" ACTION="http://www.google.com/search" ENCTYPE="x-www-form-encoded"><font >  <INPUT NAME="q" SIZE="28" MAXLENGTH="255" TYPE="text" value="搜索北京指南" class="search_type" onfocus="this.value=\'\';"><INPUT type=hidden name=ie value="UTF-8"><INPUT type=hidden name=oe value="UTF-8"><input type="hidden" name="sitesearch" value="thebeijingguide.com">&nbsp;&nbsp;&nbsp;<INPUT TYPE="submit" VALUE="搜！"></FORM>');
}

function footer()
{
document.write('<center><p><table class="one" cellpadding=8><tr><td align=right>');
footercontent();
document.write('</td></tr></table>');
document.write('<p><div align="center"><font face="Arial" color="#eeeeee" ><a href="../about/about_peter_danford.html">Peter Danford</a> 版权所有 2004<br><br>');
}

function panofooter()
{
document.write('<table class="one" cellpadding="18"><tr><td><font face="Arial" color="#eeeeee" >');
document.write('全景图使用方法：<p>');
document.write('请在全景图中寻找红点并点击它们便可进入下一处景观。 <br>');
document.write('点击并在全景图中或左或右，或上或下拖动你的鼠标。<br>');
document.write('同样，你也可以使用左下方的控制板面放大缩小或转换镜头。');
document.write('</td></tr></table>');
}


function panofooter2()
{
document.write('<br><br><table class="one" cellpadding="11"><tr><td></td><td><font face="Arial" color="#eeeeee" >');
document.write('全景图使用方法：<p>');
document.write('请在全景图中寻找红点并点击它们便可进入下一处景观。 <br>');
document.write('点击并在全景图中或左或右，或上或下拖动你的鼠标。<br>');
document.write('同样，你也可以使用左下方的控制板面放大缩小或转换镜头。');
document.write('</td></tr><tr><td align=right>');
footercontent();
document.write('</td></tr></table>');
document.write('<p><div align="center"><font face="Arial" color="#eeeeee" ><a href="../about/about_peter_danford.html">Peter Danford</a> 版权所有 2004<br><br>');
}


function openpage(file)
{
	var left=0;
	var topp=0;
	var params='scrollbars=no,top='+topp+',left='+left+',width='+(screen.width-9)+',height='+(screen.height-54);

	window.open(file, 'file', params);
}





function openwin(file, wid, ht)
{
	var left=(screen.width-wid)/2;
	var topp=(screen.height-ht)/2;

	if (screen.height <= 480)
		{
		topp = 0;
		if (ht > 430)
			ht = 430;
		if (wid < 600)
			{
			wid += 25;
			left=(screen.width-wid)/2;
			}
		var params='scrollbars=no,top='+topp+',left='+left+',width='+wid+',height='+ht;
		}
	else
		{
		if (screen.height <= 600)
			topp = topp / 3;
		var params='scrollbars,top='+topp+',left='+left+',width='+wid+',height='+ht;
		}
	window.open(file, 'popup', params);
}

function donada()
{
	return;
}

var timerID ;

function tzone(tz, os, ds, cl)
{
	this.ct = new Date(0) ;		// datetime
	this.tz = tz ;		// code
	this.os = os ;		// GMT offset
	this.ds = ds ;		// has daylight savings
	this.cl = cl ;		// font color
}

function UpdateClocks()
{
	// www.timeanddate.com/worldclock
	var ct = new Array(
		new tzone('<font face="Arial" color="white">', +7, 1, 'white'),
		new tzone('TYO: ', +9, 0, 'violet'),
		new tzone('HKG: ', +8, 0, 'cyan'),
		new tzone('BKK: ', +7, 0, 'yellow'),
		new tzone('NYC: ', -5, 1, '#FFAA00'),
		new tzone('LON: ',  0, 1, 'silver'),
		new tzone('SVO: ', +3, 0, 'pink'),
		new tzone('KTM: ', +5.75, 0, 'red')
	) ;

	var dt = new Date() ;	// [GMT] time according to machine clock
	
	var startDST = new Date(dt.getFullYear(), 3, 1) ;
	while (startDST.getDay() != 0)
		startDST.setDate(startDST.getDate() + 1) ;

	var endDST = new Date(dt.getFullYear(), 9, 31) ;
	while (endDST.getDay() != 0)
		endDST.setDate(endDST.getDate() - 1) ;

	var ds_active ;		// DS currently active
	if (startDST < dt && dt < endDST)
		ds_active = 1 ;
	else
		ds_active = 0 ;

	// Adjust each clock offset if that clock has DS and in DS.
	for(n=0 ; n<ct.length ; n++)
		if (ct[n].ds == 1 && ds_active == 1) ct[n].os++ ;

	// compensate time zones
	gmdt = new Date() ;

	for (n=0 ; n<ct.length ; n++)
		ct[n].ct = new Date(gmdt.getTime() + ct[n].os * 3600 * 1000) ;

	document.all.Clock0.innerHTML =
		'<font color="' + ct[0].cl + '" >' + ct[0].tz + ClockString(ct[0].ct) + '</font>' ;

	timerID = window.setTimeout("UpdateClocks()", 1001) ;
}

function ClockString(dt)
{
	var stemp, ampm, monthstring ;
	var dt_year = dt.getUTCFullYear() ;
	var dt_month = dt.getUTCMonth() + 1 ;
	var dt_day = dt.getUTCDate() ;
	var dt_hour = dt.getUTCHours() ;
	var dt_minute = dt.getUTCMinutes() ;
	var dt_second = dt.getUTCSeconds() ;

	dt_year = dt_year.toString() ;
	if (0 <= dt_hour && dt_hour < 12)
	{
		ampm = 'AM' ;
		if (dt_hour == 0) dt_hour = 12 ;		
	} else {
		ampm = 'PM' ;
		dt_hour = dt_hour - 12 ;
		if (dt_hour == 0) dt_hour = 12 ;		
	}
	if (dt_minute < 10)
		dt_minute = '0' + dt_minute ;

	if (dt_second < 10)
		dt_second = '0' + dt_second ;
	
	stemp = dt_hour + ":" + dt_minute + ":" + dt_second + ' ' + ampm ;
	stemp =  dt_year.substr(0,4) +'年' + dt_month + '月' + dt_day + '日, ' + stemp +'<br>' ;
	return stemp ;
}

function bund2()
{
	window.open('../shanghai_bund/index.html','index2','height='&screen.height&',width='&screen.width&',top=0,left=0,scrollbars,resizable');
}


document.write('<style>');
document.write('/* CoolMenus 4 - default styles - do not edit */');
document.write('.clCMAbs{position:absolute; visibility:hidden; left:0; top:0}');
document.write('/* CoolMenus 4 - default styles - end */');
  
document.write('/*Style for the background-bar*/');
document.write('.clBar{position:absolute; width:10; height:10; background-color:#510707 layer-background-color:#510707  visibility:hidden}');

document.write('/*Styles for level 0*/');
document.write('.clLevel0,.clLevel0over{position:absolute; padding:2px; font-family:arial,helvetica; font-size:13px; font-weight:normal}');
document.write('.clLevel0{background-color:#510707; layer-background-color:#400A0B;  color:white;}');
document.write('.clLevel0over{ background-color:#510707; layer-background-color:#510707; color:#CF0000; cursor:pointer; cursor:hand;  font-weight:bold}');
document.write('.clLevel0border{position:absolute; visibility:hidden; }');

document.write('/*Styles for level 1*/');
document.write('.clLevel1, .clLevel1over{position:absolute; padding:2px; font-family:arial,helvetica; font-size:12px; font-weight:normal}');
document.write('.clLevel1{background-color:#400A0B; layer-background-color:#400A0B; color:white;}');
document.write('.clLevel1over{background-color:#651112;  color:#FFFFFF; cursor:pointer; cursor:hand; }');
document.write('.clLevel1border{position:absolute; visibility:hidden; background-color:#FFFFFF; layer-background-color:#FFFFFF}');

document.write('/*Styles for level 2*/');
document.write('.clLevel2, .clLevel2over{position:absolute; padding:2px; font-family:arial,helvetica; font-size:12px; font-weight:normal}');
document.write('.clLevel2{background-color:#651112; layer-background-color:#651112; color:white;}');
document.write('.clLevel2over{background-color:#400A0B; layer-background-color:#400A0B; color:#FFFFFF; cursor:pointer; cursor:hand; }');
document.write('.clLevel2border{position:absolute; visibility:hidden; background-color:#FFFFFF; layer-background-color:#FFFFFF}');
document.write('</style>');


function insert_ad_image(path)
{
document.write('<div align="center"><font face="Arial" color="white"><a href="http://www.thechinaguide.com/ccount/click.php?id=2"><img src="'+path+'hotels/wangfujing-grand-hotel2.jpg" width="450" height="354" alt="Wangfujing Grand Hotel Beijing China" border="0"></a><br><a href="http://www.thechinaguide.com/ccount/click.php?id=2">The Wangfujing Grand Hotel Beijing</a><br></div><script src="http://www.thechinaguide.com/ccount/click.php?id=3"></script>');
}

function insert_ad_pano(path)
{
document.write('<div align="center"><font face="Arial" color="white"><a href="http://www.thechinaguide.com/ccount/click.php?id=2"><img src="'+path+'hotels/wangfujing-grand-hotel2.jpg" width="450" height="354" alt="Wangfujing Grand Hotel Beijing China" border="0"></a><br><a href="http://www.thechinaguide.com/ccount/click.php?id=2">The Wangfujing Grand Hotel Beijing</a><br></div><script src="http://www.thechinaguide.com/ccount/click.php?id=3"></script>');
}









































































































































































































