
function validate(fobj)
{
   if(fobj.request_amount.value==''){
      alert('Please fill the Amount you wish to borrow field');
	  fobj.request_amount.focus();
	  return false;
   }
   if(fobj.property_value.value==''){
      alert('Please fill the Property value field');
	  fobj.property_value.focus();
	  return false;
   }
   if(fobj.mortgage.value==''){
      alert('Please fill the Outstanding mortgage field');
	  fobj.mortgage.focus();
	  return false;
   }
   if(fobj.fname.value==''){
      alert('Please fill the First name field');
	  fobj.fname.focus();
	  return false;
   }
   if(fobj.surname.value==''){
      alert('Please fill the Surname field');
	  fobj.surname.focus();
	  return false;
   }
   if(fobj.home_phone.value==''){
      alert('Please fill the Home telephone field');
	  fobj.home_phone.focus();
	  return false;
   }
   if(fobj.work_phone.value==''){
      alert('Please fill the Work telephone field');
	  fobj.work_phone.focus();
	  return false;
   }
   if(fobj.mobile_phone.value==''){
      alert('Please fill the Mobile telephone field');
	  fobj.mobile_phone.focus();
	  return false;
   }
   if(fobj.best_phone.value==''){
      alert('Please fill the Best number to call field');
	  fobj.best_phone.focus();
	  return false;
   }
   if(fobj.email.value==''){
      alert('Please fill the Email field');
	  fobj.email.focus();
	  return false;
   }
   if(!is_email(fobj.email.value)){
      alert('Please fill the proper Email');
	  fobj.email.focus();
	  return false;
   }
   if(fobj.adverse_credit.value==''){
      alert('Please fill the Adverse credit field');
	  fobj.adverse_credit.focus();
	  return false;
   }
   if(fobj.more_info.value==''){
      alert('Please fill the More information field');
	  fobj.more_info.focus();
	  return false;
   }
   
}

