function onlyNumber(){  //¼ýÀÚ¸¸ ÀÔ·Â°¡´É tab°ú backspace´Â °¡´É.
if(event.keyCode == '13')
{event.returnValue=false;}
}

 //Ç®´Ù¿î ¸Þ´º -´ÙÁß ¼±ÅÃ 
 function change(form){ 
      var list=form.selectedIndex; 
      window.open(form.options[list].value);
      form.selectedIndex = 0; 
       }


function pop(pPage,Opt) {
 popUpWin = window.open(pPage,'',Opt);
 }

function na_restore_img_src(name, nsdoc)
{
  var img = eval((navigator.appName == 'Netscape') ? nsdoc+'.'+name : 'document.all.'+name);
  if (name == '')
    return;
  if (img && img.altsrc) {
    img.src    = img.altsrc;
    img.altsrc = null;
  } 
}
function na_preload_img()
{ 
  var img_list = na_preload_img.arguments;
  if (document.preloadlist == null) 
    document.preloadlist = new Array();
  var top = document.preloadlist.length;
  for (var i=0; i < img_list.length; i++) {
    document.preloadlist[top+i]     = new Image;
    document.preloadlist[top+i].src = img_list[i+1];
  } 
}

function na_change_img_src(name, nsdoc, rpath, preload)
{ 
  var img = eval((navigator.appName == 'Netscape') ? nsdoc+'.'+name : 'document.all.'+name);
  if (name == '')
    return;
  if (img) {
    img.altsrc = img.src;
    img.src    = rpath;
  } 
}

ans = new Array(10);

function openWindow(theURL,winName,features) 
{ 
  window.open(theURL,winName,features);
}


function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)

{

  window.open(url, name, 'left='+left+', top='+top+', width='+width+', height='+height+', toolbar='+toolbar+', menubar='+menubar+', status='+statusbar+', scrollbars='+scrollbar+', resizable='+resizable);

}

function target_close(url)
{
opener.location = url;
self.close();
}

function checkid(theForm)
{  
  if (theForm.id.value.length == 0) 
  {
  	alert('IDÀ» ÀÔ·ÂÇÏ¼¼¿ä.');
    	theForm.id.focus();
    return false;
  }
  
 if (theForm.pw.value.length == 0) {
        alert('PASSWORD¸¦ ÀÔ·ÂÇÏ¼¼¿ä.');
        theForm.pw.focus();
        return false;
   }
  return true;
}





function select(sel, targetstr)
{
 var index = sel.selectedIndex;
 if (sel.options[index].value != null) {
 if (targetstr == 'blank') {
	window.open(sel.options[index].value, 'remote');
 } 
else 
{
 var frameobj = eval(targetstr);
 frameobj.location = sel.options[index].value;
				}
		 }

}




var PLAY = 1;
 function asfChange(replaceAsfSource) 
 { 
  if(navigator.appName == "Netscape") { /* Netscape ÀÌ¸é */ 
  
   if(PLAY) { /* ÇöÀç »óÅÂ°¡ PLAY ÀÌ¸é ÀÚµ¿ ½ÃÀÛ½ÃÅ´ */ 
  
    document.MediaPlayer.SetAutoStart(true); 
   } 
   else { /* ÇöÀç »óÅÂ°¡ STOP ÀÌ¸é ÀÚµ¿ ½ÃÀÛ½ÃÅ°Áö ¾ÊÀ½ */ 
  
    document.MediaPlayer.SetAutoStart(false); 
   } 
  
   document.MediaPlayer.SetFileName(replaceAsfSource); /* asf file ¹Ù²Þ */ 
  } 
  else { /* Explorer ÀÌ¸é */ 
  
   if(PLAY) { /* ÇöÀç »óÅÂ°¡ PLAY ÀÌ¸é ÀÚµ¿ ½ÃÀÛ½ÃÅ´ */ 
  
    document.MediaPlayer.AutoStart = true; 
   } 
   else { /* ÇöÀç »óÅÂ°¡ STOP ÀÌ¸é ÀÚµ¿ ½ÃÀÛ½ÃÅ°Áö ¾ÊÀ½ */ 
  
    document.MediaPlayer.AutoStart = false; 
   } 
  
   document.MediaPlayer.FileName = replaceAsfSource; /* asf file ¹Ù²Þ */ 
  } 
  
  return; 
 } 
