var ppath="http://forall.ru-board.com/Cheery/popup/";
function show_popup(date){
document.writeln("");
document.writeln("");
cookie_set(date);
}
function cookie_set(date){
var expire = new Date;
expire.setMonth(expire.getMonth() + 1);
var str = expire.toGMTString();
document.cookie = 'popup_date='+date+';expires=' + str;
}