/* author: george.earle.jewell */
/* Generated by AceHTML Freeware http://freeware.acehtml.com */
/* Creation date: 3/31/2004 */
	function LeftNavRollOver(item) {
		item.style.color='white';
	 	item.style.background='navy';
		item.style.fontsize='10'
		document.body.style.cursor ='hand';
	}
	
	function LeftNavRollOut(item) {
		item.style.color='navy';
		item.style.background='#b4cdcd';
		document.body.style.cursor ='default';
	}
	function LeftNavClick(targetWindow) {
		window.location=targetWindow;
	}

	// 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 TCM() {
		this.imagePath = "";
		this.leftLogo = "tcmlogo.gif";
		this.rightLogo = "TCM2.jpg";
	}

	TCM.prototype.setLeftLogo = function(logo) {
		this.leftLogo = logo;
	}

	TCM.prototype.setRightLogo = function(logo) {
		this.rightLogo = logo;
	}

	TCM.prototype.getTCMHeader = function(imagePath) {
		if (imagePath == undefined) {
			imagePath = "";
		}
		aDate = new myDate();
		formattedDateTime = aDate.getFormattedTime() + ' | '  + aDate.getDayOfWeek() + ',  ' + aDate.getDate() + ' ' + aDate.getMonthName() + ' '  + aDate.getFullYear();
		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 width='150'></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  -->";
	/*	header = header + "<CENTER>";
		header = header + "<TABLE border='0' WIDTH='100%' align='center'>";
		header = header + "		<tr><td>&nbsp;</td>";
		header = header + "			<td valign='top' align='center' width='15%'>";
		header = header + "				<img src='" + imagePath + this.leftLogo + "' ALT='" + imagePath + this.leftLogo + "' align='center'>";
		header = header + "			</td>";
		header = header + "		<td>&nbsp;</td></tr>";
		header = header + "	</table>";
		header = header + "	<table border='0' width='100%'>";
		header = header + "		<tr>";
		header = header + "			<td class='indexLeft'>&nbsp;</td>";
		header = header + "			<td class='indexCenter'>The e-content and training firm for international travelers</td>";
		header = header + "			<td class='indexRight'>" + formattedDateTime + "</td>";
		header = header + "		</tr>";
		header = header + "	</table>";
		header = header + "</center>      ";
		header = header + "<!-- End TCM header  -->";*/
	return(header);
	}
	
	TCM.prototype.getTCMFooter = function() {
		aDate = new myDate();
		footer = "";
		footer = footer + "<!-- Begin TCM 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&#150;" + 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='index.html'>seminars</a>, <a href='http://www.GetCustoms.com/2004GTC/database.html' target='_blank'>online reference tools</a>, <a href='books.html'>best-selling books</a>, and <a href='http://www.GetCustoms.com/2004GTC/gifts.html' target='_blank'>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 - (800) 529-8167</td>";
		footer = footer + "					<td class='footer'>E-mail - <a href='mailto:TerriMorrison@GetCustoms.com?subject=Kiss, Bow or Shake Hands'>TerriMorrison@GetCustoms.com</a></td>";
		footer = footer + "    			</tr>";
		footer = footer + "		</table>";
		footer = footer + "</center>";
		footer = footer + "<!-- End TCM Footer  -->";
	return(footer);
	}
	

	TCM.prototype.getTCMLeftNav = function() {
		leftNav = "";
		leftNav = leftNav + "		<!-- Column one -->";
		leftNav = leftNav + "	 	<td width='102' valign='top'> ";
		leftNav = leftNav + "		    <table class='leftnav' border='0'>";
		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=LeftNavClick('index.html')>Terri Morrison Home</td></tr>";
		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=LeftNavClick('bio.html')>Biography</td></tr>";
		leftNav = leftNav + "				<tr><td  class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=LeftNavClick('books.html')>Books</td></tr>";
		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=LeftNavClick('references.html')>References</td></tr>";
		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=window.open('http://www.getcustoms.com/2004GTC/about.html')>About GTC</td></tr>";
		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=window.open('http://www.getcustoms.com')>GTC Home</td></tr>";
		leftNav = leftNav + "				<tr><td class='leftnav' onmouseover=LeftNavRollOver(this) onmouseout=LeftNavRollOut(this) onClick=LeftNavClick('mailto:TerriMorrison@GetCustoms.com?subject=Kiss,_Bow,_or_Shake_Hands')>Contact</td></tr>";
		leftNav = leftNav + "			</table>";
		leftNav = leftNav + "		</td>";
		leftNav = leftNav + this.addVerticalSpacer();
	return(leftNav);
	}
	
	
	
	TCM.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='3px' rowspan='99' colspan='1' bgcolor='white'></td>";
		leftColumn = leftColumn + "	<!-- End vertical Spacer bar -->";
	return(leftColumn);
	}