function page(urlhead,urlbody,descrip) { this.url = urlhead+urlbody; this.urlb = urlbody; this.urlh = urlhead; this.urlgrp = "A"; this.dmod = "17th April 1999"; this.desc = descrip; this.parent = new Array(); this.np = 0; this.addP = AddParentMethod; } function AddParentMethod(x) { this.parent[this.np] = x; this.np++; } function AddNorep(x,y) { var add = true; for (var i=0; i more maths pages /* site[127] = new page(uh1,"temp.html","\"Test\""); site[127].addP(26); site[127].addP(25); */ /* site[] = new page(uh1,"",""); site[].addP(); */ notfound = true; found = -1; thisurl = document.URL; hashpos = thisurl.indexOf("#",0); // actually, don't need the 2nd argument if (hashpos != -1) thisurl = thisurl.slice(0,hashpos); // This will chop all the anchors thisurlb = null; for (i=0;i"); //if (!notfound) { document.write("='a' && ch<='z') || (ch >= 'A' && ch <= 'Z') || (ch >= '0' && ch <= '9') || ch == '.') document.write(ch); else if (ch == '/') document.write("/"); else document.write('-'); } // document.write(encode(encode(document.referrer))); document.write("."); document.write(Math.floor(Math.random()*1000)); document.write("\">"); //} document.write("Would you like to "); if (anc.length !=1) document.write("return to "); for (i=1; i",site[anc[i]].desc,",\n"); document.write("Mail me, \n"); document.write("Sign My Guestbook, or\n"); document.write("surf to a random page from my site?\n");