打开窗口
//URL的跳转
function gotourl(url,sname,swidth,sheight,sreplace,sclose)
{
var objNewWin;
if (swidth=="") swidth = "790";
if (sheight=="") sheight = "480";
if (sreplace=="") sreplace = false;
if (sclose=="") sclose = false;
objNewWin = window.open(url,sname,"fullscreen=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=" + swidth + ",height=" + sheight + ",top=200,left=200",sreplace);
//alert(objNewWin.opener.dialogLeft);
// + "aaa" + objNewWin.opener.screenTop);
if (sclose) window.close();
objNewWin.focus();
}
function popdialog(url,swidth,sheight){
if (swidth=="") swidth = "280";
if (sheight=="") swidth = "180";
var sValue = showModalDialog(url,"","dialogWidth:" + swidth + ";status:no;dialogHeight:" + sheight);
return sValue;
}