// checking the newsletter form
function CheckForm()
	{
		if (document.email.name2.value == "")
			{
				alert("Please type in your name");
				document.email.name2.focus();
				return false
			}
		if (document.email.email.value == "")
			{
				alert("Please type in your e-mail address");
				document.email.email.focus();
				return false
			}
		else
			{
				temp = document.email.email.value;
				if (temp.indexOf("@") == -1)
					{
						alert("You forgot the @ sign in your e-mail address");
						document.email.email.focus();
						return false
					}
			}		
	}	
// end of checking function


if (navigator.appName.indexOf('Netscape') != -1) 
	{
		if (navigator.appVersion.substr(0, 1) > 4.7) 
			{
				navName = 'NN';	
			}
		else
			{
				window.document.location.href = "recent.html";
			}	
	}
else
	{	
		navName = 'IE';
	}

var DivArray = new Array("Acapulco","Alaska","Bangkok","Bali","CaboSanLucas","Caribbean","CostaDelSol","Fiji","Finland","Hawaii","HongKong","Dublin","Italy","Kenya","Lisbon","London","Manzanillo","Nashville","NewOrleans","Monaco","RhineRiver","Rio","Russia","Australia","Texas","Switzerland","Tahiti");
var DivArray2 = new Array();
function Show(WhichLayer)
	{	
	if (navName=='IE')
		{
			IELayers = eval("" + WhichLayer + ".style");			
		}	
	else	
		{
			NNLayers = document.getElementById(WhichLayer).style;
		}			

	for (i = 0; i <= 26 ;i ++)
		{	
						
			if(DivArray[i] == WhichLayer)
				{	
					if(DivArray2[i] == ("" + DivArray[i] + "On"))
						{							
							if (navName=='IE')
								{																
									IELayers.display='none';				
									DivArray2[i] = DivArray[i];
									return false;
								}
							else
								{								
									NNLayers.display='none';
									DivArray2[i] = DivArray[i];
									return false;
								}						
						}
					else
						{
							if (navName=='IE')
								{
									IELayers.display='';
								}
							else
								{		
									NNLayers.display='';
									
								}					
							DivArray2[i] = ("" + DivArray[i] + "On");							
						}	
				}	
			else	
				{					
					if (navName=='IE')
						{							
								IELayers.display='';				
						}
					else
						{								
								NNLayers.display='';
						}
				}
		}
	}


//Navigation Buttons

{

homeOff = new Image();
homeOff.src = "images/homeOff.gif";
homeOn = new Image();
homeOn.src = "images/homeOn.gif";

aboutOff = new Image();
aboutOff.src = "images/aboutOff.gif";
aboutOn = new Image();
aboutOn.src = "images/aboutOn.gif";

itravelOff = new Image();
itravelOff.src = "images/itravelOff.gif";
itravelOn = new Image();
itravelOn.src = "images/itravelOn.gif";

servicesOff = new Image();
servicesOff.src = "images/servicesOff.gif";
servicesOn = new Image();
servicesOn.src = "images/servicesOn.gif";

destinationOff = new Image();
destinationOff.src = "images/destinationOff.gif";
destinationOn = new Image();
destinationOn.src = "images/destinationOn.gif";

upcomingOff = new Image();
upcomingOff.src = "images/upcomingOff.gif";
upcomingOn = new Image();
upcomingOn.src = "images/upcomingOn.gif";

recentOff = new Image();
recentOff.src = "images/recentOff.gif";
recentOn = new Image();
recentOn.src = "images/recentOn.gif";

contactOff = new Image();
contactOff.src = "images/contactOff.gif";
contactOn = new Image();
contactOn.src = "images/contactOn.gif";

tipsOff = new Image();
tipsOff.src = "images/tipsOff.gif";
tipsOn = new Image();
tipsOn.src = "images/tipsOn.gif";

}

function byt(place, imgName) {

document[place].src =eval(imgName + ".src"); 

} 

// Open Window Function
function open_window(url) {
mywin = window.open(url,"window",'scrollbars=yes,resizable=yes,width=650,height=550');
}


// Open 670 Window Function
function open_window2(url) {
mywin = window.open2(url,"window",'scrollbars=yes,resizable=yes,width=670,height=560');
}



// Open 800 Window Function
function open_windowLg(url) {
mywin = window.open(url,"window",'scrollbars=yes,resizable=yes,width=875,height=650');
}
