﻿// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Permissive License.
// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx.
// All other rights reserved.
Type.registerNamespace('OnLineExt.ModalPopup');

OnLineExt.ModalPopup.ModalPopupBehavior = function(element) {


    /// <summary>
    ///SID ������� ��� ��� ��������� � �����
    
    /// The ModalPopupBehavior is used to display the target element as a modal dialog
    /// </summary>
    /// <param name="element" type="Sys.UI.DomElement" domElement="true">
    /// DOM Element the behavior is associated with
    /// </param>
    OnLineExt.ModalPopup.ModalPopupBehavior.initializeBase(this, [element]);
}

OnLineExt.ModalPopup.ModalPopupBehavior.prototype = {
    initialize: function() {
        /// <summary>
        /// Initialize the behavior
        /// </summary>

        /*
        <div superpopup - drag container resizable><div -- drag handle\dropshadow foreground></div></div>
        */
        OnLineExt.ModalPopup.ModalPopupBehavior.callBaseMethod(this, 'initialize');
    },

    dispose: function() {
        OnLineExt.ModalPopup.ModalPopupBehavior.callBaseMethod(this, 'dispose');
    }
}
OnLineExt.ModalPopup.ModalPopupBehavior.registerClass('OnLineExt.ModalPopup.ModalPopupBehavior', AjaxControlToolkit.ModalPopupBehavior);










