<!--hide from old browsers
/********************************************************************************************************
Preloading images: we create an image object, then we give it a gif or jpeg source file.
This file will be loaded into the cache of the browser, which will enable its instant display when it is requested.
The default directory of the images is "images/". Modify the file path if necessary.
********************************************************************************************************/
if (document.images) {

	var homeoff = new Image();
	homeoff.src = "../buttons/spanish/menu_home.gif";
	var homeon = new Image();
	homeon.src =  "../buttons/spanish/menu_home_on.gif";
	var theownersoff = new Image();
	theownersoff.src = "../buttons/spanish/menu_theowners.gif";
	var theownerson = new Image();
	theownerson.src =  "../buttons/spanish/menu_theowners_on.gif";
	var thevillaoff = new Image();
	thevillaoff.src = "../buttons/spanish/menu_thevilla.gif";
	var thevillaon = new Image();
	thevillaon.src =  "../buttons/spanish/menu_thevilla_on.gif";
	var locationoff = new Image();
	locationoff.src = "../buttons/spanish/menu_location.gif";
	var locationon = new Image();
	locationon.src =  "../buttons/spanish/menu_location_on.gif";
	var viewsoff = new Image();
	viewsoff.src = "../buttons/spanish/menu_theisland.gif";
	var viewson = new Image();
	viewson.src =  "../buttons/spanish/menu_theisland_on.gif";
	var pricelistoff = new Image();
	pricelistoff.src = "../buttons/spanish/menu_pricelist.gif";
	var priceliston = new Image();
	priceliston.src =  "../buttons/spanish/menu_pricelist_on.gif";
	var contactoff = new Image();
	contactoff.src = "../buttons/spanish/menu_contactus.gif";
	var contacton = new Image();
	contacton.src =  "../buttons/spanish/menu_contactus_on.gif";
	var reservationsoff = new Image();
	reservationsoff.src = "../buttons/spanish/menu_reservations.gif";
	var reservationson = new Image();
	reservationson.src =  "../buttons/spanish/menu_reservations_on.gif";
	var guestbookoff = new Image();
	guestbookoff.src = "../buttons/spanish/menu_guestbook.gif";
	var guestbookon = new Image();
	guestbookon.src =  "../buttons/spanish/menu_guestbook_on.gif";
	var linksoff = new Image();
	linksoff.src = "../buttons/spanish/menu_links.gif";
	var linkson = new Image();
	linkson.src =  "../buttons/spanish/menu_links_on.gif";
}

/********************************************************************************************************
Rollover functions
********************************************************************************************************/
function getOff(nom)
	{
	if (document.images) {
		document.images[nom].src = eval(nom + 'off').src;
	}
}
function getOn(nom)
	{
	if (document.images) {
		document.images[nom].src = eval(nom + 'on').src;
	}
}
function getDown(nom)
	{
	if (document.images) {
		document.images[nom].src = eval(nom + 'down').src;
	}
}

//-->

