function onLoadFunc() {
	document.title = "ÀÌ¼ø½Å º´¿µ Ã¼ÇèÄ·ÇÁ";
}

//¿ÜºÎ »çÀÌÆ®·Î ÀÌµ¿
function goRelationSite(url) {
	if( url ) {
		window.open(url);
	}
}

// ÇÏ·çµ¿¾È ÆË¾÷Ã¢ º¸Áö¾Ê±â Å¬¸¯ ÀÌº¥Æ®
function closeWin()  {
	if ( document.eventForm.chk.checked ) {
		setCookie("eventNotice", "no" , 1);
	}
	self.close();
}

// ÀÌº¥Æ® ÄíÅ° ¼³Á¤
function setCookie( name, value, expiredays ) 
{
	var todayDate = new Date(); 
	todayDate.setDate( todayDate.getDate() + expiredays ); 
	document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";" 
}

function getCookie(name) {
	  var Found = false;
	  var start, end;
	  var i = 0;

	  while(i <= document.cookie.length) {
	   start = i;
	   end = start + name.length;

	   if(document.cookie.substring(start, end) == name) {
	    Found = true;
	    break;
	   }
	   i++;
	  }

	  if(Found == true) {
	   start = end + 1;
	   end = document.cookie.indexOf(";", start);
	   if(end < start)
	    end = document.cookie.length;
	   return document.cookie.substring(start, end);
	  }
	 }
