function Validate(form)
{
    v1=form.categoryname
		if(isblank(v1)==false) 
	{
		alert("your product Name Field Can not be Blank");
		v1.focus(); 
	return false
	}
	

	v1=form.name
		if(isblank(v1)==false) 
	{
		alert("your Name Field Can not be Blank");
		v1.focus(); 
	return false
	}
	

v1=form.address
		if(isblank(v1)==false) 
	{
		alert("your Address Field Can not be Blank");
		v1.focus(); 
	return false
	}


v1=form.country
		if(isblank(v1)==false) 
	{
		alert("your Country Field Can not be Blank");
		v1.focus(); 
	return false
	}
	
	
	
	

v1=form.Tel_NoFax_No
		if(isblank(v1)==false) 
	{
		alert("Tel No/Fax No Can not be Blank");
		v1.focus(); 
	return false
	}
	
	
	v1=form.email
		if(isblank(v1)==false) 
	{
		alert("Email Can not be Blank");
		v1.focus(); 
	return false
	}
	if(isEmail(v1)==false) 
	{
	alert("The email \""+ v1.value+" \"is not valid email");
	v1.focus(); 
	return false;
	}
	
	v1=form.Duration_of_travel
		if(isblank(v1)==false) 
	{
		alert("Duration of travel No Can not be Blank");
		v1.focus(); 
	return false
	}
	
	v1=form.Date_of_Arrival
		if(isblank(v1)==false) 
	{
		alert("Date of Arrival No Can not be Blank");
		v1.focus(); 
	return false
	}
	
	
	
	v1=form.date_of_Departure
		if(isblank(v1)==false) 
	{
		alert("Date of Departure No Can not be Blank");
		v1.focus(); 
	return false
	}
	
	
		v1=form.Adults
		if(isblank(v1)==false) 
	{
		alert("Adults Field Can not be Blank");
		v1.focus(); 
	return false
	}
	
	
	
	v1=form.Children
		if(isblank(v1)==false) 
	{
		alert("Children Field Can not be Blank");
		v1.focus(); 
	return false
	}
	
	
	
	
	v1=form.Preferences
		if(isblank(v1)==false) 
	{
		alert("Preferences Field Can not be Blank");
		v1.focus(); 
	return false
	}
	
return true;
}

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
   }
}


