﻿/*
    var m_strClientName = "UC_UpdateProfile_";
    
    if( m_blnPromo == "true" )
    {
        
        // retrieve instance of our checkbox 
        var chkRewards = document.getElementById( m_strClientName + "cbxRewardsProgram" );    

        // enable/disable all validators on page based on checkbox state
        ValidatorsEnabled(chkRewards.checked);
    }
    
    function ValidatorsEnabled(state)
    { 
        var m_arrValidator = new Array( "regComparePurchaseFreq" );
        var m_numCount = 0;
        var m_objTmp;
        
        for( m_numCount = 0; m_numCount < m_arrValidator.length; m_numCount++ ) // iterate through the list to set the state and display
        {
            m_objTmp = document.getElementById(m_strClientName + m_arrValidator[m_numCount]);
            //ValidatorEnable(m_objTmp, state);
            m_objTmp.enabled = state;
            
            if( state ) // hide the messages
            {      
                m_objTmp.style.display = "none";
            } // if
        } // for         
    } // ValidatorsEnabled
*/
