// 2009 »çÁø & Æ÷Åä ¿¡¼¼ÀÌ °ø¸ð
if (getCookie( "essay" ) != "done" ){	
window.open('/notice/essay.html','essay_eng','scrollbars=0, resizable=no, left=0, top=0, width=390, height=440');
}
function getCookie( name )
{
	var nameOfCookie = name + "=";
	var x = 0;
	while ( x <= document.cookie.length )
	{
		var y = (x+nameOfCookie.length);
		if ( document.cookie.substring( x, y ) == nameOfCookie )
		{
			if ( (endOfCookie=document.cookie.indexOf( ";", y )) == -1 )
				endOfCookie = document.cookie.length;
			return unescape( document.cookie.substring( y, endOfCookie ) );
		}
		x = document.cookie.indexOf( " ", x ) + 1;
		if ( x == 0 )
			break;
	}
	return "";
}


/*
// È¨ÆäÀÌÁö ¼­ºñ½º ÀÏ½ÃÁß´Ü ¾È³»
if (getCookie( "stop" ) != "done" ){	
window.open('/notice/site_stop.html','siteStop','scrollbars=0, resizable=no, left=400, top=0, width=430, height=465');
}
function getCookie( name )
{
	var nameOfCookie = name + "=";
	var x = 0;
	while ( x <= document.cookie.length )
	{
		var y = (x+nameOfCookie.length);
		if ( document.cookie.substring( x, y ) == nameOfCookie )
		{
			if ( (endOfCookie=document.cookie.indexOf( ";", y )) == -1 )
				endOfCookie = document.cookie.length;
			return unescape( document.cookie.substring( y, endOfCookie ) );
		}
		x = document.cookie.indexOf( " ", x ) + 1;
		if ( x == 0 )
			break;
	}
	return "";
}

*/