<!--
    function  checkContactUs(_CF_this)
    {
        //reset on submit
        _CF_error_exists = false;
        _CF_error_messages = new Array();
        _CF_error_fields = new Object();
        _CF_FirstErrorField = null;

        //form element zip 'ZIPCODE' validation checks
        if (!_CF_checkzip(_CF_this['zip'].value, false))
        {
            _CF_onError(_CF_this, "zip", _CF_this['zip'].value, "You must enter a valid zip/postal code");
			_CF_this['zip'].style.borderColor = 'red'
            _CF_error_exists = true;
        }

        //form element phone 'TELEPHONE' validation checks
        if (!_CF_checkphone(_CF_this['phone'].value, false))
        {
            _CF_onError(_CF_this, "phone", _CF_this['phone'].value, "You must enter a valid telephone number");
			_CF_this['phone'].style.borderColor = 'red'
            _CF_error_exists = true;
        }

        //form element email required check
        if( _CF_hasValue(_CF_this['email'], "TEXT", false ) )
        {
            //form element email 'EMAIL' validation checks
            if (!_CF_checkEmail(_CF_this['email'].value, true))
            {
                _CF_onError(_CF_this, "email", _CF_this['email'].value, "You must enter a valid email address");
				_CF_this['email'].style.borderColor = 'red'
                _CF_error_exists = true;
            }

        }else {
            _CF_onError(_CF_this, "email", _CF_this['email'].value, "You must enter a valid email address");
			_CF_this['email'].style.borderColor = 'red'
            _CF_error_exists = true;
        }


        //display error messages and return success
        if( _CF_error_exists )
        {
            if( _CF_error_messages.length > 0 )
            {
                // show alert() message
                _CF_onErrorAlert(_CF_error_messages);
                // set focus to first form error, if the field supports js focus().
                if( _CF_this[_CF_FirstErrorField].type == "text" )
                { _CF_this[_CF_FirstErrorField].focus(); }

            }
            return false;
        }else {
            return true;
        }
    }
//-->