// JavaScript Document
 function confirmSubmit()
    {
      var Message = "Sorry, you must fill in the following details: \n";
	  var EmailAddress = FrmInquiry.email.value;
	  var EmailLength = FrmInquiry.email.value.length;
	  var Address = FrmInquiry.Address.value.length;

      if (FrmInquiry.realname.value.length == 0)
      {
        Message = Message + "- Your Name \n";
      }
	   if (FrmInquiry.realname.value == FrmInquiry.Address.value)
      {
        Message = Message + "All as your inputs appear to be duplicated \n";
      }
	  if (FrmInquiry.Phone.value.length == 0)
	  {
        Message = Message + "- A contact phone number \n";
      }
	  if (EmailAddress.indexOf('@') < 0 || EmailLength.length < 5 )
		{
			Message = Message + "- A valid Email Address \n";
     	}
	  if (FrmInquiry.Enquiry.value.length == 0)
	 	{
			Message = Message + "- Your enquiry \n";
		}
      if (Message == "Sorry, you must fill in the following details: \n")
      {
         return true ;	
      }
      else
      {
        alert(Message);
        return false;
      }
	}