function Validate(form)
{

v1=form.name
		if(isblank(v1)==false) 
	{
		alert("your Name Can not be Blank");
		v1.focus(); 
	return false
	}

v1=form.address
		if(isblank(v1)==false) 
	{
		alert("Address Can not be Blank");
		v1.focus(); 
	return false
	}

v1=form.city
		if(isblank(v1)==false) 
	{
		alert("City Can not be Blank");
		v1.focus(); 
	return false
	}

v1=form.state
		if(isblank(v1)==false) 
	{
		alert("State Can not be Blank");
		v1.focus(); 
	return false
	}
	
	v1=form.pin
		if(isblank(v1)==false) 
	{
		alert("Zip Can not be Blank");
		v1.focus(); 
	return false
	}
	
	v1=form.country
		if(isblank(v1)==false) 
	{
		alert("Country Can not be Blank");
		v1.focus(); 
	return false
	}
	
	v1=form.phone
		if(isblank(v1)==false) 
	{
		alert("Phone Can not be Blank");
		v1.focus(); 
	return false
	}

	v1=form.phone
		if(isblank(v1)==false) 
	{
		alert("Country Can not be Blank");
		v1.focus(); 
	return false
	}

v1=form.email
		if(isblank(v1)==false) 
	{
		alert("Plz enter your Email");
		v1.focus(); 
	return false
	}
	if(isEmail(v1)==false) 
	{
	alert("The email \""+ v1.value+" \"is not valid email");
	v1.focus(); 
	return false;
	}



v1=form.adult
		if(isblank(v1)==false) 
	{
		alert("Please Enter No of Adult");
		v1.focus(); 
	return false
	}

v1=form.child
		if(isblank(v1)==false) 
	{
		alert("Please Enter No of Childs");
		v1.focus(); 
	return false
	}

v1=form.rooms
		if(isblank(v1)==false) 
	{
		alert("Number of rooms Can not be Blank");
		v1.focus(); 
	return false
	}

v1=form.checkin
		if(isblank(v1)==false) 
	{
		alert("Arrival Date Can not be Blank");
		v1.focus(); 
	return false
	}
	
	v1=form.checkout
		if(isblank(v1)==false) 
	{
		alert("Departure Date Can not be Blank");
		v1.focus(); 
	return false
	}
}

function isblank(s3) 
{
	if (s3.value == "") 
	{
	return false
	}
else 
	{
	return true
   }
}

function isEmail(s2) 
{
	if ((s2.value == "" || s2.value.indexOf('@', 0) == -1) || s2.value.indexOf('.')<5) 
	{
	return false
    }
else {
	return true
     }	
}


