
if (typeof(Page_ModalDialogVer) == "undefined")
    alert("Unable to find script library. Try placing it file manually.");
else if (Page_ModalDialogVer != "1.7")
    alert("This page uses an incorrect version of WebUIModalDialog.js. The page expects version 1.7. The script library is " + Page_ModalDialogVer + ".");
else
    ModalDialogOnLoad();

