	function setCookie( name, value, expiredays ){         
        var todayDate = new Date();         
        todayDate.setDate( todayDate.getDate() + parseInt( expiredays ) ); 
        document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";" 
    }
    
    function getCookie( cookieName ){
		var search = cookieName + "=";
		var cookie = document.cookie;
		// ÇöÀç ÄíÅ°°¡ Á¸ÀçÇÒ °æ¿ì
		if( cookie.length > 0 )	{
			// ÇØ´ç ÄíÅ°¸íÀÌ Á¸ÀçÇÏ´ÂÁö °Ë»öÇÑ ÈÄ Á¸ÀçÇÏ¸é À§Ä¡¸¦ ¸®ÅÏ.
			startIndex = cookie.indexOf( cookieName );
			// ¸¸¾à Á¸ÀçÇÑ´Ù¸é
			if( startIndex != -1 ) {
				// °ªÀ» ¾ò¾î³»±â À§ÇØ ½ÃÀÛ ÀÎµ¦½º Á¶Àý
				startIndex += cookieName.length;

				// °ªÀ» ¾ò¾î³»±â À§ÇØ Á¾·á ÀÎµ¦½º ÃßÃâ
				endIndex = cookie.indexOf( ";", startIndex );

				// ¸¸¾à Á¾·á ÀÎµ¦½º¸¦ ¸øÃ£°Ô µÇ¸é ÄíÅ° ÀüÃ¼±æÀÌ·Î ¼³Á¤
				if( endIndex == -1) endIndex = cookie.length;

				// ÄíÅ°°ªÀ» ÃßÃâÇÏ¿© ¸®ÅÏ
				var value = unescape( cookie.substring( startIndex + 1, endIndex ) );
				if(value == 'done'){
					return false;
				}else{
					return true;
				}
				/*
				if(value == unescape( cookie.substring( startIndex + 1, endIndex ) ) ){
					return true;
				}else{
					return false;
				}
				*/
			}else{
				// ÄíÅ° ³»¿¡ ÇØ´ç ÄíÅ°°¡ Á¸ÀçÇÏÁö ¾ÊÀ» °æ¿ì
				return true;
			}
		}else{
			// ÄíÅ° ÀÚÃ¼°¡ ¾øÀ» °æ¿ì
			return true;
		}
	}

	// ÄíÅ° Áö¿ì±â
	function delCookie(key) {
	   today = new Date();
	   today.setDate(today.getDate() - 1);
	   document.cookie = key + "=; path=/; expires=" + today.toGMTString() + ";";
	}

