// JavaScript Document
function BW_validate() 
{ 
if (document.quotefrm.name.value=="")
	{
	alert("Please enter your name.")
	document.quotefrm.name.focus()
	return false
	}	
if (document.quotefrm.company.value=="")
	{
	alert("Please enter the name of your Company.")
	document.quotefrm.company.focus()
	return false
	}	
if (document.quotefrm.address1.value=="")
	{
	alert("Please enter your address.")
	document.quotefrm.address1.focus()
	return false
	}
if (document.quotefrm.tel.value=="")
	{
	alert("Please enter your telephone number.")
	document.quotefrm.tel.focus()
	return false
	}
if (document.quotefrm.notifyby[1].checked==true && document.quotefrm.fax.value=="")
	{
	alert("Please enter your fax number so that we can send your quotation.")
	document.quotefrm.fax.focus()
	return false
	}	
if (document.quotefrm.notifyby[2].checked==true && document.quotefrm.email.value=="")
	{
	alert("Please enter your email address so that we can send your quotation.")
	document.quotefrm.email.focus()
	return false
	}	
if (document.quotefrm.collect.value=="")
	{
	alert("Please enter the Collection Point.")
	document.quotefrm.collect.focus()
	return false
	}
if (document.quotefrm.delivery.value=="")
	{
	alert("Please enter the Delivery Point.")
	document.quotefrm.delivery.focus()
	return false
	}	
if (document.quotefrm.pkgs.value=="")
	{
	alert("Please enter the number of packages.")
	document.quotefrm.pkgs.focus()
	return false
	}		
if (document.quotefrm.packagetype[0].checked==false && document.quotefrm.packagetype[1].checked==false && document.quotefrm.packagetype[2].checked==false && document.quotefrm.packagetype[3].checked==false)
	{
	alert("Please indicate the type of package.")
	document.quotefrm.packagetype[0].focus()
	return false
	}	
if (document.quotefrm.grossweight.value=="")
	{
	alert("Please enter the gross weight of the packages.")
	document.quotefrm.grossweight.focus()
	return false
	}
if (document.quotefrm.dimensions.value=="")
	{
	alert("Please enter the cubic volume or the overall dimensions of the packages.")
	document.quotefrm.dimensions.focus()
	return false
	}		
if (document.quotefrm.mode[0].checked==false && document.quotefrm.mode[1].checked==false && document.quotefrm.mode[2].checked==false && document.quotefrm.mode[3].checked==false)
	{
	alert("Please indicate the mode of transport you are looking for.")
	document.quotefrm.mode[0].focus()
	return false
	}
return true				
}