﻿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(\" welcome street theatre website hope enjoy browsing through seeing what navigation should fairly easy intuitive whether want know more about we've weve done find next production even join home theatre strode somerset which features varied regular programme entertainment bookings made phone person details strode's strodes current calendar visit their site? opens page some pages technology called active-x asked will need allow this especially pictures meanwhile checkout \",\" formed 1996 founder members street theatre wanted bring variety quality drama town somerset with growing audience marvellous theatre which perform continuing hard work this group enthusiastic amateurs seen dream become reality present least three productions each year entirely dependent advertisers sponsors course income details what's whats coming next clicking links from home page you'd youd like take part becoming patron sponsor contact committee member below more general myspace twitter facebook? http myspace street_theatre twitter street_theatre facebook pages 60354364029 01458 committee members january 2009 with rachael house chair 442725 jameslinham netscape karen trevis vice 223745 millfieldschool price treasurer 223152 haygate virgin john mcgrouther secretary 01460 241736 john mcgrouther btinternet paul townsend newsletter 01278 722486 paul townsend hotmail julie vincent publicity wood patrons 448993 jpgw 	james linham digital media sara holt social 830534 svenitt \",\" come join experienced actors always welcome would also love hear from you'd youd like have following fund-raising costumes producing stage management general crew become street theatre patron invite wine buffet during each performances meet newsletter ways know about what want it's great opportunity valuable feedback work doesn't doesnt cost fortune call wood members patrons 01458 448993 jpgw directing sound design lighting construction \",\" newsletters march 2009 april \",\" 2009 summer tour ‘allo bookings tour going well with dates first week sold thursday second also confirmed 11th june caryford friday 12th marston magna saturday 13th north cadbury 18th still available 19th huish episcopi 20th strode theatre there possibility that might extend offer wednesday each know venue fundraising group interested please contact will producing more details from price 01458 223152 \",\" year production christmas carol 1996 like chorus disapproval stepping 1997 short curlies witness prosecution midsummer night's nights dream 1998 private lives communicating doors school scandal 1999 couple dial murder daisy pulls 2000 hand witch second stage macbeth blithe spirit country's countrys good 2001 lady letters runs family chalk garden lord arthur savile's saviles crime 2002 shakespeare revue crucible into 2003 verse atility comedy errors deathtrap 2004 inspector calls bobby last bread pudding charley's charleys aunt 2005 drake perfekt exorcism blue remembered hills 2006 time machine seasons arsenic lace 2007 wind willows flea 2008 humble blood wedding 2009 have been proud present variety drama since formation title underlined click photos \",\" \",\" flea \",\" seasons \",\" arsenic lace \",\" blue remembered hills \",\" future productions plan quite ahead always look talent both stage actors directors producers backstage crew props costumes other help welcome operate fully open audition policy anyone winning role expected become paid member part forward planning have chosen follows november 2009 flew over cuckoos nest dale wasserman from novel kesey peter wintle directing more information available here email also spring 2010 neil howiantz shakespeare's shakespeares twelfth night early expressions interest james linham watch this page direct links which will follow soon \",\" summer tour street theatre tours generally fairly quiet time local theatres several years worked basis that people won't wont come we'll well take that's thats what it's opportunity wider audience collection performers know each other both organisations boost their funds tricky stuff chose production toured rehearsals show this modest fixed aimed covering costs most performing rights fees have more than doubled over recent even most obscure play easily cost night just promoters then book location sell tickets maybe organise raffle game blame politician like tale donkey much challenging whatever else presto jolly enjoyable evening round coffers knows maybe with interest live theatre your organisation might charity school village hall upstairs room well year tour spread weeks june thursday saturday inclusive 11th 13th 18th 20th touring ‘allo stasi permitting expect single entendre present you'd youd bring contact rachael house 01458 223928 send email \",\" lorcas' lorcas ‘blood wedding' wedding amidst constraints commitments rural community plains andalucia lorca's lyrical drama lost none potency almost years story based real events which overwhelming passion crashes against stone walls propriety honour presented direct powerful adaptation poet hughes performed march 19th 21st 2009 \");");
d.write("var pageMap = new Array(\"Intro\",\"About Us\",\"Join Us\",\"Newsletters\",\"Next Prod\",\"Past Prods\",\"An Inspector Calls\",\"A Flea in Her Ear\",\"A Man for All Seasons\",\"Arsenic and Old lace\",\"Blue Remembered Hills\",\"Future Prods\",\"Summer Tour\",\"Blood Wedding\");");
d.write("var linkMap = new Array(\"index.html\",\"aboutus.html\",\"joinus.html\",\"newsletterintro.html\",\"nextprod.html\",\"pastprodnewmain.html\",\"aninspectorcalls.html\",\"afleainherear.html\",\"manforallseasons.html\",\"arsenicandoldlace.html\",\"bluerememberedhillls.html\",\"futureproductions.html\",\"summertour.html\",\"bloodwedding.html\");");
d.write("var preMap = new Array(\"Welcome to the Street Theatre Website.   We hope you enjoy browsing through it and seeing who we are and what we do.  Navigation should be fairly easy and intuitive, whether you want to know more abou\",\" Formed in 1996, the founder members of Street Theatre wanted to bring a variety of quality drama to the town of Street, in Somerset.  With a growing audience and a marvellous theatre in which to perf\",\" Why not come and join us?  New and experienced actors are always welcome, but we would also love to hear from you if you’d like to have a go at any of the following:  Fund-raising  Costumes  Producin\",\"Newsletters Newsletters  March 2009 April 2009 May 2009 \",\"2009 Summer Tour ‘Allo ‘Allo    Bookings for the tour are going well, with all dates for the first week of the run sold and all but the Thursday of the second week also confirmed.  Thursday 11th June \",\"Year Production  A Christmas Carol 1996 As You Like It  A Chorus Of Disapproval   Stepping Out 1997 Short ‘n Curlies  Witness For The Prosecution  A Midsummer Night’s Dream 1998 Private Lives  Communi\",\"\",\"A Flea In Her Ear \",\"A Man for All Seasons \",\"Arsenic and Old Lace \",\"Blue Remembered Hills \",\"Future Productions Future Productions  We plan quite a way ahead, and are always on the look out for new talent both on and off stage. Actors, directors, producers, backstage crew, props, costumes and\",\"Summer Tour Street Theatre Summer Tours  Summer is generally a fairly quiet time in our local theatres, so for several years now, Street Theatre has worked on the basis, that if people won’t come to t\",\"Lorcas’ ‘Blood Wedding’   Set amidst the constraints and commitments of a rural community in the hot plains of Andalucia, Lorcas lyrical drama has lost none of its potency almost 80 years on. The sto\");");
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();
}