<!--
function _CF_hasValue(obj, obj_type)
	{ if (obj_type == "TEXT" || obj_type == "PASSWORD")
		{ if (obj.value.length == 0) 
      			return false;
    	  else 	return true;
		}

	 else if (obj_type == "SELECT")
		{ if (obj.options[0].selected)
			return false;
		else
	       	return true;
		}
	
    else if (obj_type == "TEXTAREA")
		{ if (obj.value.length >2999) 
      			return false;
    	  else	return true;
    	}		
	
      else if (obj_type == "SINGLE_VALUE_RADIO" || obj_type == "SINGLE_VALUE_CHECKBOX")
		{ if (obj.checked)
				return true;
		  else	return false;	
		}
      else if (obj_type == "RADIO" || obj_type == "CHECKBOX")
		{ for (i=0; i < obj.length; i++)
	   		{ if (obj[i].checked)
				return true;
			}
      	  return false;	
		}
	}

function  _CF_checkDNS(_CF_this)
    { if  (!_CF_hasValue(_CF_this.contact_name, "TEXT" )) 
        { if  (!_CF_onError(_CF_this, _CF_this.contact_name, _CF_this.contact_name.value, "Please enter your Name"))
            { _CF_this.contact_name.focus(); 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 your E-mail Address."))
            {  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);
  	}
		
      if  (!_CF_hasValue(_CF_this.domain_name_c, "TEXT" )) 
        { if  (!_CF_onError(_CF_this, _CF_this.domain_name_c, _CF_this.domain_name_c.value, "Please enter the Domain Name to be modified."))
            { _CF_this.domain_name_c.focus(); return false; }
        }

	if  (!_CF_hasValue(_CF_this.captchatext, "TEXT" )) 
        { if  (!_CF_onError(_CF_this, _CF_this.captchatext, _CF_this.captchatext.value, "Please enter the characters in the image below."))
            { _CF_this.captchatext.focus(); return false; }
        }
	
	if  (!_CF_hasValue(_CF_this.comments, "TEXTAREA" )) 
    { if  (!_CF_onError(_CF_this, _CF_this.comments, _CF_this.comments.value, "Please provide your Comments under 3000 characters."))
         {  return false; }
    }
	
	return true;
}
//-->