function menu_preloader() 
{
	imgHome = new Image(); 
	imgHome.src = "img/it_nav_home_u.png";
	imgRooms = new Image(); 
	imgRooms.src = "img/it_nav_rooms_u.png";
	imgGallery = new Image(); 
	imgGallery.src = "img/it_nav_gallery_u.png";
	imgServices = new Image(); 
	imgServices.src = "img/it_nav_services_u.png";
	imgActivities = new Image(); 
	imgActivities.src = "img/it_nav_activities_u.png";
	imgContact = new Image(); 
	imgContact.src = "img/it_nav_contact_u.png";
	imgLocation = new Image(); 
	imgLocation.src = "img/it_nav_location_u.png";
	imgRates = new Image(); 
	imgRates.src = "img/it_nav_rates_u.png";
	imgBooknow = new Image(); 
	imgBooknow.src = "img/it_nav_booknow_u.png";
}

function imgswap(menuItem, uline) 
{
	switch(menuItem)
	{
		case "lihome":
			if(uline)
				document.getElementById(menuItem).style.backgroundImage="url('img/it_nav_home_u.png')";
			else
				document.getElementById(menuItem).style.backgroundImage="url('img/it_nav_home.png')";
			break;
		case "lirooms":
			if(uline)
				document.getElementById(menuItem).style.backgroundImage="url('img/it_nav_rooms_u.png')";
			else
				document.getElementById(menuItem).style.backgroundImage="url('img/it_nav_rooms.png')";
			break;
		case "ligallery":
			if(uline)
				document.getElementById(menuItem).style.backgroundImage="url('img/it_nav_gallery_u.png')";
			else
				document.getElementById(menuItem).style.backgroundImage="url('img/it_nav_gallery.png')";
			break;
		case "liservices":
			if(uline)
				document.getElementById(menuItem).style.backgroundImage="url('img/it_nav_services_u.png')";
			else
				document.getElementById(menuItem).style.backgroundImage="url('img/it_nav_services.png')";
			break;
		case "liactivities":
			if(uline)
				document.getElementById(menuItem).style.backgroundImage="url('img/it_nav_activities_u.png')";
			else
				document.getElementById(menuItem).style.backgroundImage="url('img/it_nav_activities.png')";
			break;
		case "licontact":
			if(uline)
				document.getElementById(menuItem).style.backgroundImage="url('img/it_nav_contact_u.png')";
			else
				document.getElementById(menuItem).style.backgroundImage="url('img/it_nav_contact.png')";
			break;
		case "lilocation":
			if(uline)
				document.getElementById(menuItem).style.backgroundImage="url('img/it_nav_location_u.png')";
			else
				document.getElementById(menuItem).style.backgroundImage="url('img/it_nav_location.png')";
			break;
		case "lirates":
			if(uline)
				document.getElementById(menuItem).style.backgroundImage="url('img/it_nav_rates_u.png')";
			else
				document.getElementById(menuItem).style.backgroundImage="url('img/it_nav_rates.png')";
			break;
		case "libooknow":
			if(uline)
				document.getElementById(menuItem).style.backgroundImage="url('img/it_nav_booknow_u.png')";
			else
				document.getElementById(menuItem).style.backgroundImage="url('img/it_nav_booknow.png')";
			break;
	}
}
