function checkFields() 
{
   missinginfo = "";

   if (document.orderForm.Name.value == "") 
   {
	missinginfo += "\n     -  Name";
   }

   if ((document.orderForm.Email.value == "") || 
   (document.orderForm.Email.value.indexOf('@') == -1) || 
   (document.orderForm.Email.value.indexOf('.') == -1)) 
   {
	missinginfo += "\n     -  Email address";
   }

   if (document.orderForm.Phone.value == "")
   {
   	missinginfo += "\n     -  Phone Number";
   }

   if (document.orderForm.Address.value == "")
   {
   	missinginfo += "\n     -  Address";
   }

   if (document.orderForm.Cost.selectedIndex == 0)
   {
	missinginfo += "\n     -  Property Cost";   
   }

   if (document.orderForm.Type.selectedIndex == 0)
   {
	missinginfo += "\n     -  Property Type";   
   }

   if (document.orderForm.Hold.selectedIndex == 0)
   {
	missinginfo += "\n     -  Freehold, Leasehold, etc?";   
   }

   if (document.orderForm.Selling.selectedIndex == 0)
   {
	missinginfo += "\n     -  I am selling";   
   }

   if (document.orderForm.Capacity.selectedIndex == 0)
   {
	missinginfo += "\n     -  Capacity of the seller";   
   }

   if (document.orderForm.PropertyAddress.value == "")
   {
   	missinginfo += "\n     -  Property Address";
   }

   if (document.orderForm.PropertyPostcode.value == "")
   {
   	missinginfo += "\n     -  Property Postcode";
   }

   if (document.orderForm.PropertyCity.value == "")
   {
   	missinginfo += "\n     -  Property City";
   }

   if (document.orderForm.Bedrooms.selectedIndex == 0)
   {
	missinginfo += "\n     -  Number of Bedrooms";   
   }

   if (missinginfo != "") 
   {
	missinginfo ="_____________________________\n" + "You failed to correctly fill in your:\n" + missinginfo + "\n_____________________________" + "\nPlease re-enter and submit again!";
	alert(missinginfo);
	return false;
   }
   else return true;
}