[511] | 1 | function webPath() {
|
---|
| 2 | var mypath = "";
|
---|
| 3 | var pathbits = window.location.pathname.split( '/' );
|
---|
| 4 | for ( i = 0; i <= pathbits.length-2; i++ ) {
|
---|
| 5 | mypath += pathbits[i];
|
---|
| 6 | mypath += "/";
|
---|
| 7 | }
|
---|
| 8 | return mypath;
|
---|
| 9 | }
|
---|
| 10 |
|
---|
[451] | 11 | function openHelp() {
|
---|
[511] | 12 | 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")
|
---|
[451] | 13 | }
|
---|
| 14 | function openTables() {
|
---|
[511] | 15 | window.open(webPath() + "tables.html", "subnet_tables", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=600,height=250")
|
---|
[451] | 16 | }
|
---|
| 17 | function helpAllocTypes() {
|
---|
[511] | 18 | 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")
|
---|
[451] | 19 | }
|
---|
| 20 | function popNotes(page) {
|
---|
| 21 | 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");
|
---|
| 22 | }
|
---|
[459] | 23 | function redoParent() {
|
---|
| 24 | opener.location.reload(true);
|
---|
| 25 | }
|
---|