html/scripts/RGraph/RGraph.modaldialog.js
function (id, width)
        {
            ModalDialog.id    = id;
            ModalDialog.width = width;
    
            ModalDialog.ShowBackground();
            ModalDialog.ShowDialog();
    
            // Install the event handlers
            window.onresize = ModalDialog.Resize;
    
            
            // Call them initially
            ModalDialog.Resize();
            
            if (typeof(ModalDialog.onmodaldialog) == 'function') {
                ModalDialog.onmodaldialog();
            }
            ModalDialog.FireCustomEvent('onmodaldialog');
        }
function (id, width)
        {
            ModalDialog.id    = id;
            ModalDialog.width = width;
    
            ModalDialog.ShowBackground();
            ModalDialog.ShowDialog();
    
            // Install the event handlers
            window.onresize = ModalDialog.Resize;
    
            
            // Call them initially
            ModalDialog.Resize();
            
            if (typeof(ModalDialog.onmodaldialog) == 'function') {
                ModalDialog.onmodaldialog();
            }
            ModalDialog.FireCustomEvent('onmodaldialog');
        }
function ( id , width ) { ModalDialog . id = id ; ModalDialog . width = width ; ModalDialog . ShowBackground ( ) ; ModalDialog . ShowDialog ( ) ; // Install the event handlers window . onresize = ModalDialog . Resize ; // Call them initially ModalDialog . Resize ( ) ; if ( typeof ( ModalDialog . onmodaldialog ) == 'function' ) { ModalDialog . onmodaldialog ( ) ; } ModalDialog . FireCustomEvent ( 'onmodaldialog' ) ; }
Shows the dialog with the supplied DIV acting as the contents

@param string id    The ID of the DIV to use as the dialogs contents
@param int    width The width of the dialog
Shows the dialog with the supplied DIV acting as the contents