
	if (document.images) {

		// Cache images

		i1_on = new Image();
		i1_on.src = "/splash_images/india_bottom2.gif";
		i1_off = new Image();
		i1_off.src = "/splash_images/india_bottom2_h.gif";

		e1_on = new Image();
		e1_on.src = "/splash_images/egypt_bottom2.gif";
		e1_off = new Image();
		e1_off.src = "/splash_images/egypt_bottom2_h.gif";

	}

	function imgOn(imgName) {
		if (document.images) {
			document[imgName].src = eval(imgName + "_on.src");
		}
	}

	function imgOff(imgName) {
		if (document.images) {
			document[imgName].src = eval(imgName + "_off.src");
		}
	}


	function printLayers() {

		////// ABOUT GOA MENU
		document.write('<layer id="menu1" position="absolute" top="83" left="218" width="309" height="163" visibility="hidden">');
		printAboutGoaMenu();
		document.write('</layer>');

		////// OUR HOLIDAYS MENU
		document.write('<layer id="menu2" position="absolute" top="60" left="303" width="309" height="163" visibility="hidden">');
		printOurHolidaysMenu();
		document.write('</layer>');

		////// TOURS OF INDIA MENU
		document.write('<layer id="menu3" position="absolute" top="45" left="392" width="309" height="163" visibility="hidden">');
		printToursOfIndiaMenu();
		document.write('</layer>');

		////// ESSENTIAL READING MENU
		document.write('<layer id="menu4" position="absolute" top="41" left="482" width="309" height="163" visibility="hidden">');
		printEssentialReadingMenu()
		document.write('</layer>');
	}

	function printOther() {

		////// ABOUT GOA MENU
		document.write('<div id="menu1" style="position:absolute;left:218;top:83;width:309;height:163;visibility:hidden;">');
		printAboutGoaMenu();
		document.write('</div>');

		////// OUR HOLIDAYS MENU
		document.write('<div id="menu2" style="position:absolute;left:303;top:60;width:309;height:163;visibility:hidden;">');
		printOurHolidaysMenu();
		document.write('</div>');

		////// TOURS OF INDIA MENU
		document.write('<div id="menu3" style="position:absolute;left:392;top:45;width:309;height:163;visibility:hidden;">');
		printToursOfIndiaMenu();
		document.write('</div>');

		////// ESSENTIAL READING MENU
		document.write('<div id="menu4" style="position:absolute;left:482;top:41;width:309;height:163;visibility:hidden;">');
		printEssentialReadingMenu()
		document.write('</div>');
	}

	function printAboutGoaMenu() {
		document.write('<table width="189" cellpadding="0" cellspacing="0" border="0">');
		document.write('	<tr>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="57" border="0" alt=""></a></td>');
		document.write('		<td width="189" height="57" valign="middle" background="/images/dropdown_header2.gif">');
		document.write('			<table width="189" cellpadding="10" cellspacing="0" border="0"><tr><td background=""><img src="/images/aboutgoaheading.gif"></td></tr></table>');
		document.write('		</td>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src="/images/pixel.gif" width="60" height="57" border="0" alt=""></a></td>');
		document.write('	</tr>');
		document.write('	<tr>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="27" border="0" alt=""></a></td>');
		document.write('		<td width="189" height="27" background="/images/rung.gif"><span class="navtext"><img src="/images/pixel.gif" width="10" height="1" alt=""><a class="navlink" href="/index.html">Welcome</a></span></td>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="27" border="0" alt=""></a></td>');
		document.write('	</tr>');
		document.write('	<tr>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="27" border="0" alt=""></a></td>');
		document.write('		<td width="189" height="27" background="/images/rung.gif"><span class="navtext"><img src="/images/pixel.gif" width="10" height="1" alt=""><a class="navlink" href="/introtogoa.html">Goa in a Nutshell</a></span></td>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="27" border="0" alt=""></a></td>');
		document.write('	</tr>');
		document.write('	<tr>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="27" border="0" alt=""></a></td>');
		document.write('		<td width="189" height="27" background="/images/rung.gif"><span class="navtext"><img src="/images/pixel.gif" width="10" height="1" alt=""><a class="navlink" href="/resortsandbeaches.html">Resorts &amp; Beaches</a></span></td>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="27" border="0" alt=""></a></td>');
		document.write('	</tr>');
		document.write('	<tr>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="27" border="0" alt=""></a></td>');
		document.write('		<td width="189" height="27" background="/images/rung.gif"><span class="navtext"><img src="/images/pixel.gif" width="10" height="1" alt=""><a class="navlink" href="/thingstodo.html">Things to Do</a></span></td>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="27" border="0" alt=""></a></td>');
		document.write('	</tr>');
		document.write('	<tr>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="27" border="0" alt=""></a></td>');
		document.write('		<td width="189" height="27" background="/images/rung.gif"><span class="navtext"><img src="/images/pixel.gif" width="10" height="1" alt=""><a class="navlink" href="/localexcursions.html">Local Excursions</a></span></td>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="27" border="0" alt=""></a></td>');
		document.write('	</tr>');
		document.write('	<tr>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="27" border="0" alt=""></a></td>');
		document.write('		<td width="189" height="27" background="/images/rung.gif"><span class="navtext"><img src="/images/pixel.gif" width="10" height="1" alt=""><a class="navlink" href="/travellersguide.html">Travellers\' Tips</a></span></td>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="27" border="0" alt=""></a></td>');
		document.write('	</tr>');
		document.write('	<tr>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="28" border="0" alt=""></a></td>');
		document.write('		<td width="189"><img src="/images/dropdown_footer.gif"></td>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="28" border="0" alt=""></a></td>');
		document.write('	</tr>');
		document.write('	<tr>');
		document.write('		<td width="309" colspan="3"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="309" height="60" border="0" alt=""></a></td>');
		document.write('	</tr>');
		document.write('</table>');
	}

	function printOurHolidaysMenu() {
		document.write('<table width="189" cellpadding="0" cellspacing="0" border="0">');
		document.write('	<tr>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="57" border="0" alt=""></a></td>');
		document.write('		<td width="189" height="57" valign="middle" background="/images/dropdown_header2.gif">');
		document.write('			<table width="189" cellpadding="10" cellspacing="0" border="0"><tr><td background=""><img src="/images/ourholidaysheading.gif"></td></tr></table>');
		document.write('		</td>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src="/images/pixel.gif" width="60" height="57" border="0" alt=""></a></td>');
		document.write('	</tr>');
		document.write('	<tr>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="27" border="0" alt=""></a></td>');
		document.write('		<td width="189" height="27" background="/images/rung.gif"><span class="navtext"><img src="/images/pixel.gif" width="10" height="1" alt=""><a class="navlink" href="/cinnamonchoice.html">Cinnamon Choice</a></span></td>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="27" border="0" alt=""></a></td>');
		document.write('	</tr>');
		document.write('	<tr>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="27" border="0" alt=""></a></td>');
		document.write('		<td width="189" height="27" background="/images/rung.gif"><span class="navtext"><img src="/images/pixel.gif" width="10" height="1" alt=""><a class="navlink" href="/saffroncollection.html">The Saffron Collection</a></span></td>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="27" border="0" alt=""></a></td>');
		document.write('	</tr>');
		document.write('	<tr>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="28" border="0" alt=""></a></td>');
		document.write('		<td width="189"><img src="/images/dropdown_footer.gif"></td>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="28" border="0" alt=""></a></td>');
		document.write('	</tr>');
		document.write('	<tr>');
		document.write('		<td width="309" colspan="3"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="309" height="60" border="0" alt=""></a></td>');
		document.write('	</tr>');
		document.write('</table>');
	}

	function printToursOfIndiaMenu() {
		document.write('<table width="189" cellpadding="0" cellspacing="0" border="0">');
		document.write('	<tr>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="57" border="0" alt=""></a></td>');
		document.write('		<td width="189" height="57" valign="middle" background="/images/dropdown_header2.gif">');
		document.write('			<table width="189" cellpadding="10" cellspacing="0" border="0"><tr><td background=""><img src="/images/toursofindiaheading.gif"></td></tr></table>');
		document.write('		</td>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src="/images/pixel.gif" width="60" height="57" border="0" alt=""></a></td>');
		document.write('	</tr>');
		document.write('	<tr>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="27" border="0" alt=""></a></td>');
		document.write('		<td width="189" height="27" background="/images/rung.gif"><span class="navtext"><img src="/images/pixel.gif" width="10" height="1" alt=""><a class="navlink" href="/toursintro.html">Introduction to India</a></span></td>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="27" border="0" alt=""></a></td>');
		document.write('	</tr>');
		document.write('	<tr>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="27" border="0" alt=""></a></td>');
		document.write('		<td width="189" height="27" background="/images/rung.gif"><span class="navtext"><img src="/images/pixel.gif" width="10" height="1" alt=""><a class="navlink" href="/goldentriangle.html">Golden Triangle</a></span></td>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="27" border="0" alt=""></a></td>');
		document.write('	</tr>');
		document.write('	<tr>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="27" border="0" alt=""></a></td>');
		document.write('		<td width="189" height="27" background="/images/rung.gif"><span class="navtext"><img src="/images/pixel.gif" width="10" height="1" alt=""><a class="navlink" href="/maharajahstrail.html">Maharajah\'s Trail</a></span></td>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="27" border="0" alt=""></a></td>');
		document.write('	</tr>');
		document.write('	<tr>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="27" border="0" alt=""></a></td>');
		document.write('		<td width="189" height="27" background="/images/rung.gif"><span class="navtext"><img src="/images/pixel.gif" width="10" height="1" alt=""><a class="navlink" href="/aroundkerala.html">Around Kerala</a></span></td>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="27" border="0" alt=""></a></td>');
		document.write('	</tr>');
		document.write('	<tr>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="28" border="0" alt=""></a></td>');
		document.write('		<td width="189"><img src="/images/dropdown_footer.gif"></td>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="28" border="0" alt=""></a></td>');
		document.write('	</tr>');
		document.write('	<tr>');
		document.write('		<td width="309" colspan="3"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="309" height="60" border="0" alt=""></a></td>');
		document.write('	</tr>');
		document.write('</table>');
	}

	function printEssentialReadingMenu() {
		document.write('<table width="189" cellpadding="0" cellspacing="0" border="0">');
		document.write('	<tr>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="57" border="0" alt=""></a></td>');
		document.write('		<td width="189" height="57" valign="middle" background="/images/dropdown_header2.gif">');
		document.write('			<table width="189" cellpadding="10" cellspacing="0" border="0"><tr><td background=""><img src="/images/essentialreadingheading.gif"></td></tr></table>');
		document.write('		</td>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src="/images/pixel.gif" width="60" height="57" border="0" alt=""></a></td>');
		document.write('	</tr>');
		document.write('	<tr>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="27" border="0" alt=""></a></td>');
		document.write('		<td width="189" height="27" background="/images/rung.gif"><span class="navtext"><img src="/images/pixel.gif" width="10" height="1" alt=""><a class="navlink" href="/terms.html">Booking Terms &amp; Conditions</a></span></td>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="27" border="0" alt=""></a></td>');
		document.write('	</tr>');
		document.write('	<tr>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="27" border="0" alt=""></a></td>');
		document.write('		<td width="189" height="27" background="/images/rung.gif"><span class="navtext"><img src="/images/pixel.gif" width="10" height="1" alt=""><a class="navlink" href="/essentialinfo.html">Important Information</a></span></td>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="27" border="0" alt=""></a></td>');
		document.write('	</tr>');
		document.write('	<tr>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="27" border="0" alt=""></a></td>');
		document.write('		<td width="189" height="27" background="/images/rung.gif"><span class="navtext"><img src="/images/pixel.gif" width="10" height="1" alt=""><a class="navlink" href="/dontforget.html">Don\'t Forget...</a></span></td>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="27" border="0" alt=""></a></td>');
		document.write('	</tr>');
		document.write('	<tr>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="27" border="0" alt=""></a></td>');
		document.write('		<td width="189" height="27" background="/images/rung.gif"><span class="navtext"><img src="/images/pixel.gif" width="10" height="1" alt=""><a class="navlink" href="/privacy.html">Privacy Statement</a></span></td>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="27" border="0" alt=""></a></td>');
		document.write('	</tr>');
		document.write('	<tr>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="28" border="0" alt=""></a></td>');
		document.write('		<td width="189"><img src="/images/dropdown_footer.gif"></td>');
		document.write('		<td width="60"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="60" height="28" border="0" alt=""></a></td>');
		document.write('	</tr>');
		document.write('	<tr>');
		document.write('		<td width="309" colspan="3"><a class="navlink" href="#" onMouseOver="hideAll();"><img src=/images/pixel.gif width="309" height="60" border="0" alt=""></a></td>');
		document.write('	</tr>');
		document.write('</table>');
	}

	function showIt(menu) {

		hideAll();
		if (document.all) {
			document.all[menu].style.visibility = "visible";
		}
		else if (document.getElementById) {
			document.getElementById(menu).style.visibility = "visible";
		}
		else if (document.layers) {
			document.layers[menu].visibility = "visible";
		}
	}

	function hideAll() {
		if (document.all) {
			document.all.menu1.style.visibility = "hidden";
			document.all.menu2.style.visibility = "hidden";
			document.all.menu3.style.visibility = "hidden";
			document.all.menu4.style.visibility = "hidden";
		}
		else if (document.getElementById) {
			document.getElementById('menu1').style.visibility = "hidden";
			document.getElementById('menu2').style.visibility = "hidden";
			document.getElementById('menu3').style.visibility = "hidden";
			document.getElementById('menu4').style.visibility = "hidden";
		}
		else if (document.layers) {
			document.layers.menu1.visibility = "hidden";
			document.layers.menu2.visibility = "hidden";
			document.layers.menu3.visibility = "hidden";
			document.layers.menu4.visibility = "hidden";
		}
	}

	function printEmailAddress() {
		document.write('<a href="mailto:');
		document.write('enquiries');
		document.write('@');
		document.write('cinnamonholidays');
		document.write('.com">');
		document.write('enquiries');
		document.write('@');
		document.write('cinnamonholidays');
		document.write('.com</a>');
	}

	function validateContactForm() {

		var nameID = document.contactForm.Name.value;
		var addressID = document.contactForm["Address 1"].value;
		var emailID = document.contactForm.Email.value;
		var daytimeTelID = document.contactForm["Daytime telephone"].value;
		var eveningTelID = document.contactForm["Evening telephone"].value;

		if ((nameID == null) || (nameID == '') || (nameID == ' ')) {
			alert('Please enter your full name');
			document.contactForm.Name.focus();
			return false;
		}
		else if ((addressID == null) || (addressID == '') || (addressID == ' ')) {
			alert('Please enter your address');
			document.contactForm["Address 1"].focus();
			return false;
		}
		//else if (echeck(emailID) == false) {
			//alert('Please enter a valid email address');
			//document.contactForm.Email.focus();
			//return false;
		//}
		else if ((tCheck(daytimeTelID) == false) && (tCheck(eveningTelID) == false)) {
			alert('Please enter a valid telephone number');
			document.contactForm["Daytime telephone"].focus();
			return false;
		}

		return true;
	}


	function validateTellaFriend() {

		var nameID = document.contactForm.Name.value;
		var friendID = document.contactForm.Name2.value;
		var emailID = document.contactForm.Email.value;
		var friendEmailID = document.contactForm.Email2.value;

		if ((nameID == null) || (nameID == '') || (nameID == ' ')) {
			alert('Please enter your name');
			document.contactForm.Name.focus();
			return false;
		}
		else if (echeck(emailID) == false) {
			alert('Please enter a valid email address');
			document.contactForm.Email.focus();
			return false;
		}
		else if ((friendID == null) || (friendID == '') || (friendID == ' ')) {
			alert('Please enter your friend\'s name');
			document.contactForm.Name2.focus();
			return false;
		}
		else if (echeck(friendEmailID) == false) {
			alert('Please enter a valid email address for your friend');
			document.contactForm.Email2.focus();
			return false;
		}

		return true;
	}

	function validateReservationsForm() {


		var adultsID = document.contactForm["Number of adults"].value;
		var hotelID = document.contactForm.Hotel.options[document.contactForm.Hotel.selectedIndex].value;

		if (hotelID == '') {
			alert('Please select your desired hotel');
			document.contactForm.Hotel.focus();
			return false;
		}
		else if ((adultsID == null) || (adultsID == '') || (adultsID == ' ')) {
			alert('Please enter a valid number of adults');
			document.contactForm["Number of adults"].focus();
			return false;
		}

		return validateContactForm();

		return true;
	}


	function tCheck(str) {
		var valid = 1;
		var GoodChars = "0123456789()-+ ";
		var i = 0;
		if ((str=='') || (str.length < 6)) {
			// Return false if number is empty
			valid = 0;
		}
		for (i =0; i <= str.length -1; i++) {
			if (GoodChars.indexOf(str.charAt(i)) == -1) {
				valid = 0;
			} // End if statement
		} // End for loop
		return valid;
	}


	function echeck(str) {

		var at="@"
		var dot="."
		var lat=str.indexOf(at)
		var lstr=str.length
		var ldot=str.indexOf(dot)
		if (str.indexOf(at)==-1){
	  		return false
		}
		if (str.indexOf(at)==-1 || str.indexOf(at)==0 || str.indexOf(at)==lstr){
			return false
		}

		if (str.indexOf(dot)==-1 || str.indexOf(dot)==0 || str.indexOf(dot)==lstr){
			return false
		}

		if (str.indexOf(at,(lat+1))!=-1){
			return false
		}

		if (str.substring(lat-1,lat)==dot || str.substring(lat+1,lat+2)==dot){
			return false
		}

		if (str.indexOf(dot,(lat+2))==-1){
			return false
		}
		
		if (str.indexOf(" ")!=-1){
			return false
		}

		return true					
	}

	function openWin(page) {

		if (document.all || document.getElementById) {
			var xMax = screen.width;
			var yMax = screen.height;
		}
		else if (document.layers) {
			var xMax = window.outerWidth; 
		    	var yMax = window.outerHeight;
		}
		else {
			var xMax = 800;
			var yMax=600;
		}

		var xOffset = (xMax - 640)/2, yOffset = (yMax - 400)/2;
		newWin = window.open(page,'newWin',config='width=640,height=400,resizable=no,scrollbars=yes,toolbar=no,status=no,screenX='+xOffset+',screenY='+yOffset+',top='+yOffset+',left='+xOffset+'');

		if (newWin) {
			newWin.focus();
			return false;
		}
		else {
			return true;
		}
	}

	function checkPageWidth() {

		if (document.layers) {
			document.write('<layer id="bubble" position="absolute" top="326" left="484" width="299" height="158" visibility="hidden">');
			document.write('<a href="http://www.1stwebdesigns.com"><img src="/images/speechbubble.gif" width="299" height="158" alt="" border="0"></a>');
			document.write('</layer>');
			document.write('<layer id="block" position="absolute" top="83" left="484" width="299" height="158" visibility="hidden">');
			document.write('<a href="http://www.1stwebdesigns.com"><img src="/images/block.gif" width="299" height="158" alt="" border="0"></a>');
			document.write('</layer>');
		}
		else if ((document.all) || (document.getElementById)) {
			result = document.write('<div id="bubble" style="position:absolute;left:484;top:326;width:299;height:158;visibility:hidden;">');
			result = document.write('<a href="http://www.1stwebdesigns.com"><img src="/images/speechbubble.gif" width="299" height="158" alt="" border="0"></a>');
			result = document.write('</div>');
			result = document.write('<div id="block" style="position:absolute;left:484;top:326;width:299;height:158;visibility:hidden;">');
			result = document.write('<a href="http://www.1stwebdesigns.com"><img src="/images/block.gif" width="299" height="158" alt="" border="0"></a>');
			result = document.write('</div>');
		}
	}

	var hiccup = 0;

	function showPageWidth() {

		hiccup = hiccup + 1;

		if (hiccup == 10) {

			if (document.all) {
				document.all["bubble"].style.visibility = "visible";
			}
			else if (document.getElementById) {
				document.getElementById("bubble").style.visibility = "visible";
			}
			else if (document.layers) {
				document.layers["bubble"].visibility = "visible";
			}
		}
	}
