var x = parseInt(screen.width / 2.0) - (width / 2.0); var y = parseInt(screen.height / 2.0) - (height / 2.0); var isMSIE= (navigator.appName == "Microsoft Internet Explorer"); //判断浏览器
function doReload(){ var isMSIE= (navigator.appName == "Microsoft Internet Explorer"); if (isMSIE){ parent.dialogArguments.location.reload(); }else{ parent.opener.document.location.reload(); } top.close(); }