<%@ page contentType="text/html;charset=GBK" %>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
</head>
<script language="JavaScript">
function openMain()
{
mapWin = window.open('main.jsp', '_blank', 'left=0,top=0,width=screen.availWidth,height=screen.availHeight,menubar=no,location=no,scrollbars=no,toolbar=no,status=yes,titlebar=0,resizable=yes,tabbar=no,AddressBar=no,copyhistory=no');
if (mapWin == null)
{
alert("娉ㄦ剰: 瑕佹甯鎬嬌鐢ㄦ湰绯葷粺,璇峰叧闂垨鍒犻櫎鎮ㄧ殑娴忚涓嫤鎴脊鍑虹獥鍙g殑鍔熻兘鎴栨彃浠?");
return;
}
var larg = 0;
var altez = 0;
if (document.layers)
{
larg = screen.availWidth - 0;
altez = screen.availHeight - 0;
}
else
{
larg = screen.availWidth + 8;
altez = screen.availHeight + 8;
}
mapWin.resizeTo(larg, altez);
mapWin.moveTo(-4, -4);
shutwin();
}
function shutwin()
{
// window.opener = 'abc';
// window.opener.close();
window.opener = null;
window.open("","_self"); //fix ie7
window.close();
return;
}
openMain();
</script>
</html>
聽