function webPath() { var mypath = ""; var pathbits = window.location.pathname.split( '/' ); for ( i = 0; i <= pathbits.length-2; i++ ) { if (pathbits[i] != 'cgi-bin') { mypath += pathbits[i]; mypath += "/"; } } return mypath; } function openHelp() { window.open(webPath() + "help.html", "help_window", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=700,height=400") } function helpAllocTypes() { window.open(webPath() + "alloctypes.html", "alloc_window", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=750,height=550") } function helpRDNS() { window.open(webPath() + "rDNS.html", "rdns_window", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=850,height=450") } function popNotes(page) { window.open(page, "IPDB_notes", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=400,height=300"); } function redoParent() { opener.location.reload(true); }