function checkForm(frm){
  msg = "";
  msg += checkInput(frm.company);
  msg += checkInput(frm.salutation);
  msg += checkInput(frm.first_name);
  msg += checkInput(frm.last_name);
  //msg += checkInput(frm.country);
  msg += checkInput(frm.phone);
  msg += checkInput(frm.email);
  
  if(msg != ""){
    alert(msg);
    return false;
  }
} 

function checkInput(inp)
{
  return !inp.value ? inp.name + " is required\n" : "";
}