var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; };
if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } }
{
let window = _____WB$wombat$assign$function_____("window");
let self = _____WB$wombat$assign$function_____("self");
let document = _____WB$wombat$assign$function_____("document");
let location = _____WB$wombat$assign$function_____("location");
//let top = _____WB$wombat$assign$function_____("top");
let parent = _____WB$wombat$assign$function_____("parent");
let frames = _____WB$wombat$assign$function_____("frames");
let opener = _____WB$wombat$assign$function_____("opener");
function VoidTrue() { return true; }
function VoidFalse() { return false; }
window.onerror = VoidTrue;
if (self.parent.frames.length != 0) self.parent.location=document.location; // убить Фреймы
s=navigator.appVersion;
isNS = (navigator.appName == "Netscape");
isIE4 = (navigator.appName == "Microsoft Internet Explorer") && parseInt(navigator.appVersion) >= 4;
ver4 = parseInt(navigator.appVersion) >= 4;
if (isNaN (verIE=parseFloat (s.substring (s.indexOf ('MSIE')+5,s.indexOf (';',s.indexOf ('MSIE')))))) verIE=0;
ok = document.images != null;
function Refresh() {
window.location.reload()
}
function SetImg(img,ref,txt) {
if (ok) document.images[img].src = ref;
if (txt != null) window.status = ' ' + txt;
return ok;
}
function WO(p1,p2,p3) {
w = null;
eval("w = wi"+"ndow.o"+"pen(p1,p2,p3);");
return w;
}
win_mail = null;
function openMail(addr) {
if (typeof addr == 'undefined') addr = ''; else addr = '?'+addr;
if (win_mail == null || win_mail.closed)
win_mail = WO('/mail.asp'+addr,'mail','menubar=no,location=no,resizable=yes,scrollbars=no,status=no,width=500,height=400');
else win_mail.focus();
return false;
}
win_help = null;
function openHelp(theme) {
if (typeof theme == 'undefined') theme = ''; else theme = '?'+theme;
if (win_help == null || win_help.closed)
win_help = WO('/help.asp'+theme,'help','menubar=no,location=yes,resizable=yes,scrollbars=yes,status=no,width=700,height=500');
else
with (win_help){ location.href='/help.asp'+theme; focus(); }
return false;
}
win_vote = null;
function openVote(id) {
if (typeof id != 'undefined')
if (win_vote == null || win_vote.closed)
win_vote = WO('/web/vote.asp?id='+id+'&ref='+location.href,'vote','menubar=no,location=no,resizable=yes,status=no,width=300,height=200');
else win_vote.focus();
return true;
}
win_reg = null;
function openReg(url) {
document.cookie = (typeof url != 'undefined')? 'Back='+url+'; path=/' : 'Back=; path=/';
if (win_reg == null || win_reg.closed)
win_reg = WO('/reg.asp','reg','menubar=no,location=no,resizable=yes,scrollbars=yes,status=no,width=600,height=450');
else win_reg.focus();
return false;
}
win_chat = null;
function openChat() {
lgn=(typeof lgn == 'undefined')? '' : '?'+lgn;
if (win_chat == null || win_chat.closed)
win_chat = WO('/forum/chat.asp','chat','menubar=no,location=no,resizable=yes,scrollbars=no,status=no,width=450,height=450');
else win_chat.focus();
return false;
}
function openIMG(imgurl) {
if (ShowImg != null && imgurl != '') return ShowImg(imgurl)
}
win_puzzle = null;
function openPuzzle(img,iname) {
if (typeof img != 'undefined' && img!='') {
img = '/puzzle.asp?img='+img;
if (typeof iname != 'undefined' && iname!='') img+='&name='+iname;
if (win_puzzle == null || win_puzzle.closed)
win_puzzle = WO(img,'puzzle','fullscreen=yes');
else
with (win_puzzle){location.href=img; focus(); }
}
return false;
}
function eMail (ema,domain,txt) {
ema+='@'+domain;
if (txt=='') txt=ema;
document.write (''+txt+'');
return false;
}
// Sponsors
function WriteLinks(tit,lab) {
document.write('
');
Links=Links.split(';');
l = (Links.length)/3;
for(i = 0; i < l; i++) {
r1 = 3*parseInt((Math.random())*l); Num= Links[r1]; Url = Links[r1+1]; Name = Links[r1+2];
r2 = 3*parseInt((Math.random())*l); Links[r1] = Links[r2]; Links[r1+1] = Links[r2+1]; Links[r1+2] = Links[r2+2];
Links[r2] = Num; Links[r2+1] = Url; Links[r2+2] = Name;
}
i=3*parseInt((Math.random())*l);
document.write(''+tit+'
');
document.write('