<!--
function _CF_hasValue(obj, obj_type)
{   if (obj_type == "TEXT" || obj_type == "PASSWORD")
		{ if (obj.value.length == 0) 
      		return false;
    	  else 
      		return true;
    	}
}


function  _CF_checkContactForm(_CF_this)
{ 	if  (!_CF_hasValue(_CF_this.first_name, "TEXT" )) 
        { if  (!_CF_onError(_CF_this, _CF_this.first_name, _CF_this.first_name.value, "First Name is required."))
            {  return false;   }
        }		
		
	if  (!_CF_hasValue(_CF_this.last_name, "TEXT" )) 
        { if  (!_CF_onError(_CF_this, _CF_this.last_name, _CF_this.last_name.value, "Last Name is required."))
            {  return false;   }
        }	

   if  (!_CF_hasValue(_CF_this.webtolead_email1, "TEXT" )) 
        { if  (!_CF_onError(_CF_this, _CF_this.webtolead_email1, _CF_this.webtolead_email1.value, "Please enter the E-mail."))
            { return false;  }        
		}
	  
	if (!isEmail(_CF_this.webtolead_email1.value))
  		{  alert("Please enter a complete E-mail in the form: yourname@yourdomain.com");
    	   _CF_this.webtolead_email1.focus();
    	   return (false);
  		}

	return true;
}

//-->
