/* author: tonyl */
/*  date: 3/20/2007
11-29-2007*/ 
   	

	function PW() {
			 this.password = "";
	};								 
	
	PW.prototype.setPassword = function(password) {
			if (password == "manuscript") {
			   window.location='../2004XE/XEcountry.htm';
			}
	};

	GTC.prototype.getGoogleGTCLeftNav = function(rootOffset) {
		if (rootOffset == undefined) {
			rootOffset = "";
		}
		leftNav = "";
		leftNav = leftNav + "		<!-- Column one -->";
		leftNav = leftNav + "		    <table class='leftnav' border='0'>";
		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=LeftNavClick('" + rootOffset + "index.html')>Home</td></tr>";
		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=LeftNavClick('" + rootOffset + "database.html')>Kiss Bow:Online Database</td></tr>";	
		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=window.open('http://www.terriMorrison.com')>Seminars</td></tr>";
	
		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=LeftNavClick('" + rootOffset + "books.html')>Books</td></tr>";
		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=LeftNavClick('" + rootOffset + "../hg/login_hg.html')>Holiday Guide</td></tr>";
		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=LeftNavClick('" + rootOffset + "articles.html')>Articles</td></tr>";
		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=LeftNavClick('" + rootOffset + "quiz.html')>Quizzes</td></tr>";
		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=LeftNavClick('" + rootOffset + "news.html')>Publicity </td></tr>";
			leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=LeftNavClick('" + rootOffset + "endorsements.html')>Book Endorsements </td></tr>";
				leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=LeftNavClick('" + rootOffset + "seminars1.html')>Seminar Endorsements </td></tr>";
		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=LeftNavClick('" + rootOffset + "about.html')>About Us</td></tr>";
		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=LeftNavClick('mailto:TerriMorrison@kissboworshakehands.com?subject=Kiss_Bow_or_Shake_Hands')>Contact Us</td></tr>";
		leftNav = leftNav + "				<tr><td><hr width='98%' color='navy'></td></tr>";
		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this)><A HREF='http://www.oanda.com/converter/classic?user=newgtc' target='_blank'>Currency Converter</A><BR>Determine the exchange rate before you go!</td></tr>";
		leftNav = leftNav + "				<tr><td><hr width='98%' color='navy'></td></tr>";
		leftNav = leftNav + "		    </table>";
	 return(leftNav);
	};
	GTC.prototype.getOandaLeftNav = function(rootOffset) {
		if (rootOffset == undefined) {
			rootOffset = "http://www.getcustoms.com/2004GTC/'";
		}
		leftNav = "";
		leftNav = leftNav + "		<!-- Column one -->";
		leftNav = leftNav + "		    <table class='leftnav' border='0'>";
		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=LeftNavClick('" + rootOffset + "index.html')>GTC Home</td></tr>";
		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=window.open('http://www.terriMorrison.com')>Seminars</td></tr>";
		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=LeftNavClick('" + rootOffset + "database.html')>Kiss Bow:XE</td></tr>";
		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=LeftNavClick('" + rootOffset + "books.html')>Books</td></tr>";
		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=LeftNavClick('" + rootOffset + "holidays.html')>Holiday Guide</td></tr>";
		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=LeftNavClick('" + rootOffset + "articles.html')>Articles</td></tr>";
		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=LeftNavClick('" + rootOffset + "quiz.html')>Quizzes</td></tr>";
		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=LeftNavClick('" + rootOffset + "gifts.html')>Gifts </td></tr>";
		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=LeftNavClick('" + rootOffset + "about.html')>About Us</td></tr>";
		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=LeftNavClick('mailto:TerriMorrison@GetCustoms.com?subject=GetCustoms')>Contact</td></tr>";
		leftNav = leftNav + "				<tr><td><hr width='98%' color='navy'></td></tr>";
		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this)><A HREF='http://www.oanda.com/converter/classic?user=newgtc' target='_blank'>Currency Converter</A><BR>Determine the exchange rate before you go!</td></tr>";
		leftNav = leftNav + "				<tr><td><hr width='98%' color='navy'></td></tr>";
		leftNav = leftNav + "		    </table>";
	 return(leftNav);
	};
	
	GTC.prototype.getAd120Tower = function(){
		google_ad_client = 'pub-1029201783584583';
		google_ad_width = 120;
		google_ad_height = 600;
		google_ad_format = '120x600_as';
		google_ad_channel ='';
		google_color_border = '000080';
    	google_color_bg = 'light blue';
		google_color_link = '000080';
		google_color_url = '4169E1';
		google_color_text = '000080';
	return("<!-- Google 120 x 600 tower variables set -->");
};


	function CountryButtonRollOver(item) {
		item.style.color='black';
		item.style.textDecoration='underline';
		item.style.weight='bold';
		document.body.style.cursor ='hand';
	}
	
	function CountryButtonRollOut(item) {
		item.style.color='navy';
	item.style.textDecoration='none';		
		item.style.fontweight='normal';
		document.body.style.cursor ='default';
	}
	function CountryButtonClick(targetWindow) {
		window.location=targetWindow;
	}
	function DemoCountryButtonClick(targetWindow) {
		window.location='../2004XE/Holidays/colHolidays.htm';
	}
	function CountryOptionButtonRollOver(item) {
		item.style.color='blue';
	 	
		item.style.weight='bold';
		document.body.style.cursor ='hand';
	}
	
	function CountryOptionButtonRollOut(item) {
		item.style.color='navy';
		
		item.style.fontweight='normal';
		document.body.style.cursor ='default';
	}
	function CountryOptionButtonClick(targetWindow) {
		window.location=targetWindow;
	}

	function ObservingCountryRollOver(item) {
		item.style.color='navy';
	
		item.style.weight='bold';
		document.body.style.cursor ='hand';
	}
	
	function ObservingCountryRollOut(item) {
		item.style.color='maroon';
	
		item.style.fontweight='normal';
		document.body.style.cursor ='default';
	}
	
	function ObservingCountryClick(targetWindow) {
		window.location=targetWindow;
	}
	
	function ObservingCountryDemoClick(targetWindow) {
		window.location='Holidays/colHolidays.htm';
	}
	
	function LeftNavRollOver(item) {
		item.style.weight='bold';
item.style.color='black';

	item.style.textDecoration='underline';
		document.body.style.cursor ='hand';
	}
	
	function LeftNavRollOut(item) {
	item.style.textDecoration='none';
		item.style.color='navy';
		document.body.style.cursor ='default';
	}
	function LeftNavClick(targetWindow) {
		window.location=targetWindow;
	}

	
	function GiftRollOver(item) {
	
		document.body.style.cursor ='hand';
	}
	
	function GiftRollOut(item) {
	
		document.body.style.cursor ='default';
	}
	function MagellanGiftClick(productID) {
//		var baseAddress = "http://www.magellans.com/jump.jsp?itemType=PRODUCT&iProductID=";
//		var target = baseAddress + productID + "&PID=1151862";
//		var target = "http://www.qksrv.net/interactive?aid=51765&pid2=1151862"
		window.alert("Sorry, link is inactive");
//		window.open(target);
	}


	function setStatusLine(country, option) {
		status='help me please ' + country;
	}
	
	function setHistory(page) {
		if (page == 'Home') {
			historyArray.length=0;
			historyArray[0]='Home';
			for (var i=0; i < historyArray.length; i++) {
			}
		} else {
			historyArray[historyArray.length]=page;
			for (var i=0; i < historyArray.length; i++) {
				alert(historyArray[i]);
			}
		}
	}
	// Object myDate
	function myDate() {
		this.dateObject = new Date(); 
		this.dayNumber = this.dateObject.getDate();
		this.monthNumber = this.dateObject.getMonth();
	};
	
	myDate.prototype.getFormattedTime = function() {
			hours = this.dateObject.getHours();
			minutes = this.dateObject.getMinutes();
			ampm = ' AM';
			if (hours > 11) {
				ampm = ' PM';
			}
			if (minutes < 10) {
				minutes = '0' + minutes;
			}
			if (hours > 12) {
				hours = hours - 12;
			}
		return(hours + ':' + minutes + ampm);
	};
	myDate.prototype.getDayOfWeek = function(){
		switch (this.getDay()) {
			case 1:
				return('Monday');
			case 2:
				return('Tuesday');
			case 3:
				return('Wednesday');
			case 4:
				return('Thursday');
			case 5:
				return('Friday');
			case 6:
				return('Saturday');
			case 0:
				return('Sunday');
		}
	};
	myDate.prototype.getDate = function(){
		return(this.dayNumber);
	};
	myDate.prototype.getFullYear = function() {
		return(this.dateObject.getFullYear());
	};

	myDate.prototype.getDay = function() {
		return (this.dateObject.getDay());
	};

	myDate.prototype.getMonthName = function() {
		switch (this.monthNumber) {
			case 0:
				return('January');
			case 1:
				return('February');
			case 2:
				return('March');
			case 3:
				return('April');
			case 4:
				return('May');
			case 5:
				return('June');
			case 6:
				return('July');
			case 7:
				return('August');
			case 8:
				return('September');
			case 9:
				return('October');
			case 10:
				return('November');
			case 11:
				return('December');
		}
	return('');
	};
	
	function GTC() {
		this.imagePath = "";
		this.leftLogo = "kissbow14.jpg";
		this.rightLogo = "gtc2.jpg";
		this.countryName = "";
		this.flagImage = "";
		this.mapImage = "";
		this.bigMapImage = "";
		
	};

	GTC.prototype.setLeftLogo = function(logo) {
		this.leftLogo = logo;
	};

	GTC.prototype.setRightLogo = function(logo) {
		this.rightLogo = logo;
	};

	GTC.prototype.getGTCHeader = function(imagePath,me) {
		aDate = new myDate();
		formattedDateTime = aDate.getFormattedTime() + ' | '  + aDate.getDayOfWeek() + ',  ' + aDate.getDate() + ' ' + aDate.getMonthName() + ' '  + aDate.getFullYear();
		header = "";
		header = header + "<!-- Begin GTC header  -->";
		header = header + "<!-- Begin TCM header  -->";
		header = header + "<!-- Begin GTC header  -->";
		header = header + "<CENTER>";
		header = header + "<TABLE class='GTCHeader'>";
/*		header = header + "		<tr>";
		header = header + "			<td valign='top' align='left' width='75%'>";
		header = header + "				<img width='480' height='90' src='" + imagePath + this.leftLogo + "' ALT='" + imagePath + this.leftLogo + "'>";
		header = header + "			</td>";
		header = header + "			<td valign='middle' align='right' width='25%'>";
		header = header + "				<img src='" + imagePath + this.rightLogo + "' alt='" + imagePath + this.rightLogo + "'>";
		header = header + "			</td>";
		header = header + "		</tr>";*/
		header = header + "	</table>";
	/*	header = header + "	<table border='0' width='100%'>";
		header = header + "		<tr>";
		header = header + "			<td class='indexLeft'>Contents</td>";
		header = header + "			<td class='indexCenter' >The Online Global Business Guide</td>";
		header = header + "			<td class='indexRight'>"                              + formattedDateTime + "</td>";
		header = header + "		</tr>";
*/		header = header + "<table bgcolor='b4cdcd'><tr><td width='900'>";
		header = header + "<table align='center' cellpadding='2'  cellspacing='1'>";
		header = header + "<tr><td align='center' valign='top' width='150'>";
		header = header + "<span class='stylekbsh7'><em>Kiss, Bow<br>or<br>Shake<br>Hands</em></span>";
		header = header + "<br><br>by Terri Morrison <br>and Wayne A. Conaway </td>";
		header = header + "<td><img src='http://www.getcustoms.com/Images/KissBow75.jpg' width='140' alt='KBSH'></td>";
		header = header + "<td><img src='http://www.getcustoms.com/Images/KbshAsia.jpg' width='120' alt='KBSH: Asia'></td>";
		header = header + "<td><img src='http://www.getcustoms.com/Images/KbshEurope.jpg' width='120' alt='KBSH: Europe'></td>";
		header = header + "<td><img src='http://www.getcustoms.com/Images/KbshLA.jpg' width='120' alt='KBSH: Latin America'></td>";
		header = header + "<td><a href='http://www.stellarsurvey.com/s.aspx?u=50A3E793-4A8E-4E17-988A-EBD68D33A294&'><img src='http://www.getcustoms.com/Images/banner_survey1_2009.gif' width='120' height='184' border='0' alt='Win a Signed Copy of Kiss, Bow or Shake Hands!'></a></td></tr>";
		header = header + "<tr><td valign='middle'> </td><td>The worldwide edition	</td>";
		header = header + "<td class='indexCenter2' colspan='3' align='center' valign='top'>The three regional versions</td></tr>";
		header = header + "</table></td></tr></table>";
		header = header + "	</table>";
		header = header + "</center>      ";
		header = header + "<!-- End GTC header  -->";
	return(header);
	}
	
	GTC.prototype.getGTCFooter = function() {
		aDate = new myDate();
		footer = "";
		footer = footer + "<!-- Begin GTC Footer  -->";
		footer = footer + "<center>";
		footer = footer + "		  <table border='0' width='100%' align='center'>";
		footer = footer + "		  	   <!-- Separator Line -->";
		footer = footer + "			   <tr><td colspan='99' bgcolor='NAVY'></td></tr>";
		footer = footer + "			   <tr><td class='footer'>&copy Copyright 1990–" + aDate.getFullYear() + ", Getting Through Customs. All rights reserved.</td></tr>";
		footer = footer + "			   <tr><td class='footer'>This data, or parts thereof, may not be reproduced in any form without permission from Getting Through Customs.</td></tr>";
		footer = footer + "			   <tr><td class='footer'>Getting Through Customs offers <a href='http://www.terrimorrison.com'>seminars</a>, <a href='http://www.GetCustoms.com/2004GTC/database.html'>online reference tools</a>, <a href='http://www.GetCustoms.com/2004GTC/books.html'>best-selling books</a>, and <a href='http://www.GetCustoms.com/2004GTC/gifts.html'>culturally correct gifts</a> for the business traveller. </td></tr>";
		footer = footer + "			   <tr><td class='footer'>For more information  <a href='http://www.GetCustoms.com'>visit our website </a></td></tr>";
		footer = footer + "			   <!--				<tr><td class='footer'>Contact Information</td></tr>  -->";
		footer = footer + "	 	</table>";
		footer = footer + "		<table border='0' width='100%' align='center'>";
		footer = footer + "			 <tr>";
		footer = footer + "			     		<td class='footer'>Contact Information:</td>";
		footer = footer + "					<td class='footer'>Voice - (610) 725-1040</td>";
		footer = footer + "					<td  class='footer'>FAX - (801) 516-8774</td>";
		footer = footer + "					<td class='footer'>E-mail - <a href='mailto:TerriMorrison@GetCustoms.com?subject=GetCustoms'>TerriMorrison@GetCustoms.com</a></td>";
		footer = footer + "    			</tr>";
		footer = footer + "		</table>";
		footer = footer + "</center>";
		footer = footer + "<!-- End GTC Footer  -->";
	return(footer);
	};
	
	GTC.prototype.getGTCLeftNav = function(rootOffset) {
		if (rootOffset == undefined) {
			rootOffset = "";
		}
		leftNav = "";
		leftNav = leftNav + "		<!-- Column one -->";
		leftNav = leftNav + "	 	<td width='60' valign='top'> ";
		leftNav = leftNav + "		    <table class='leftnav' border='0'>";
		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=LeftNavClick('" + rootOffset + "index.html')>HOME</td></tr>";

		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=LeftNavClick('" + rootOffset + "database.html')>Kiss Bow:Online Database</td></tr>";
				leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=window.open('http://www.terriMorrison.com')>Seminars</td></tr>";
		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=LeftNavClick('" + rootOffset + "books.html')>Books</td></tr>";
		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=LeftNavClick('" + rootOffset + "holidays.html')>Holiday Guide</td></tr>";
				leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=window.open('" + rootOffset + "publicity.html')>Publicity</td></tr>";
						leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=window.open('" + rootOffset + "endorsements.html')>Endorsements</td></tr>";
		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=LeftNavClick('" + rootOffset + "articles.html')>Articles</td></tr>";
		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=LeftNavClick('" + rootOffset + "quiz.html')>Quizzes</td></tr>";
		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=LeftNavClick('" + rootOffset + "gifts.html')>Gifts </td></tr>";
		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=LeftNavClick('" + rootOffset + "about.html')>About Us</td></tr>";
		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=LeftNavClick('mailto:TerriMorrison@GetCustoms.com?subject=GetCustoms')>Contact</td></tr>";
		leftNav = leftNav + "				<tr><td><br><hr width='98%' color='navy'><br></td></tr>";
		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this)  onmouseout=LeftNavRollOut(this)  onclick=LeftNavClick('" + rootOffset + "articles.html')>Read tips on doing business internationally, and articles on the important role cultural differences play in the global marketplace.</td></tr>";
		leftNav = leftNav + "				<tr><td><br><hr width='98%' color='navy'><br></td></tr>";
		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this)><A HREF='http://www.oanda.com/converter/classic?user=newgtc' target='_blank'>Currency Converter</A><BR>Determine the exchange rate before you go!</td></tr>";
		leftNav = leftNav + "				<tr><td><br><hr width='98%' color='navy'><br></td></tr>";
		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this)>Take the holidays off!<BR>Every holiday!  with the<br> <A HREF='" + rootOffset + "holidays.html'>2004 World Holiday<BR>and Time Zone Guide</A><BR>from<BR>Getting Through Customs<br></td></tr>";
		leftNav = leftNav + "				<tr><td><br><hr width='98%' color='navy'><br></td></tr>";
		leftNav = leftNav + "			</table>"; 
		leftNav = leftNav + "		</td>";  
		leftNav = leftNav + this.addVerticalSpacer();
	 return(leftNav);
	};

	
	

	


	GTC.prototype.getXECountryHome = function(countryName,flagImage,map,timeZones) {
		if (timeZones == undefined) {
			timeZones = "";
		}
		leftNav = "";
		leftNav = leftNav + "<td valign='top'>";
		leftNav = leftNav + "<TABLE class='XEmain'>";
		leftNav = leftNav + "	<TR valign='top'>";
		leftNav = leftNav + "	<TD class='XEmain'><h1><font size='+2'>" + countryName + "</font></h1></td>";
       	leftNav = leftNav +  "	<Td width='25px'>&nbsp;</td>";
       	leftNav = leftNav +  "		<td class='XEmain'>";
     	if (timeZones.length) {
	       	leftNav = leftNav + "		<table class='XEmain'>";
	      	leftNav = leftNav + "   		<tr colspan='99'><td class='red12pt'>Time Zones:</td></tr>";
	      	newRow = 0;
	      	leftNav = leftNav + "   		<tr><td class='timeZone'>";
	      	for (i=0; i < timeZones.length; i++){
      			if (timeZones.charAt(i) == "^") {
      				if (newRow == 1) {
				       	leftNav = leftNav + "		</td></tr><tr><td class='timeZone'>";
				       	newRow = 0;
				    } else {
		    	  		leftNav = leftNav + "</td>";
		    	  		leftNav = leftNav + "<td class='timeZone'>&nbsp;&nbsp;";
		    	  		newRow = 1;
		    	  	}
			     } else {
		           	leftNav = leftNav + timeZones.charAt(i);
	    	    }
	    	}
	       	leftNav = leftNav +  "</td></tr></table>";
	    }
       	leftNav = leftNav +  "		</td>";
      	leftNav = leftNav +  "</tr>";
		leftNav = leftNav + "	<tr valign='top'>";
     	leftNav = leftNav + "	<td>&nbsp;&nbsp;&nbsp;&nbsp;<IMG SRC='../XEImages/flags/" + flagImage + "' Alt='../XEImages/flags/" + flagImage + "' align='center' border='0'></td>";
       	leftNav = leftNav +  "	<td width='25px'>&nbsp;</td>";
       	leftNav = leftNav +  "	<Td class='XEmain' border='0'><IMG SRC='../XEImages/maps/" + map + "' Alt='../XEImages/maps/" + map + "' border='0'></td>";
		leftNav = leftNav + "	</tr>";
		leftNav = leftNav + "	<tr><td colspan=5><a class='small' href='http://www.3dflags.com/' target='_blank'><br><br>3D Animated Flags Courtesy of 3DFlags.com</A></td></tr>";
      	leftNav = leftNav +  "</table>";
      	leftNav = leftNav +  "	</td>";
	  return(leftNav);
};

	
	
	GTC.prototype.addVerticalSpacer = function() {
		leftColumn = "";
		leftColumn = leftColumn + "	<!-- Vertical Spacer spannning all rows -->";
		leftColumn = leftColumn + "<td valign='left' width='1px' rowspan='99' colspan='1' bgcolor='white'></td>";
		leftColumn = leftColumn + "<td valign='left' width='1px' rowspan='99' colspan='1' bgcolor='navy'></td>";
		leftColumn = leftColumn + "<td valign='left' width='1px' rowspan='99' colspan='1' bgcolor='white'></td>";
		leftColumn = leftColumn + "	<!-- End vertical Spacer bar -->";
	return(leftColumn);
	};
	
	GTC.prototype.addMainTableItem = function(addData) {
		mainTableData = "";
		mainTableData = "<td valign='top'>";
		mainTableData = mainTableData + addData;
		mainTableData = mainTableData + "</td>";
	return(mainTableData);
	};