LIB=new Lib();
CK=new CookieSet();

function closeWinChecked(notino)
{
	var nopop = document.getElementById('nopop_'+notino);

	if(nopop)
	{
		nopop.checked=true;
		var expire = new Date();
		expire.setTime(expire.getTime() + 1000*3600*24);
		CK.setCookie('NOPOP_'+notino,1,expire);
	}

	if(window.name=='notice_'+notino)
	{
		self.close();
	}
	else
	{
		if(document.getElementById('notice_main_'+notino).style.display=='') document.getElementById('notice_main_'+notino).style.display='none';
		else document.getElementById('notice_main_'+notino).style.display='';
	}
}

