﻿function GetSiteSearchResults(newWindow,frameObject,frameObjectName,fontFace,fontSize,fontColour,linkFace,linkSize,linkColour)
{
var sTerms="";
var iDepth = 0;
var sURL = new String(document.location);
if (sURL.indexOf("?") > 0)
{
var arrParams = sURL.split("?");
var arrURLParams = arrParams[1].split("&");
for (var i=0;i<arrURLParams.length;i++)
{
var sParam = arrURLParams[i].split("=");
var sValue = unescape(sParam[1]);
if( sParam[0] == frameObjectName)
	sTerms = sValue;
if( sParam[0] == "depth")
	iDepth = parseInt(sValue);
}
}
var d=frameObject.document;
if (sTerms=="") {d.open(); d.write("<html><head></head><body style=\"background: transparent;\"></body></html>"); d.close();return;}
var sBack=""; for (i=0; i<iDepth; i++) sBack+='..\\\\';
d.open();
d.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">");
d.write("<html lang=\"en\">");
d.write("<head>");
d.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">");
d.write("</head>");
d.write("<body style=\"margin: 0px 0px 0px 0px; font-family: "+fontFace+"; font-size: "+fontSize+"; color: "+fontColour+"; background: transparent;\">");
d.write("<div id=\"wpSearchResults\"></div>");
d.write("<script type=\"text/javascript\">");
d.write("var wordMap = new Array(\" send information wyoming women's womens bowling association wwba cole wycls hotmail mike tornes mrtornes bresnan state wsyba candi roper candiroper proprietors wbpa divis camelanes this site effort help bowlers stay informed information post this preferred word excel format following council officers click here full slate proprietor president hartman men's mens vice-president manager comments suggestions scores events sent vtaylor don't dont whatever you've youve hours please re-send wyobugmama mail what can't cant email spruce rawlins 82301 home 307-324-6419 cell 307-321-0081 thanks visionary communications hosting bowlwyo \",\" wyoming bowling proprietors association wbpa officers directors centers junior adult tournament high senior hall fame nomination form forms family year \",\" wyoming men's mens bowling association officers directors honor scores senior high champions bowler year worksheet hall fame nomination form memorial scholarship application over donation bowlers veterans link tournament standings 2010 information 2-bar bowl cheyenne 2009 final prize list \",\" wyoming state usbc please announcements page position opening wsyba tournament director honor scores tournament officers directors pepsi junior travel league youth bowler year nomination form regional scholarships scholarship application forms board masters queens entries sponsors \",\" wyoming women's womens bowling association announcements tournament standings nomination forms by-laws 2009-2010 calendar deadlines 2009 averages checklist reports minutes officers directors district local presidents managers current honor scores club series bowler team year high open champions senior bowl cure worksheets scholarship happenings \",\" links have link would like please email vtaylor bowl usbc website 2barbowl cheyenne camelanes gilette hurricane lanes worland \",\" 2009 jamboree pictures announcements \",\" nomination forms officers board directors incumbents information hall fame form helen baker outstanding association service award joyce deitch trailblazer \",\" bowl cure this page dedicated information assistance breast cancer have link please contact vtaylor 2009 jamboree raffle winners current association donations free exams available those can't cant afford them wyoming department health details also call 1-800-264-1296 events \",\" worksheets forms bowler year worksheet pins over average 2011 tournament form delegate credential alternate local association officer report high game series memorial service committee usbc scholarship application bowler's bowlers older donation veterans link \",\" 2010 honor scores name date home town house geano sandifer 2bar cheyenne dustin crane casper wright mike hartman godfrey terry boucher silver spur lander games kevin maynard high series other stuff team \",\" honor scores name date house score \",\" yaba state tournament rules entry form schedule results \",\" pepsi tournament information rules standings \",\" travel league area rules state schedule entry form \",\" scholarship application forms wyoming usbc youth association wwba form state \",\" nomination forms officers board directors form incumbents \",\" date event location 18-20 2009 wyoming bowling jamboree cheyenne little america 27-27 singles shootout family frontier center gillette mixed doubles 2bar bowl 24-25 entries junior masters queens camelanes elimination state travel league el-marko casper 31-11 scott newman memorial silver spur lander laramie shoot lanes november frank lyons glenrock hi-lo tournament 30-31 adult cloud peak sheridan january jackpot hurricane worland 23-24 13-14 classic 16-17-23-24-30-31 elks 20-21 27-28 bring 19-20 cure 12-14 king queen rock team wheatlanes wheatland march marko pepsi finals weekends thru gregory's gregorys plamor springs 10-11 17-18 15-16 wwba championship tournament~ april 21-23 senior wbpa open high june board meetings august super summer through july 2010 usbc nationals paso reno calendar events \",\" wyoming bowling council women's womens hall fame members \",\" reports minutes other documents 2009-2010 association officers report 2009 annual amended \",\" statistics rules wyoming women's womens scratch records application state record men's mens hall fame members past boards directors tournament winners officers entries senior high champions women open \",\" honor scores games jennifer crocket 2-bar cheyenne charley 290-299 other high series interesting \",\" 2009 jamboree \");");
d.write("var pageMap = new Array(\"HOME\",\"WBPA (PROPRIETORS)\",\"WBA (MEN)\",\"WSYBA (KIDS)\",\"WWBA (WOMEN)\",\"LINKS\",\"ANNOUNCEMENTS\",\"NOMINATION FORMS\",\"BOWLFORTHECURE\",\"FORMS\",\"HONOR SCORES\",\"YABA HONORS\",\"STATE TOURNAMENT\",\"PEPSI TOURNAMENT\",\"TRAVEL LEAGUE\",\"SCHOLAR APPS\",\"NOMINATION FORMS\",\"CALENDAR\",\"BOWLING COUNCIL\",\"REPORTS\",\"STATISTICS\",\"WWBA HONORS\",\"2009 jamboree\");");
d.write("var linkMap = new Array(\"index.html\",\"wbpa.html\",\"wba.html\",\"wsyba.html\",\"wwba.html\",\"links.html\",\"important.html\",\"nominations.html\",\"bowlforthecure.html\",\"forms.html\",\"honor scores.html\",\"yabahonors.html\",\"statetournament.html\",\"pepsi.html\",\"travel league.html\",\"scholarapps.html\",\"yaba nominations.html\",\"calendar.html\",\"bowling council.html\",\"page21.html\",\"statistics.html\",\"wwba honors.html\",\"2009 jamboree.html\");");
d.write("var preMap = new Array(\"You can send information to:  Wyoming Womens Bowling Association (WWBA):          Moe Cole   wycls@hotmail.com  Wyoming Bowling Association (WBA):                           Mike Tornes   mrtornes@bre\",\"WYOMING BOWLING PROPRIETORS ASSOCIATION  WBPA OFFICERS AND DIRECTORS CENTERS  IN THE ASSOCIATION JUNIOR/ADULT TOURNAMENT HIGH 5 TOURNAMENT SENIOR HIGH 5 HALL OF FAME NOMINATION FORM FORMS  FAMILY OF  \",\"WYOMING MEN’S BOWLING ASSOCIATION OFFICERS AND DIRECTORS HONOR SCORES SENIOR  HIGH 5 CHAMPIONS BOWLER OF THE YEAR WORKSHEET BOWLER OF THE YEAR HALL OF FAME NOMINATION  FORM MEMORIAL SCHOLARSHIP APPLIC\",\"WYOMING STATE  USBC  YBA Please go to the ANNOUNCEMENTS page to see the position opening for a WSYBA tournament director. HONOR SCORES STATE TOURNAMENT  OFFICERS/DIRECTORS PEPSI TOURNAMENT JUNIOR TRAV\",\"WYOMING WOMEN’S BOWLING ASSOCIATION ANNOUNCEMENTS TOURNAMENT STANDINGS NOMINATION FORMS ASSOCIATION BY-LAWS 2009-2010 CALENDAR/ DEADLINES 2009 AVERAGES CHECKLIST REPORTS, MINUTES, ETC. OFFICERS/ DIREC\",\"LINKS If you have a link you would like to add, please email vtaylor@vcn.com www.bowl.com , USBC WEBSITE 2BarBowl, Cheyenne Camelanes.com , Gilette  Hurricane Lanes, Worland \",\" 2009 JAMBOREE PICTURES ANNOUNCEMENTS  \",\"NOMINATION FORMS OFFICERS/BOARD OF DIRECTORS INCUMBENTS NOMINATION INFORMATION HALL OF FAME NOMINATION FORM HELEN BAKER OUTSTANDING ASSOCIATION  SERVICE AWARD JOYCE DEITCH TRAILBLAZER  AWARD \",\"BOWL FOR  THE CURE THIS PAGE IS DEDICATED TO INFORMATION AND ASSISTANCE ON BREAST CANCER.  IF YOU HAVE A LINK TO ADD TO THIS PAGE, PLEASE CONTACT ME.   VTAYLOR@VCN.COM 2009 JAMBOREE RAFFLE  WINNERS CU\",\"WORKSHEETS  AND FORMS BOWLER OF  THE YEAR WORKSHEET 75 PINS  OVER AVERAGE 2011 TOURNAMENT BID FORM DELEGATE CREDENTIAL FORM ALTERNATE CREDENTIAL FORM LOCAL ASSOCIATION OFFICER REPORT LOCAL ASSOCIATION\",\"2010   HONOR SCORES NAME DATE HOME TOWN/HOUSE GEANO SANDIFER 9/29/09 2BAR, CHEYENNE DUSTIN CRANE 9/09 CASPER DON WRIGHT 9/09 CASPER MIKE HARTMAN 10/3/09 2 BAR, CHEYENNE BOB GODFREY 10/7/09 2 BAR, CHEY\",\"HONOR SCORES NAME/AGE DATE HOUSE SCORE                 \",\"YABA  STATE TOURNAMENT RULES  ENTRY FORM  SCHEDULE  RESULTS  \",\"PEPSI TOURNAMENT INFORMATION  RULES  STANDINGS   \",\"TRAVEL LEAGUE AREA RULES  STATE RULES  SCHEDULE  ENTRY FORM    \",\"SCHOLARSHIP APPLICATION  FORMS WYOMING USBC YOUTH ASSOCIATION SCHOLARSHIP APPLICATION  WWBA SCHOLARSHIP APPLICATION FORM  WYOMING STATE USBC BA SCHOLARSHIP APPLICATION \",\"NOMINATION FORMS FOR OFFICERS & BOARD OF DIRECTORS NOMINATION FORM FOR OFFICERS/BOARD OF DIRECTORS NOMINATION FORM FOR INCUMBENTS \",\"DATE EVENT LOCATION 9/18-20/2009 WYOMING BOWLING JAMBOREE CHEYENNE LITTLE AMERICA 9/27-27/09 SINGLES  SHOOTOUT FAMILY FUN FRONTIER CENTER, GILLETTE 10/3-4/2009 WYOMING MIXED DOUBLES 2BAR BOWL  CHEYENN\",\"WYOMING BOWLING  COUNCIL WYOMING WOMEN’S HALL OF FAME MEMBERS \",\"  REPORTS,   MINUTES AND OTHER     DOCUMENTS 2009-2010 ASSOCIATION OFFICERS REPORT 2009 ANNUAL REPORT, AMENDED \",\"STATISTICS RULES FOR WYOMING WOMEN’S SCRATCH RECORDS  APPLICATION FOR STATE RECORD MEN’S HALL OF FAME MEMBERS WBA PAST BOARDS OF DIRECTORS WBA PAST STATE TOURNAMENT WINNERS WBA PAST OFFICERS WBA STATE\",\"HONOR  SCORES                                                             300 GAMES                                                                                                     JENNIFER CROCKET\",\"2009 JAMBOREE \");");
d.write("function doNav(ind)");
d.write("{");
if (newWindow)
d.write("		 window.open(\""+sBack+"\"+linkMap[ind],\"_blank\");");
else
d.write("		 parent.window.location.href=linkMap[ind];");
d.write("}");
d.write("function wpDoSearch(searchTerms){");
d.write("var terms = searchTerms.split(\" \");");
d.write("if (terms==\"\") return;");
d.write("var results = \"\";");
d.write("var resultscount = 0;");
d.write("for (var i=0; i<wordMap.length; i++)");
d.write("{");
d.write("			var found=true;");
d.write("			for (var j=0; j<terms.length; j++)");
d.write("					if (wordMap[i].indexOf(terms[j].toLowerCase())==-1) found=false;");
d.write("			if (found)");
d.write("			{");
d.write("				 results+=\"<a style=\\\"cursor: pointer; font-family: "+linkFace+"; font-size: "+linkSize+"; color: "+linkColour+"; \\\" onclick=\\\"doNav(\"+i+\");\\\"><u>\"+pageMap[i]+\"</u></a><br>\"+preMap[i]+\"...<br><br>\";");
d.write("				 resultscount++;");
d.write("			}");
d.write("}");
d.write("document.getElementById(\"wpSearchResults\").innerHTML=resultscount+\" result(s) found for search term: \"+searchTerms+\"<br><br>\"+results;");
d.write("}");
d.write("wpDoSearch(\""+sTerms+"\");");
d.write("</script>");
d.write("</body></html>");
d.close();
}