﻿function ShowMyDialog(button){//use CuteEditor_GetEditor(elementinsidetheEditor) to get the cute editor instance
    var editor=CuteEditor_GetEditor(button);
    //show the dialog page , and pass the editor as newwin.dialogArguments
    var newwin=showModalDialog(thisDomain + "/administration/AssetManager.aspx?iseditor=true&_rand=\"+new Date().getTime()",editor,"dialogWidth:790px;dialogHeight:500px;help:no;");
}

