function nomore() {
   if ( document.form1.popup.checked ) {
   	//alert("ÀÌ Ã¢À» ´õÀÌ»ó ¿­Áö ¾Ê½À´Ï´Ù.");
	setCookie( "nomore", "checked" ,"/",1 );
	}
}

function getCookie(strName){
	var strArg = new String(strName + "=");	
	var nArgLen, nCookieLen, nEnd;
	var i = 0, j;
	nArgLen    = strArg.length;
	nCookieLen = document.cookie.length;
	if(nCookieLen > 0) {
		while(i < nCookieLen) {
			j = i + nArgLen;
			if(document.cookie.substring(i, j) == strArg) {
				nEnd = document.cookie.indexOf (";", j);
				if(nEnd == -1) nEnd = document.cookie.length;
				return unescape(document.cookie.substring(j, nEnd));
			}
			i = document.cookie.indexOf(" ", i) + 1;
			if (i == 0) break;
		}
	} else {
	return("");
	}
}

function setCookie( name,value,path,expires ){
	if(name == "") return ;
	var nowdate = new Date();
	nowdate.setDate( nowdate.getDate()+ expires);
	document.cookie = name+"="+escape( value )+"; path="+path+"; expires="+nowdate.toGMTString()+";";
}

function delCookie( name,path ){
	var todayDate = new Date();
	todayDate.setDate( todayDate.getDate()-1 );
	document.cookie = name+"=; path="+path+"; expires="+todayDate.toGMTString()+";";
}

function popup(popup_filename){
	if (getCookie("nomore")=="checked"){
	}else{
		window.open(popup_filename,'event', 'width=283,height=337, marginwidth=0,marginheight=0, toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no');
	}
}
