document.write('	<link rel="stylesheet" type="text/css" media="screen" href="styles.css" /><style type="text/css">');
document.write('TABLE	{ margin: 1em;  }');
document.write('TABLE.zero { border: 1px solid #a60002; border-spacing: 0px; color: #efeeaa; background:#2c0102; font-family: Arial, sans-serif;}');
document.write('TABLE.one { border: 2px solid #7c0002; border-spacing: .1em; margin: .1em; border-collapse: collapse; background: #2c0102;} .one td, .one p {font-size: 14px} .one, .one td, .one p { line-height: 120%; }');
document.write('TABLE.two { border: thin solid #860F11; border-spacing: .1em; margin: .1em; border-collapse: collapse; }');
document.write('</style>');

function footercontent()
{
document.write('<center><p><table width="450" class="zero" bgcolor="#390203"><tr><td align=right>');
document.write('<br>Beijing-Touren: </td><td width=11></td><td><br>');
document.write('<a href="tour_beijing_1_day.html">1 Tag</a> | ');
document.write('<a href="tour_beijing_2_day.html">2 Tage</a> | ');
document.write('<a href="tour_beijing_3_day.html">3 Tage</a> | ');
document.write('<a href="tour_beijing_4_day.html">4 Tage</a>');
document.write('</td></tr><tr><td align=right>');
document.write('Xi\'an-Touren:  </td><td width=11></td><td>');
document.write('<a href="tour_xian_1_day.html">1 Tag</a> | ');
document.write('<a href="tour_xian_2_day.html">2 Tage</a> ');
document.write('</td></tr><tr><td align=right>');
document.write('Shanghai-Touren:  </td><td width=11></td><td>');
document.write('<a href="tour_shanghai_1_day.html">1 Tag</a> | ');
document.write('<a href="tour_shanghai_2_day.html">2 Tage</a> ');
document.write('</td></tr><tr><td align=right>');
document.write('Die Große Mauer: <br><br> </td><td width=11></td><td>');
document.write('<a href="../deutsche/tours/sleep_on_the_wall/index.html l">Camping auf der Großen Mauer</a><br><br>');
document.write('</td></tr></table>');
}

function footer()
{
footercontent();

}

function panofooter()
{
footer();
}


function panofooter2()
{
footer();
}


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="#efeeaa">', +7, 1, '"#efeeaa"'),
		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 + '" size=-1>' + 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 ;
	
	if (dt_month == 1)
		monthstring = "janvier";
	if (dt_month == 2)
		monthstring = "fÈvrier";
	if (dt_month == 3)
		monthstring = "mars";
	if (dt_month == 4)
		monthstring = "avril";
	if (dt_month == 5)
		monthstring = "mai";
	if (dt_month == 6)
		monthstring = "juin";
	if (dt_month == 7)
		monthstring = "juillet";
	if (dt_month == 8)
		monthstring = "ao˚t";
	if (dt_month == 9)
		monthstring = "septembre";
	if (dt_month == 10)
		monthstring = "octobre";
	if (dt_month == 11)
		monthstring = "novembre";
	if (dt_month == 12)
		monthstring = "dÈcembre";

	stemp = dt_hour + "h" + dt_minute + ":" + dt_second + ' ' + ampm ;
	stemp = stemp + '  ' + monthstring + ' ' + dt_day + ', ' + dt_year.substr(0,4) ;
	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:"#efeeaa";}');
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:"#efeeaa";}');
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:"#efeeaa";}');
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 temperature()
{
var t1 = "   <b>41</b>&nbsp;&#176;F / ";

var t1 = "   <nobr><b>84</b>&nbsp;&#176;F</nobr> / ";
var t2 = "   <nobr><b>84</b>&nbsp;&#176;F</nobr>";
var t2 = "   <nobr><b>29</b>&nbsp;&#176;C</nobr>";
//document.write(t1,'\n',t2,'\n');
}









































































































































































































