function openPopup(){
//(cookieVal("unikangnam_popup2") != "1")
		//window.open('/popup/081215.htm', 'unipopup', 'width=387, height=476, toolbar=no, directories=no,menubar=no,scrollbars=no,resizable=no,status=no,location=no,copyhistory=no');
//(cookieVal("unikangnam_popup1") != "1")
		//window.open('/popup/081222.htm', 'unipopup01', 'width=387, height=474, toolbar=no, directories=no,menubar=no,scrollbars=no,resizable=no,status=no,location=no,copyhistory=no');
//if(cookieVal("unikangnam_popup3") != "1")
		//window.open('/popup/070305.htm', 'unipopup02', 'width=340, height=442, toolbar=no, directories=no,menubar=no,scrollbars=no,resizable=no,status=no,location=no,copyhistory=no');
if(cookieVal("checkbox2") != "1"){
	document.all.k_Notice2.style.visibility='visible';

}
if(cookieVal("checkbox3") != "1"){
//	document.all.Notice3.style.visibility='visible';

}
}


function cookieVal(cookieName){
   thisCookie = document.cookie.split("; ");
   for(i=0; i<thisCookie.length; i++)  {
	    if(cookieName == thisCookie[i].split("=")[0])
	      return thisCookie[i].split("=")[1]
  }
 	 return "x"
}

function checkForm(form){
	
	if (form.id.value == ""){
		alert("¾ÆÀÌµð¸¦ ÀÔ·ÂÇÏ¼¼¿ä");
		form.id.focus();
		return;
	}	
	
	if (form.pwd.value == ""){
		alert("ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇÏ¼¼¿ä");
		form.pwd.focus();
		return;	
	} 
	
	
	form.submit();
}

function select_menu(form){
	var document=''+form.where_to_go[form.where_to_go.selectedIndex].value;
	open(document,'right');
	return;
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_showHideLayers() { //v3.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}
