<!--

	if (document.images) {



	forsale_off = new Image;

	forsale_off.src = path+"forsale_off.gif";

	forsale_on = new Image;

	forsale_on.src = path+"forsale_on.gif";



	gioia_giglio_off = new Image;

	gioia_giglio_off.src = path+"gioia_giglio_off.gif";

	gioia_giglio_on = new Image;

	gioia_giglio_on.src = path+"gioia_giglio_on.gif";

	

	holiday_flats_off = new Image;

	holiday_flats_off.src = path+"holiday_flats_off.gif";

	holiday_flats_on = new Image;

	holiday_flats_on.src = path+"holiday_flats_on.gif";

	

	isola_giglio_off = new Image;

	isola_giglio_off.src = path+"isola_giglio_off.gif";

	isola_giglio_on = new Image;

	isola_giglio_on.src = path+"isola_giglio_on.gif";

	

	rates_off = new Image;

	rates_off.src = path+"rates_off.gif";

	rates_on = new Image;

	rates_on.src = path+"rates_on.gif";

	

	contacts_off = new Image;

	contacts_off.src = path+"contacts_off.gif";

	contacts_on = new Image;

	contacts_on.src = path+"contacts_on.gif";



	}



	

	function roll(img,itm)

	{

	document.images[img].src = eval(img + itm+".src");

	}





	function check_fields()

	{

	if (document.sendmail.name.value == "") {alert("Please indicate your full name!"); document.sendmail.name.focus(); return false;}

	if (document.sendmail.email.value == "") {alert("Please indicate your email!"); document.sendmail.email.focus(); return false;}

  	if (document.sendmail.email.value.indexOf("@") == -1) {alert("Please indicate a correct email!"); document.sendmail.email.focus(); return false;}

	if (document.sendmail.telephone.value == "") {alert("Please fill out telephone field!"); document.sendmail.telephone.focus(); return false;}

	if (document.sendmail.country.value == "") {alert("Please indicate your country!"); document.sendmail.country.focus(); return false;}

	if (document.sendmail.flat.value == "") {alert("Please select the apartment!"); document.sendmail.flat.focus(); return false;}

	if (document.sendmail.adults.value == "") {alert("Please indicate the number of adults!"); document.sendmail.adults.focus(); return false;}

	if (document.sendmail.children1.value == "") {alert("Please indicate the number of children!"); document.sendmail.children1.focus(); return false;}

	if (document.sendmail.children2.value == "") {alert("Please indicate the number of infants!"); document.sendmail.children2.focus(); return false;}

  	else return true;  	   	 

  	}





	function makeRemoteFoto(itemFolder)

	{

    	pathPhoto = itemFolder;

    	myurl = pathPhoto;

		remote=window.open(myurl,'photogallery',"height=570,width=500,left=200,top=150,directories=0,fullscreen=0,menubar=0,resizable=0,status=0,titlebar=0,toolbar=0,scrollbars=0");

	}



	

	//-->