묻고답하기

load.htm 이라는 파일의 원문입니다.
이 파일은 내용부분은 아무것도 없으며..
오로지 크롬리스 새창을 띄운뒤 닫혀버리도록 만든 창입니다.
그런데 새창을 띄운뒤 약 5초후 닫히도록 했는데..
창이 닫힐때 그냥 닫히지 않고 꼭 창을 닫겠냐는 대화박스를 띄웁니다.
"지금 보시는 페이지에서 창을 닫으려고 합니다. 닫으시겠습니까?" [예][아니오]
와 같은 메시지를 띄운단 말입니다. ㅜ.ㅜ 이 메시지 창을 안보이게 할 수는 없나요??

<html>
<head>
<title>VR Sample</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
</head>
<script language="javaScript" type="text/javascript" SRC="new/chromeless.js"></SCRIPT>
<script>
function openwin01() {
theURL="index.html"//주소
wname ="CHROMELESSWIN"
W=1024;//weight
H=768;//height
windowCERRARa   = "new/close_a.gif"
windowCERRARd   = "new/close_d.gif"
windowCERRARo   = "new/close_o.gif"
windowNONEgrf   = "new/none.gif"
windowCLOCK  = "new/clock.gif"
windowREALtit  = " New window "
windowTIT       = "<font color=#ffffff size=2>  VR Sample</font>" //타이틀바메세지부분
windowBORDERCOLOR    = "white"//보더
windowBORDERCOLORsel = "white"
windowTITBGCOLOR     = "#ffffff "
windowTITBGCOLORsel  = "#ffffff"
        openchromeless(theURL, wname, W, H, windowCERRARa, windowCERRARd, windowCERRARo, windowNONEgrf, windowCLOCK, windowTIT, windowREALtit , windowBORDERCOLOR, windowBORDERCOLORsel, windowTITBGCOLOR, windowTITBGCOLORsel)

}
</script>
<script Laguage="Javascript">
function startTime(){
        var time= new Date();
        hours= time.getHours();
        mins= time.getMinutes();
        secs= time.getSeconds();
        closeTime=hours*3600+mins*60+secs;
        closeTime+=5;  // This number is how long the window stays open
        Timer();
}

function Timer(){
        var time= new Date();
        hours= time.getHours();
        mins= time.getMinutes();
        secs= time.getSeconds();
        curTime=hours*3600+mins*60+secs
        if (curTime>=closeTime){
                self.close();}
        else{
                window.setTimeout("Timer()",1000)}
}
</script>

<body onload="openwin01();startTime()">

</body>
</html>