setInterval("window.status='Lanzarote Luxury'",10);
//window.status='Lanzarote Luxury';
function echeck(){
if (!validEmail(form1.email.value)) {
	alert("Invalid email address. Please correct and re-submit")
	form1.email.focus()
	form1.email.select()
	return false
	}
return true
}
function validEmail(email) {
invalidChars = " /:,;"
if (email == "") {
	return false
	}
for (i=0; i<invalidChars.length; i++) {
	badChar = invalidChars.charAt(i)
	if (email.indexOf(badChar,0) > -1) {
		return false
		}
	}
atPos = email.indexOf("@",1)
if (atPos == -1) {
	return false
	}
if (email.indexOf("@",atPos+1) != -1) {
	return false
	}
periodPos = email.indexOf(".",atPos)
if (periodPos == -1) {
	return false
	}
if (periodPos+3 > email.length)	{
	return false
	}
return true
}
function showtime(){
var time=new Date();
var month=new Array(13);
month[1]="January";
month[2]="February";
month[3]="March";
month[4]="April";
month[5]="May";
month[6]="June";
month[7]="July";
month[8]="August";
month[9]="September";
month[10]="October";
month[11]="November";
month[12]="December";
var smonth=month[time.getMonth() + 1];
var date=time.getDate();
var year=time.getYear();
if (year < 2000) year = year + 1900;
document.write(date+"  "+smonth+"  "+year);
//document.write("" + smonth + " ");
//document.write(date + "  " + year);
}
function displayPics(n){
	if(a>n){a=0}
	document.im0.src=ads[a]
	a++
	if(b>n){b=0}
	document.im1.src=ads[b]
	b++
	if(c>n){c=0}
	document.im2.src=ads[c]
	c++
	//if(d>n){d=0}
	//document.im3.src=ads[d]
	//d++
	setTimeout("displayPics(n)",3000)
	}
function chkbung(){
if(document.form1.accommodation.value=='Bungalow'){
	alert('Bungalows are all 2 bedroom and are only located in \n                 Puerto del Carmen');
	}
}