        ZONTIK.Class.create("ZONTIK.Controls.Overlay", ZONTIK.Controls.Control, 
                function() {
                    var thisContext = this;
                    ZONTIK.Controls.Control.call(this, { 
                        target: "body"
                    });
                
                    $(document).ready(function(){
                        thisContext.initialize();
                    });
                }, 
                {
                
                    ieScrollInterval: 0,
                    
                    getHtml: function() {},
                    
                    getOverlayHtml: function() {
                        
                    },

                    getOverlayMatteHtml: function() {
                        var html =  "<div id='OverlayMatte'></div>";
                        return html;
                    },
                    
                    ieSupportCheck: function() {
                        if (!($.browser.msie)) {
                            return true
                        }
                        return false;
                    },
                    
                    initialize: function() {
                        this.ieSupportCheck();
                        this.setOverlayBackground();
                        this.setClickHide();
                    },
                    
                    setClickHide: function() {
                        var thisContext = this;
                        $("#OverlayMatte").click(function() {
                            thisContext.hide();
                            $(this).hide();
                        });
                    },
                    
                    setOverlayBackground: function() {
                        if (this.ieSupportCheck()) {
                            if ($("#OverlayMatte").get().length == 0 ){
                                $("body").prepend(this.getOverlayMatteHtml());
                            }                            
                        }
                    },
                    
                    show: function() {
                        this.setClickHide();
                    },

                    hide: function() {
                        $("#OverlayWrapper").hide();   
                    }
                    
                }
            );
            
        $(document).ready(function(){$(document).pngFix();});