var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); function changeProvince() { var selectedIndexProv; selectedIndexProv = window.document.searchForm.ProvinceFileName.selectedIndex window.location.href = window.document.searchForm.ProvinceFileName[selectedIndexProv].value //window.location.href = window.document.searchForm.ProvinceFileName.value *breaks in Netscape 4.7 } function submitCommunity(commName) { window.document.searchForm.Community.value = commName; window.document.searchForm.submit(); } function changeIndustry() { var selectedIndexIndustry; selectedIndexIndustry = window.document.searchForm.HTMLFileName.selectedIndex window.location.href = window.document.searchForm.HTMLFileName[selectedIndexIndustry].value // window.location.href = window.document.searchForm.HTMLFileName.value *breaks in Netscape 4.7 } function LetterPicked(theLetter) { // set NumMatches to 1 so that "ALL" (IndustryTag[0]) is left in place var NumMatches=1; var NextIndustry; for (var x=1; x < IndustryText.length; x++) { NextIndustry = IndustryText[x]; if (NextIndustry.indexOf(theLetter) == 0) { window.document.searchForm.IndustryTag.length = NumMatches + 1; // This Industry Tag begins with the proper letter window.document.searchForm.IndustryTag[NumMatches].text = IndustryText[x]; window.document.searchForm.IndustryTag[NumMatches].value = IndustryValue[x]; NumMatches = NumMatches + 1; } } window.document.searchForm.IndustryTag.length = NumMatches; } function OLDLetterPicked(theLetter) { // Remove "all" which is selected by default and move cursor to the top (IndustryTag[0].selected function will take the quickist route so if the cursor is at the bottom it may not move the user to the top of the Industry tags that begin with a particular letter window.document.searchForm.IndustryTag[0].selected = 1; window.document.searchForm.IndustryTag[0].selected = 0; var NextIndustry; for (var x=1; x < window.document.searchForm.IndustryTag.length; x++) { NextIndustry = window.document.searchForm.IndustryTag[x].value; if (NextIndustry.indexOf(theLetter) == 0) { // This Industry Tag begins with the proper letter // Move the cursor 4 items from the first instance of the letter that was found (i.e. put the occurance on top of the picklist) var cursorPosition; if ( x+4 < window.document.searchForm.IndustryTag.length) {cursorPosition=x+4;} else {cursorPosition=window.document.searchForm.IndustryTag.length-1;} window.document.searchForm.IndustryTag.selectedIndex = cursorPosition; // Deselect it window.document.searchForm.IndustryTag[cursorPosition].selected = 0; // Stop processing x = window.document.searchForm.IndustryTag.length; } } } } /* FILE ARCHIVED ON 22:55:46 Nov 14, 2006 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 20:28:32 Jul 03, 2024. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): RulesEngine.query: 21.85 PetaboxLoader3.resolve: 89.135 PetaboxLoader3.datanode: 32.244 */