function broker_signup(form) {

  var Full_Name = form.Full_Name.value;
  var Company_Name = form.Company_Name.value;
  var country = form.country.value;
  
  var Email = form.Email.value;



  var nameRegex = /^[a-zA-Z]+(([\'\,\.\- ][a-zA-Z ])?[a-zA-Z]*)*$/;
  var emailRegex = /^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$/;
  var messageRegex = new RegExp(/<\/?\w+((\s+\w+(\s*=\s*(?:".*?"|'.*?'|[^'">\s]+))?)+\s*|\s*)\/?>/gim);



		//--------- name
		if(Full_Name == "") {
			inlineMsg('Full_Name','You must enter your name.',2);
			return false;
		  }
  
       // name of company
		  if(Company_Name == "") {
					inlineMsg('Company_Name','You must enter name of company.',2);
					return false;
				  }
				  
			  if(country == "") {
					inlineMsg('country','You must select country.',2);
					return false;
				  }
			
			
			
				  
  
		  ///  --- email id
		  if(Email == "") {
			inlineMsg('Email','<strong>Error</strong><br />You must enter your email.',2);
			return false;
		  }
		  if(!Email.match(emailRegex)) {
			inlineMsg('email','<strong>Email</strong><br />You have entered an invalid email.',2);
			return false;
		  }
 
   
   
   
  
  return true;
}