/* Generic variables */ var dir = '/website/webapp.nsf/'; var HTTP_Accept = 'text/html,application/xhtml+xml,text/xml;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.179.233'; var Remote_Host = ''; var Remote_Ident = ''; var Server_Name = 'www.simplified-tech.com'; 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; } if (imgh > ah) { wh = ah; } else { wh = imgh + 61 + extra; 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=100,width=100,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 + '/website/webapp.nsf?Open&' + frm + '=' + src } } function searchSTS(searchStr){ alert(searchSTS); } function isEnter(e,s) {     e = e || window.event || {};     var charCode = e.charCode || e.keyCode || e.which;         if (charCode == 13) { //alert(document.forms[0].searchbox.value);             window.location="http://domino.simplified-tech.com/darren/webapp.nsf/Search?searchview&query="+s; //alert(window.location);         }  }