
	/**
	 * ÄíÅ° µ¥ÀÌÅÍ¸¦ »ý¼º ½ÃÅ°´Â ÇÔ¼ö
	 * @param {Object} name ÄíÅ° ¸í
	 * @param {Object} value ÄíÅ° °ª
	 * @param {Object} expiredays ÄíÅ° ¸¸·áÀÏ
	 */
	function setCookie( name, value, expiredays ){
	    var todayDate = new Date();
	    todayDate.setDate( todayDate.getDate() + expiredays );
	    document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";"
	}
	
	/**
	 * ÄíÅ° µ¥ÀÌÅÍ¸¦ »èÁ¦ ½ÃÅ°´Â ÇÔ¼ö
	 * @param {Object} name »èÁ¦ÇÒ ÄíÅ° ¸í
	 */
	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 "";
	}

	/**
	 * °ü¸®ÀÚ ´Ü¿¡¼­ µî·ÏÇÑ °øÁö »çÇ×À» ½ÇÁ¦·Î ÆË¾÷À¸·Î ¶ç¿ì´Â ½ºÅ©¸³Æ®
	 * @param {Object} noticeUrl °øÁö ÁÖ¼Ò
	 * @param {Object} noticeCode °øÁö ÄÚµå
	 * @param {Object} noticeWidth °øÁö Ã¢ ³Êºñ
	 * @param {Object} noticeHeight °øÁö Ã¢ ³ôÀÌ
	 * @param {Object} expDay ÄíÅ° ¸¸·áÀÏ
	 */
	/* ÃÖÃÊ ÆË¾÷Ã¢ ÁÂÃø À§Ä¡ */
	var postionLeft = 10;
	function userNoticePop( noticeUrl, noticeCode, noticeWidth, noticeHeight, expDay) {
		if ( getCookie(noticeCode) != "done") {
        
			window.open(noticeUrl, noticeCode,
				"width="+noticeWidth+",height="+noticeHeight+",marginwidth=0," + 
				"top=10,left="+postionLeft+",marginheight=0,"+
				"resizable=0,scrollbars=no,menubar=no");
        	if(noticeCode != "201112011152")
        		postionLeft += pop_width+15;			
		}         
	}
	
	
	
	
	
	
