| 1 | function webPath() {
|
|---|
| 2 | var mypath = "";
|
|---|
| 3 | var pathbits = window.location.pathname.split( '/' );
|
|---|
| 4 | for ( i = 0; i <= pathbits.length-2; i++ ) {
|
|---|
| 5 | if (pathbits[i] != 'cgi-bin') {
|
|---|
| 6 | mypath += pathbits[i];
|
|---|
| 7 | mypath += "/";
|
|---|
| 8 | }
|
|---|
| 9 | }
|
|---|
| 10 | return mypath;
|
|---|
| 11 | }
|
|---|
| 12 |
|
|---|
| 13 | function openHelp() {
|
|---|
| 14 | 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")
|
|---|
| 15 | }
|
|---|
| 16 | function helpAllocTypes() {
|
|---|
| 17 | 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")
|
|---|
| 18 | }
|
|---|
| 19 | function helpRDNS() {
|
|---|
| 20 | 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")
|
|---|
| 21 | }
|
|---|
| 22 | function popNotes(page) {
|
|---|
| 23 | 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");
|
|---|
| 24 | }
|
|---|
| 25 | function redoParent() {
|
|---|
| 26 | opener.location.reload(true);
|
|---|
| 27 | }
|
|---|