function  _CF_checkB2BForm(_CF_this)
    {
        //reset on submit
        _CF_error_exists = false;
        _CF_error_messages = new Array();
        _CF_error_fields = new Object();
        _CF_FirstErrorField = null;

        //form element Company required check
        if( !_CF_hasValue(_CF_this['Company'], "TEXT", false ) )
        {
            _CF_onError(_CF_this, "Company", _CF_this['Company'].value, "Please Enter a Company.");
            _CF_error_exists = true;
        }

        //form element Address required check
        if( !_CF_hasValue(_CF_this['Address'], "TEXT", false ) )
        {
            _CF_onError(_CF_this, "Address", _CF_this['Address'].value, "Please Enter an Address.");
            _CF_error_exists = true;
        }

        //form element City required check
        if( !_CF_hasValue(_CF_this['City'], "TEXT", false ) )
        {
            _CF_onError(_CF_this, "City", _CF_this['City'].value, "Please Enter a City.");
            _CF_error_exists = true;
        }

        //form element Zip required check
        if( _CF_hasValue(_CF_this['Zip'], "TEXT", false ) )
        {
            //form element Zip 'ZIPCODE' validation checks
            if (!_CF_checkzip(_CF_this['Zip'].value, true))
            {
                _CF_onError(_CF_this, "Zip", _CF_this['Zip'].value, "Error in Zip text.");
                _CF_error_exists = true;
            }

        }else {
            _CF_onError(_CF_this, "Zip", _CF_this['Zip'].value, "Please Enter a Zip Code.");
            _CF_error_exists = true;
        }

        //form element AccountNum required check
        if( !_CF_hasValue(_CF_this['AccountNum'], "TEXT", false ) )
        {
            _CF_onError(_CF_this, "AccountNum", _CF_this['AccountNum'].value, "Please Enter an Account Number.");
            _CF_error_exists = true;
        }

        //form element Phone required check
        if( _CF_hasValue(_CF_this['Phone'], "TEXT", false ) )
        {
            //form element Phone 'TELEPHONE' validation checks
            if (!_CF_checkphone(_CF_this['Phone'].value, true))
            {
                _CF_onError(_CF_this, "Phone", _CF_this['Phone'].value, "Error in Phone text.");
                _CF_error_exists = true;
            }

        }else {
            _CF_onError(_CF_this, "Phone", _CF_this['Phone'].value, "Please Enter a Phone Number.");
            _CF_error_exists = true;
        }

        //form element Fax required check
        if( _CF_hasValue(_CF_this['Fax'], "TEXT", false ) )
        {
            //form element Fax 'TELEPHONE' validation checks
            if (!_CF_checkphone(_CF_this['Fax'].value, true))
            {
                _CF_onError(_CF_this, "Fax", _CF_this['Fax'].value, "Error in Fax text.");
                _CF_error_exists = true;
            }

        }else {
            _CF_onError(_CF_this, "Fax", _CF_this['Fax'].value, "Please Enter a Fax Number.");
            _CF_error_exists = true;
        }

        //form element Auth required check
        if( !_CF_hasValue(_CF_this['Auth'], "TEXT", false ) )
        {
            _CF_onError(_CF_this, "Auth", _CF_this['Auth'].value, "Please Enter the name of the Person Authorizing Registration.");
            _CF_error_exists = true;
        }

        //form element AuthEmail required check
        if( _CF_hasValue(_CF_this['AuthEmail'], "TEXT", false ) )
        {
            //form element AuthEmail 'EMAIL' validation checks
            if (!_CF_checkEmail(_CF_this['AuthEmail'].value, true))
            {
                _CF_onError(_CF_this, "AuthEmail", _CF_this['AuthEmail'].value, "Error in Authorizing Email text.");
                _CF_error_exists = true;
            }

        }else {
            _CF_onError(_CF_this, "AuthEmail", _CF_this['AuthEmail'].value, "Please Enter an Authorizing Email Address.");
            _CF_error_exists = true;
        }

        //form element r1_fname required check
        if( !_CF_hasValue(_CF_this['r1_fname'], "TEXT", false ) )
        {
            _CF_onError(_CF_this, "r1_fname", _CF_this['r1_fname'].value, "Please Enter Registrant 1's First Name.");
            _CF_error_exists = true;
        }

        //form element r1_lname required check
        if( !_CF_hasValue(_CF_this['r1_lname'], "TEXT", false ) )
        {
            _CF_onError(_CF_this, "r1_lname", _CF_this['r1_lname'].value, "Please Enter Registrant 1's Last Name.");
            _CF_error_exists = true;
        }

        //form element r1_email required check
        if( _CF_hasValue(_CF_this['r1_email'], "TEXT", false ) )
        {
            //form element r1_email 'EMAIL' validation checks
            if (!_CF_checkEmail(_CF_this['r1_email'].value, true))
            {
                _CF_onError(_CF_this, "r1_email", _CF_this['r1_email'].value, "Error in Registrant 1's Email Address.");
                _CF_error_exists = true;
            }

        }else {
            _CF_onError(_CF_this, "r1_email", _CF_this['r1_email'].value, "Please Enter Registrant 1's Email Address.");
            _CF_error_exists = true;
        }

        //form element r1_uname required check
        if( !_CF_hasValue(_CF_this['r1_uname'], "TEXT", false ) )
        {
            _CF_onError(_CF_this, "r1_uname", _CF_this['r1_uname'].value, "Please Enter Registrant 1's User Name.");
            _CF_error_exists = true;
        }

        //form element r1_pword required check
        if( !_CF_hasValue(_CF_this['r1_pword'], "TEXT", false ) )
        {
            _CF_onError(_CF_this, "r1_pword", _CF_this['r1_pword'].value, "Please Enter Registrant 1's Password.");
            _CF_error_exists = true;
        }

        //form element r2_email 'EMAIL' validation checks
        if (!_CF_checkEmail(_CF_this['r2_email'].value, false))
        {
            _CF_onError(_CF_this, "r2_email", _CF_this['r2_email'].value, "Error in Registrant 2's Email Address.");
            _CF_error_exists = true;
        }

        //form element r3_email 'EMAIL' validation checks
        if (!_CF_checkEmail(_CF_this['r3_email'].value, false))
        {
            _CF_onError(_CF_this, "r3_email", _CF_this['r3_email'].value, "Error in Registrant 3's Email Address.");
            _CF_error_exists = true;
        }

        //form element r4_email 'EMAIL' validation checks
        if (!_CF_checkEmail(_CF_this['r4_email'].value, false))
        {
            _CF_onError(_CF_this, "r4_email", _CF_this['r4_email'].value, "Error in Registrant 4's Email Address.");
            _CF_error_exists = true;
        }

        //form element r5_email 'EMAIL' validation checks
        if (!_CF_checkEmail(_CF_this['r5_email'].value, false))
        {
            _CF_onError(_CF_this, "r5_email", _CF_this['r5_email'].value, "Error in Registrant 5's Email Address.");
            _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;
        }
    }