Ext.DevxBodyMask = function(config){
    Ext.DevxBodyMask.superclass.constructor.call(this, Ext.getBody(), config);
}

Ext.extend(Ext.DevxBodyMask, Ext.LoadMask, {
    onBeforeLoad : function(){
            if(!this.disabled){
                var mask_el = this.el.mask(this.msg, this.msgCls);
                mask_el.setSize(Ext.lib.Dom.getViewWidth(true), Ext.lib.Dom.getViewHeight(true));
            }
        }
});
