/* Generic variables */ var dir = '/users/squirrel/squirrel.nsf/'; var HTTP_Accept = 'text/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'; var HTTP_Accept_language = 'en-us,en;q=0.5'; var HTTP_Referer = ''; var HTTP_User_Agent = 'CCBot/1.0 (+http://www.commoncrawl.org/bot.html)'; var Query_String = ''; var Query_String_Decoded = ''; var Remote_Addr = '38.107.191.117'; var Remote_Host = ''; var Remote_Ident = ''; var Server_Name = 'thor.pyttemjuk.nu'; var Server_Protocol = 'HTTP/1.1'; var Server_Port = '80'; var Server_Software = 'Lotus-Domino'; var UserName = 'Anonymous'; var UserNameAbb = 'Anonymous'; var UserNameCN = 'Anonymous'; function webappbe() { alert('Error!'); return true } function webappnrcie4() { if (event.button==2) { alert('Right click is not allowed on this page!'); return false; } } function webappnrcns4(e) { if (document.layers||document.getElementById&&!document.all){ if (e.which==2||e.which==3) { alert('Right click is not allowed on this page!'); return false; } } } function webapprw() { var wh = 0; var ww = 0; var imgh = document.dspimg.height; var imgw = document.dspimg.width; var ah = screen.availHeight -30; var aw = screen.availWidth -30; var extra = 0; if (imgw > aw) { ww = aw; extra = 16; } else { ww = imgw + 60 + 80; } if (imgh > ah) { wh = ah; } else { wh = imgh + 61 + extra + 85; if (wh > ah) { wh = ah; } } if (ww < 100) { ww = 100; } if (wh < 100) { wh = 100; } self.resizeTo( ww, wh); self.moveTo(15, 15); self.focus(); } function webappoiw(docname) { var wincfg = 'height=400,width=400,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,screenX=50,screenY=50'; cyber=window.open(dir + 'webwin/' + docname, 'webappwindow', wincfg); } function webappbof() { if (parent.frames.length > 0) { parent.location.href = self.document.location; } } function webappaf(frm, src) { if (parent.webappfs != dir) { document.location.href = 'http://' + Server_Name + '/users/squirrel/squirrel.nsf?Open&' + frm + '=' + src } } var domname = 'pyttemjuk'; var dot = '.'; var topdom = 'nu'; var at = '@'; var mto = 'mail' + 'to' + ':'; var href1 = ''; var href3 = ''; var NS4 = (document.layers) ? 1 : 0; var IE = (document.all) ? 1 : 0; var DOM = 0; if (parseInt(navigator.appVersion) >=5) {DOM=1}; var currShow = null; // Function to set default text in status bar function setdefaulttext() { window.defaultStatus = "Your IP address is "+Remote_Addr; } function fixUglyIE() { for (a in document.links) document.links[a].onfocus = document.links[a].blur; } function changeMenu(target) { if (DOM) { // Hide the last one, and flip the tab color back. if (currShow != null) { currShow.style.visibility="hidden"; } // Show this one, and make the tab silver var flipOn = document.getElementById(target); flipOn.style.visibility="visible"; // Save for next go'round currShow=document.getElementById(target); return false; } else if (IE) { // Hide the last one, and flip the tab color back. if (currShow != null) { currShow.style.visibility = 'hidden'; } // Show this one, and make the tab silver document.all[target].style.visibility = 'visible'; // Save for next go'round currShow=document.all[target]; return false; } else if (NS4) { // Hide the last one, and flip the tab color back. if (currShow != null) { currShow.visibility = 'hide'; } // Show this one, and make the tab silver document.layers[target].visibility = 'show'; // Save for next go'round currShow=document.layers[target]; return false; } } function maddress(addr) { var st = addr + at + domname + dot + topdom; return href1 + mto + st + href2 + st + href3; }