<!--
var _MyBlogCookie = document.cookie;


// js ÆÄÀÏÀÌ °»½ÅµÇ¾úÀ»¶§¸¦ À§ÇØ ½Ã°£¹®ÀÚ¿­À» Ãß°¡ ##
var Wbs_t=new Date(); 
	var Wbs_tyear = Wbs_t.getYear();
	var Wbs_tmonth = Wbs_t.getMonth();
	var Wbs_tdate = Wbs_t.getDate();
	var Wbs_thour = Wbs_t.getHours();
	var Wbs_tminute = Wbs_t.getMinutes();
	var Wbs_tsecond = Wbs_t.getSeconds();
var Wbs_Tstring=Wbs_tyear.toString()+Wbs_tmonth.toString()+Wbs_tdate.toString()+Wbs_thour.toString()+Wbs_tminute.toString()+Wbs_tsecond.toString();


// ID & First Page module
function gMyCookie(_key){
   var index = _MyBlogCookie.indexOf(_key + "=");
   if (index == -1) return null;
   index = _MyBlogCookie.indexOf("=", index) + 1;
   var e_cookie = _MyBlogCookie.indexOf(";", index);
   if (e_cookie == -1) e_cookie = _MyBlogCookie.length;
   return unescape(_MyBlogCookie.substring(index, e_cookie));
}
function gNewDate(expiry) {
	var expDate = new Date();
	var currDate = expDate.getUTCDate();
	var currMonth = expDate.getUTCMonth();
	var currYear = expDate.getUTCFullYear();
	var addDate = 0; var addMonth = 0; var addYear = 0;
	addDate = (currDate + parseInt(expiry % 30));
	if (addDate > 30) {
		addMonth = parseInt(addDate / 30);
		addDate = parseInt(addDate % 30);
	}
	addMonth += (currMonth + parseInt(expiry / 30));
	if (addMonth > 11) {
		addYear = parseInt(addMonth / 11);
		addMonth = parseInt(addMonth % 11);
	}
	addYear += currYear;
	expDate.setUTCDate(addDate);
	expDate.setUTCMonth(addMonth);
	expDate.setUTCFullYear(addYear);
	return expDate.toUTCString();
}
function sMyCookie(cookieName, cookieValue, expiry) {
    if (expiry) {
        var expDate = gNewDate(expiry);
        document.cookie = cookieName + "=" + escape(cookieValue) + "; Path=/" + "; Expires=" + expDate;
    } else {
        document.cookie = cookieName + "=" + escape(cookieValue) + "; Path=/;";
    }
}
function dMyCookie(cookieName){
	var _delcook = new Date();   
	_delcook.setTime (_delcook.getTime() - 1);   
	var _delstr=_delcook.toGMTString(); 
	sMyCookie(cookieName, "nul", _delstr);
}

//-->