<!--
function validatefname_primary(theForm, errorMsg)
{
   var result = true;
if (theForm.prospect_fname_primary.value == "")
   {
       alert(errorMsg);
    result = false; 
   }
 return  result;
}

function validatelname_primary(theForm, errorMsg)
{
   var result = true;
if (theForm.prospect_lname_primary.value == "")
   {
       alert(errorMsg);
    result = false; 
   }
 return  result;
}

function validatehomephone_primary(theForm, errorMsg)
{
   var result = true;
if (theForm.home_area_primary.value == "" || 
 theForm.home_phone_primary_exch.value == "" || 
 theForm.home_phone_primary.value == "")
    {
       alert(errorMsg);
    result = false; 
   }
 return  result;
}

function validateemail1_primary(theForm, errorMsg)
{
   var result = true;
if (theForm.prospect_email_primary.value == "")
   {
       alert(errorMsg);
    result = false; 
   }
 return  result;
}

function validateForm(theForm) 
{

 if (!validatefname_primary(theForm, 'Please input the First Name field.')) 
       return false;
 if (!validatelname_primary(theForm, 'Please input the Last Name field.')) 
       return false;
 if (!validatehomephone_primary(theForm, 'Please input the Home Phone field.')) 
 return false;
 if (!validateemail1_primary(theForm, 'Please input the Email Address (primary) field.')) 
 return false;
}
//-->