/**/
/*Show Modal Diaglog (firefox 3.0 support)*/
Utils.ShowDialog = function (url, width, height, callBack)
{
if (width == undefined)
width = 750;
if (height == undefined)
height = 400;
if (url.indexOf("?") >= 0)
url += "&rnd=" + Math.random();
else
url += "?rnd=" + Math.random();
var param = String.format("dialogWidth:{0}px;dialogHeight:{1}px;scroll:no;status:no;resizable:no",
width, height);
return window.showModalDialog(url, callBack, param);
}
function Test() {
var ret = Utils.ShowDialog("AssetEdit.aspx?id=" + id, PopWidth, PopHeight);
if (ret=="undefined" || ret == null)
oEvent.cancel = true;
}
Utils.ShowDialog = function (url, width, height, callBack)
{
if (width == undefined)
width = 750;
if (height == undefined)
height = 400;
if (url.indexOf("?") >= 0)
url += "&rnd=" + Math.random();
else
url += "?rnd=" + Math.random();
var param = String.format("dialogWidth:{0}px;dialogHeight:{1}px;scroll:no;status:no;resizable:no",
width, height);
return window.showModalDialog(url, callBack, param);
}
function Test() {
var ret = Utils.ShowDialog("AssetEdit.aspx?id=" + id, PopWidth, PopHeight);
if (ret=="undefined" || ret == null)
oEvent.cancel = true;
}