function rfqForm(theForm){
  var theForm = document.getElementById("theForm");  var radioSelected = false;  for (i = 0;  i < theForm.howManyContracts.length;  i++)  {    if (theForm.howManyContracts[i].checked)        radioSelected = true;  }  if (!radioSelected)  {    alert("Please select one of the \"How Many Contracts\" options.");    return (false);  }  var radioSelected = false;  for (i = 0;  i < theForm.howManySINS.length;  i++)  {    if (theForm.howManySINS[i].checked)        radioSelected = true;  }  if (!radioSelected)  {    alert("Please select one of the \"How Many SINS\" options.");    return (false);  }  if (theForm.username.value == "")  {    alert("Please enter a value for the \"Name\" field.");    theForm.username.focus();    return (false);  }  if (theForm.username.value.length < 6)  {    alert("Please enter at least 6 characters in the \"Name\" field.");    theForm.username.focus();    return (false);  }  if (theForm.username.value.length > 40)  {    alert("Please enter at most 40 characters in the \"Name\" field.");    theForm.username.focus();    return (false);  }  if (theForm.userEmail.value == "")  {    alert("Please enter a value for the \"Email\" field.");    theForm.userEmail.focus();    return (false);  }  if (theForm.userEmail.value.length < 6)  {    alert("Please enter at least 6 characters in the \"Email\" field.");    theForm.userEmail.focus();    return (false);  }  if (theForm.userEmail.value.length > 60)  {    alert("Please enter at most 60 characters in the \"Email\" field.");    theForm.userEmail.focus();    return (false);  }  if (theForm.userPhone.value == "")  {    alert("Please enter a value for the \"Telephone\" field.");    theForm.userPhone.focus();    return (false);  }  if (theForm.userPhone.value.length < 3)  {    alert("Please enter at least 3 characters in the \"Telephone\" field.");    theForm.userPhone.focus();    return (false);  }  if (theForm.userPhone.value.length > 256)  {    alert("Please enter at most 256 characters in the \"Telephone\" field.");    theForm.userPhone.focus();    return (false);  }  var checkOK = "0123456789-";  var checkStr = theForm.userPhone.value;  var allValid = true;  var validGroups = true;  var decPoints = 0;  var allNum = "";  for (i = 0;  i < checkStr.length;  i++)  {    ch = checkStr.charAt(i);    for (j = 0;  j < checkOK.length;  j++)      if (ch == checkOK.charAt(j))        break;    if (j == checkOK.length)    {      allValid = false;      break;    }    allNum += ch;  }  if (!allValid)  {    alert("Please enter only digit characters in the \"Telephone\" field.");    theForm.userPhone.focus();    return (false);  }  return (true);}