묻고답하기

<html>
<head>
<title>BLUEB</title>
</head>

<body>

<p>
  <script language="JavaScript">
<!--
var CDInterval=10; //새로고침 시간설정
var CDTime=CDInterval+1;

function CD(){
    CDTime--;
    if (CDTime <=0){
        CDTime=CDInterval;
        clearTimeout(counter)
        window.location.reload()
    return
    }

    if (document.all)
        document.all.msg.innerText = CDTime+" ";
    else if (document.getElementById)
        document.getElementById("msg").innerHTML=CDTime+" "
    else if (document.layers){
        document.c_reload.document.c_reload2.document.write('<b id="msg">'+CDTime+' </b>초 후에 이 문서는 새로 고침됩니다. ')
        document.c_reload.document.c_reload2.document.close()
    }
counter=setTimeout("CD()", 1000);
}

function startit(){
    if (document.all||document.getElementById)
        document.write('<b id="msg">'+CDTime+'  </b>초 후에 현재페이지를 새로고침 합니다.')
    CD()
}

if (document.all||document.getElementById)
    startit()
    else
    window.onload=startit
//-->
</script>
  <embed src=http://xuefeng.woto.net/alramsound.wav>
</p>
<p>
  <input name="radio" type="radio" id="radio" value="radio" checked>
  1분
    <input type="radio" name="radio" id="radio" value="radio">
    2분
      <input type="radio" name="radio" id="radio" value="radio">
      3분
        <input type="radio" name="radio" id="radio" value="radio">
        4분
</p>





페이지 새로고침 시간을 마음대로 선택할수 있게 하려고 합니다.
고수님들 도와주세요@@