// ÄíÅ°°¡ ÀÖ³ª Ã£½À´Ï´Ù
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 "";
}

// ÆË¾÷Ã¢¿¡¼­ ¸¸µé¾îÁø ÄíÅ° Notice ÀÇ °ªÀÌ done ÀÌ ¾Æ´Ï¸é(Áï, Ã¼Å©ÇÏÁö ¾ÊÀ¸¸é,) 
// °øÁöÃ¢À» ¶ç¿ó´Ï´Ù
function popup_open( name, idx, iwidth, iheight ){
	if ( getCookie( name ) != "done" ) {
			noticeWindow  =  window.open('/common/popup.asp?idx=' + idx, 'NICEGROUP', 'top=29, left=29, width=' + iwidth + ',height=' + iheight);
			//noticeWindow.opener = self;
	}
}

/* ¸¶ÀÌÅ©·¹µ÷ »çÄª ½ºÆÔ ÀÌ¸ÞÀÏ ÁÖÀÇ ¾È³» (2009.09.28~2009.10.13)
function popup_open2(){
	noticeWindow	= window.open("http://www.mycredit.co.kr/mycredit/service/eventzone/pop_spam_mail.html","popspammail","top=29,left=490,width=492,height=542,scrollbars=0,status=0,toolbar=0,menubar=0");
}
		
if ( getCookie("popspammail") != "done" ) {
	popup_open2();
}*/
