
function pop10(CID){    
	document.getElementById(CID).style.display = 'block' ;  //eval(CID+".style.display = 'block'");    //°°Àº ±â´É
	   }
function closediv(DIV){
	document.getElementById(DIV).style.display='none';
}
function setCookieTime(name, value, mSecond) {
    var today  = new Date();
    var expire = new Date(today.getTime() + mSecond);
	   window.document.cookie = name + "=" + escape(value) + ((expire) ? ";path=/; expires=" + expire.toGMTString() : "");
}

function setCookie(name, value, TIME) {
	setCookieTime(name, value, TIME*1000*60); //ÇöÁ¦ *1000 À¸·Î ¼ýÀÚ 1Àº 1ÃÊ¸¦ ÀÇ¹ÌÇÔ
}
function getCookie(uName) {
    var strCookie = " " + window.document.cookie;
    var ptrFr = strCookie.indexOf(" " + uName + '=');

    if (ptrFr != -1) {
        ptrFr = ptrFr + uName.length + 2;
        ptrTo = strCookie.indexOf(';', ptrFr);

        if (ptrTo == -1) {
            ptrTo = strCookie.length;
        }
        return unescape(strCookie.substring(ptrFr, ptrTo));
    } else {
        return "";
    }
}
function pop(CID)
	{
        if(getCookie( CID ) != "done")
			{
			   document.getElementById(CID).style.display = 'block' ;  //eval(CID+".style.display = 'block'");    //°°Àº ±â´É
			}
    }
function closeWin(CID,MIN)
	{
		setCookie( CID, "done" , MIN); //ÄíÅ°³×ÀÓ¼ÂÆÃ 
		document.getElementById(CID).style.display = 'none';
	}



