﻿Type.registerNamespace("BgGroup.Website.Reporting.Controls");

BgGroup.Website.Reporting.Controls.PrintPage = function(element) {
    BgGroup.Website.Reporting.Controls.PrintPage.initializeBase(this, [element]);
}

BgGroup.Website.Reporting.Controls.PrintPage.prototype = {
    initialize: function() {
        BgGroup.Website.Reporting.Controls.PrintPage.callBaseMethod(this, 'initialize');
        try {
            if (document.forms[0]._hidePrint != null) {
                this._element.style.display = "none";
            }
        }
        catch (ex) {
        }
    },

    dispose: function() {
        BgGroup.Website.Reporting.Controls.PrintPage.callBaseMethod(this, 'dispose');
    }
}

BgGroup.Website.Reporting.Controls.PrintPage.registerClass("BgGroup.Website.Reporting.Controls.PrintPage", Sys.UI.Control);

if (typeof (Sys) !== 'undefined')
    Sys.Application.notifyScriptLoaded();
