Site hosted by Angelfire.com: Build your free website today!
"; var ResultBGCOLOR = "#448484"; // result rows // end of properties of result output page function compress(str) { var h=str; var leading=(h.charAt(0) == " " || h.charAt(0) == "*" ); var trailing=(h.charAt(h.length-1) == " " || h.charAt(h.length-1) == "*"); while (trailing || leading) { if (leading) { h=h.substring(1,h.length); leading=(h.charAt(0) == " " || h.charAt(0) == "*" ); } if (trailing) { h=h.substring(0,h.length-1); trailing=(h.charAt(h.length-1) == " " || h.charAt(h.length-1) == "*"); } } document.searchForm.search_name.value=h; return document.searchForm.search_name.value; } function checkField() { if ( compress(document.searchForm.search_name.value) != '' ) { find(document.searchForm, indexedPage); return true } else { alert("Please enter term(s) for search"); document.searchForm.search_name.focus(); return false } } function makeArray(n){ this.length = n; for (i = 1; i <= n; i++){ this[i] = ""; } } function index (link,summary,keywds) { var argc = index.arguments.length; var keys = argc - 2; this.link = link; this.keywords = new makeArray(keys); this.keywords[1] = summary; for(var i = 2; i <= keys+1; i++) { this.keywords[i] = index.arguments[i]; } } // Initialization Section for the Index // using: define max number of indexed Pages // vvv var indexedPage = new makeArray(50); // using: create your own index of every indexedPage[1..n] // like this pattern: indexedPage[i] = new index("URL","Title","one Keyword", // "keyword two","other keywords"); // at least, there must be the URL, the title, and one keyword // indexedPage[1]=new index("black1.htm","Black Bear Lodge", "Salmon" , "Lake Trout" , "Smallmouth Bass" , "Bear" , "Deer", "Speckled Trout" , "White tail" ,"Brook Trout" ,"Landlocked Salmon" , "Pickerel" , "Sturgeon" , "Coyote" , "Woodcock" , "Upland Game Birds" , "Grouse" , "Moose" , "Bird Hunting", "Fishing", "upland", "flyfishing", "Striped Bass"); indexedPage[2]=new index("adair's.htm","Adair's Lodge","hunting","fishing","salmon", "trout", "Bear" , "Deer" , "Speckled Trout" , "Coyote" , "Moose" , "Upland Game Birds" , "Flounder" ); indexedPage[3]=new index("black.htm","Black Rapids Salmon Club","Atlantic Salmon" , "Trout" , "Woodcock" , "Grouse"); indexedPage[4]=new index("dave.htm","Dave Winchester's Sporting Camps","Bear" , "Deer", "Upland Birds", "Trout", "Landlock Salmon", "Smallmouth Bass", "Perch", "Pickerel"); indexedPage[5]=new index("deervill.htm","Deerville Camps Ltd.", " Atlantic Salmon" , "Smallmouth Bass" , "Trout" , "Bear" , "White-Tailed Deer" , "Coyote" , "Upland Birds"); indexedPage[6]=new index("newpage1.htm","Craig's Sporting Camps", "Smallmouth Bass" , "Trout" , "Bear" , "Deer" , "Pickerel" , "Landlocked Salmon" , "Upland Birds" , "Waterfowl"); indexedPage[7]=new index("governor.htm","Governor's Table Camps", " Atlantic Salmon", "Trout", "White-Tailed Deer", "Woodcock", "Grouse", "Rabbit"); indexedPage[8]=new index("guimac.htm","Guimac Camps","Atlantic Salmon", "Trout", "Bass", "Deer", "Bear", "Moose", "Coyote", "Grouse", "Woodcock", "Upland Birds"); indexedPage[9]=new index("henderso.htm","Hendersons Hunting Camps", "Smallmouth Bass", "Trout", "Brookies", "Atlantic Salmon", "Lake Trout", "Landlock Salmon", "Bear", "White-Tailed Deer", "Coyote", "Upland Birds", "Goose", "Moose", "Rabbit", "Geese"); indexedPage[10]=new index("northern.htm","Northern Outdoor Lodge", "Bass", "Brook Trout", "Brookies", "Stripers", "Flounder", "Mackerel", "Lake Trout", "Landlock Salmon", "Black Bear", "Deer", "Moose", "Coyote", "Upland Birds", "Small Game"); indexedPage[11]=new index("nepisigu.htm","Nepisiguit River Camps","Atlantic Salmon", "Black Bear", "Grouse", "Woodcock", "Upland Birds"); indexedPage[12]=new index("nerepis.htm","Nerepis Lodge","Bass", "Trout", "Black Bear", "White-Tailed Deer", "Upland Birds", "Ducks" ); indexedPage[13]=new index("betts.htm","Betts Kelly Lodge","Trout", "Atlantic Salmon", "Black Bear", "White-Tailed Deer", "Coyote", "Grouse" , "Woodcock"); indexedPage[14]=new index("jeffs.htm","Jeff's Riverside Inn","Brook Trout", "Atlantic Salmon", "Bear", "Moose", "Geese", "Woodcock", "Ruffled Grouse"); indexedPage[15]=new index("the.htm","The Ledges Inn","Atlantic Salmon", "Trout", "Upland Birds", "Woodcock", "Grouse"); indexedPage[16]=new index("m&m.htm","M&M Whooper Hollow Lodge","Trout", "Atlantic Salmon", "Bear", "White-Tailed Deer", "Upland Birds", "Woodcock", "Waterfowl"); indexedPage[17]=new index("mirainn.htm","Auberge Miramichi Inn","Trout", "Atlantic Salmon", "Black Bear", "White-Tailed Deer", "Woodcock", "Grouse", "Wild Fowl Shooting Preserve", "Sporting Clays"); indexedPage[18]=new index("pond's.htm","Pond's Resort","Atlantic Salmon", "Brook Trout", "Woodcock", "Grouse"); indexedPage[19]=new index("stoddard.htm", "Stoddard Hunting & Fishing Camp", "Trout", "Atlantic Salmon", "Bear", "White-Tailed Deer", "Coyote", "Upland Birds", "Partridge", "Grouse"); indexedPage[20]=new index("straight.htm","Straight Brook Lodge", "Smallmouth Bass", "Trout", "Atlantic Salmon", "Mackerel", "Bear", "Moose", "Duck", "Geese", "Woodcock", "Grouse"); indexedPage[21]=new index("tuckaway.htm","Tuckaway Lodge","Trout", "Atlantic Salmon"); indexedPage[22]=new index("upper.htm","Upper Oxbow Adventures","Trout", "Atlantic Salmon", "Bear", "Woodcock", "Grouse"); indexedPage[23]=new index("vicker's.htm","Vicker's Sporting Camps","Sea Trout", "Brook Trout", "Atlantic Salmon", "Shad", "White-Tailed Deer", "Woodcock", "Grouse", "Partridge"); indexedPage[24]=new index("wilson's.htm","Wilson's Sporting Camps","Brook Trout", "Atlantic Salmon", "Bear", "White-Tailed Deer", "Upland Birds", "Woodcock", "Grouse"); indexedPage[25]=new index("hart's.htm","Hart's Lake Lodge","Smallmouth Bass", "Trout", "Striped Bass", "Pickerel", "Perch", "Bear", "White-Tailed Deer", "Upland Birds", "Moose", "Rabbit", "Waterfowl", "Woodcock", "Grouse"); indexedPage[26]=new index("river.htm","River Bend Lodge","Trout", "Salmon", "Bass", "Bear", "White-Tailed Deer", "Coyote", "Moose"); indexedPage[27]=new index("spring.htm","Spring Brook Camps", "Bass", "Landlock Salmon", "Bear", "White-Tailed Deer", "Coyote", "Upland Birds", "Woodcock", "Grouse"); indexedPage[28]=new index("little.htm","Tobique Valley Outfitters Ltd.","Atlantic Salmon", "Landlock Salmon", "Trout", "Bear", "Moose","White-Tailed Deer", "Coyote", "Upland Birds", "Woodcock", "Grouse"); indexedPage[29]=new index("north.htm","North View Hunting & Fishing Lodge","Smallmouth Bass", "Trout", "Salmon", "Bear", "White-Tailed Deer", "Coyote", "Upland Birds", "Migratory Birds", "Bush Wolf", "Woodcock", "Grouse"); indexedPage[30]=new index("the1.htm","The Bishop's View","Atlantic Salmon", "Bear", "White-Tailed Deer", "Upland Birds", "Moose", "Woodcock", "Ruffled Grouse"); indexedPage[31]=new index("headpond.htm","Headpond Outfitting Ltd.","Smallmouth Bass", "Bear", "White-Tailed Deer", "Woodcock", "Grouse"); indexedPage[32]=new index("kelly's.htm","Kelly's Sporting Lodge","Smallmouth Bass", "Landlock Salmon", "Pickerel", "Bear", "White-Tailed Deer", "Coyote", "Grouse"); indexedPage[33]=new index("north1.htm","North Lake Guiding Service","Bass", "Trout", "Landlock Salmon", "Bear", "White-Tailed Deer", "Coyote"); indexedPage[34]=new index("sunset.htm","Sunset View Lodge","Landlock Salmon", "Pickerel", "White Perch", "Bear"); indexedPage[35]=new index("shogomoc.htm","Shogomoc Sporting Camps","Smallmouth Bass", "Trout", "Salmon", "Bear", "White-Tailed Deer", "Ducks", "Woodcock", "Grouse"); indexedPage[36]=new index("canaan.htm","Canaan Outfitters", "Black Bear", "White-Tailed Deer"); indexedPage[37]=new index("clover.htm","Clover Valley Lodge","Trout", "Landlock Salmon", "Bass", "Black Bear", "White Tail Deer", "Moose"); indexedPage[38]=new index("thistle.htm","Thistle Fishing Club","Atlantic Salmon"); indexedPage[39]=new index("eastern.htm","Eastern Elk & Deer Ranch","Atlantic Salmon", "Speckle Trout", "Rainbow Bass", "Quebec Reds", "Ruffed Grouse" , "Spruce Grouse", "Whitetail Deer", "Bear", "Moose", "Woodcock", "Ducks", "Rabbit", "Coyote" ); indexedPage[40]=new index("countryh.htm","Country Haven Lodge","Atlantic Salmon", "Trout", "Shad" ); // Routine Section for FORM function find(form,indexedPage) { var key; var tmp_find_word; var find_word = form.search_name.value; var match = false; var doc; var resultOne =''; //part One of output var resultTwo =''; //part Two of output var resultThr =''; //part Three of output var N_found = 0; // search and output var j=0; for (var i = 1; i <= indexedPage.length; i++) { for (var n in indexedPage[i].keywords) { key = indexedPage[i].keywords[n].toString(); key = key.toUpperCase(); tmp_find_word = find_word.toUpperCase(); if ((key.indexOf(tmp_find_word) != -1 || tmp_find_word.indexOf(key) != -1) && (n != "length")) { match = true; j++; key1 = key.substring(0,key.indexOf(tmp_find_word)) + "" + tmp_find_word + ""; key2 = key1 + key.substring(key1.length-7,key.length); resultTwo += " " + j + ". " + PointerPicture + "\n"; resultTwo += " \n"; resultTwo += " key: " + key2 + "
\n"; resultTwo += " title: " + indexedPage[i].keywords[1] + "
\n"; resultTwo += " URL: " + indexedPage[i].link + "
\n"; resultTwo += " \n"; N_found = j; } } } // if nothing found if (!match) { resultThr += " No match for " + find_word + "\n"; resultThr += "
Please try again
\n"; } resultThr += " \n"; resultThr += "
\n"; resultThr += "\n"; resultThr += "\n"; // if matchable resultOne += "Search Results for " + find_word + "\n"; resultOne += ResultBody +"\n"; resultOne += "
Search Results for " + find_word + "
\n"; if (match) if (N_found == 1) resultOne += "1 " + "matching result found

\n"; else resultOne += "" + N_found + " matching results found

\n"; resultOne += "
\n"; resultOne += " \n"; // if frames are inuse? if (parent == null || parent == self) { doc = window.document; } else { doc = parent.main.document; } // ^^^^ // using: if frames are inuse, specify there the assigned frame name // note: the frame name is case sensitive doc.open(); doc.write(resultOne); doc.write(resultTwo); doc.write(resultThr); doc.close(); } // that's all here, for the SiteSearch JavaScript // the FORM for search input entry, see below --> Search my Web Site

home.gif (310 bytes) searchy.gif (316 bytes) member.gif (351 bytes) faq.gif (351 bytes) photos.gif (351 bytes) new.gif (351 bytes)



Search NBOA Game & Fish SEARCH
This search engine undergoing updates - pleasae check back later - Thankyou

This JavaScript runs in Netscape (version 3 or better) and
Microsoft Internet Explorer (version 4 or better) only, if JavaScript is enabled.
( page revised May 1 2003 )