
     
        var _centerPanelId = null;
        var _allOnOff = null;
        
        // executed by jQuery when the DOM is fully loaded.
        $(function() {
            // Initialize is in the selector control
            Initialize();
            $(_allOnOff).bind('click', AreaOnOff);
        });
        
        // event handler setting checkboxes on or off
        function AreaOnOff(event) {
            $("#"+_centerPanelId+" input").each(function() {
                this.checked = $(_allOnOff)[0].checked;
            });
        }
