﻿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(\" channels ld90 digital dimmers strand 520i board protocol with buffered distribution 15amp round style sockets some ceeform also controlled non-dims while usually accommodate your lighting needs this always possible wide variety uses which theatre during evenings limited staff provide exactly require would helpful work ‘standard' ‘standard saturated keeping changes minimum find comprehensive enough cope most shows lighting open list equipment gels normally charged range more less 100-205 requirements outside will positioned control room prior arrangement situated on-stage in-house radio remote rigger available controlling non-dims through houselights manual wired fixed 5pin installed opt-isolater various positions some cctv surveillance show \",\" sound sound system always being upgraded have some excellent equipment well suited venue range compressors gates graphics effects something don't dont essential your performance then will need provide them hire extra welcome anything normally there charge this though users radio induction loop installed hard hearing cause problems with desks guitar pickups under obligation facility open list in-house based around shermann speakers chameleon amps about allen heath gl3300 desk monitors mixture \",\" stage plans theatre available download various formats turbocad convert format they always appear intended have package installed your computer then left click should open file otherwise right 'save save target plan emailed fastcad free program that used read files downloads format technical schedule jpeg saturated plans theatre \",\" links wales opera founded 1988 established itself foremost british touring opera companies abbt association theatre technicians providing information concerning theatre planning stage machinery lighting sound equipment acoustic scenery construction management aspects presentation stage newspaper publishing entertainment industry since 1880 shermann audio professional loudspeaker systems uk's leading manufacturers professional loudspeaker cabinets bectu union broadcasting film leisure interactive media allied sectors managers support performing arts theatrical production management bridget wallbank entry \",\" equipment strings clear pale amber gold medium girly pink fire bright primary steel blue dark congo zenith peacock light lavender blue-green fern green correct starlettes with chroma colour changers 'theatre' theatre strings below colours cans freedom profiles celecon pacific take ‘home made' made acetate gobos mostly cp62 quad coda's codas 500w martin mac500's mac500s moving lights flown korrigan 1200hmi followspots boxes older lamps starlette fresnels silhouette 30's 2-way splitters grelcos 16-way bars fixed 12-way bars 5-way multi-purpose shin busters stands various pole heights iris' iris sils freedoms selection size holders large selection extension cables lighting board strand 520i current software loan mwldan cardigan -comment protocol channels dimmers non-dims 15amp round style sockets some ceeform normally have 'standard' standard 'saturated' saturated cope most situations just focus expect visitors make maximum this arrangement often don't dont time special pre-rigs rule generally pre-rig gels charged range limited more less 100-205 requirements outside will lighting positioned control room prior situated on-stage in-house radio remote riggers available note this controls soft patch recognised most non-dims controlled through distribution 5pin installed opt-isolater scroller colours 'we've weve found that chroma's chromas can't cant welds scroll together fitted small baffles which work well info cctv some equipment surveillance show summer unfortunately fault didn't didnt replacement until were into very busy october proved difficult grips training concentrated bells whistles movers desk apart from over hundred different companies visiting annually never seen only want we're hoping keeps going longer e-mail \",\" schedules timesheet 2009 2008 addresses \",\" sound equipment general 	shure sm58 mic's mics sm57 	akg d1200e 	at873r condensor hyper-c phantom powered 	sennheiser e604 instument beta kick 	beyer radio lavalier** frequencies handheld** 100ew hand-held radio mics lavalier boxes incl actives 	31band q231f stereo graphic feedback indicators each band 	quad dbx1046 compressor-limiter klark-teknic dn504 	yamaha spx990 effects 	sony md520 mini-disc 	tascam 301mk2 rack mount 	denon drm740 cassettes players 	technics pg420 player writer system 	allen heath gl3300 mixer fault output 1	yamaha mg82cx channel 	chameleon 2750dp amplifiers -foh fixed 	dbx 223xl crossover 	sherman gx-cbf218 bass bins gx-ca5 full-range gx-112 system about matched auditorium desk used on-stage in-house control room stands 	tall booms- black booms chrome 	short 	pump 	banquet cables good selection cables stage rear monitors 	crest monitor amps mobile vs1100 vx900 	hill audio lc1200 gx-m401 monitor wedges lm550 available \",\" theatre opened 1983 shortly after montgomeryshire college further education coleg powys built auditorium seats note that larger audiences +508 forestage cannot used fixed balconies from front back central seating unit withdrawn leave clear floor area some loose available loading-bay door leads straight onto stage right wings access good types transport width height outside ground level doors high south side two-story dressing room there principal rooms chorus similar band situated above first office been reclaimed making five toilets showers both levels ‘green room' small kitchen landing unfortunately cooking facilities allowed here rear during performances necessitates going building front house consists foyer coffee shop shared with college also merchandising usually found most convenient left under else busier nights operates no-smoking policy smoking permitted only part performance banned parking free adjacent wheel chair access possible areas wheelchair-accessible toilets backstage technical search theatr hafren site \",\" tour view \",\" various formats theatre formats theatre used number different because flexibility that retractable seating offers traditional style allows cabaret tables chairs using stage about conference forestage with tabs back projection works well seated cabaret round performances auditorium floor suitable small scale touring especially children's childrens shows empty space occasions such blood donor sessions twice yearly dinner dances other events needing large covered click thumbnail view \");");
d.write("var pageMap = new Array(\"Lighting Specs\",\"Sound\",\"Downloads\",\"RelatedSites\",\"LxEquipment\",\"gaffa\",\"soundkit\",\"Technical\",\"VirtualTour\",\"Formats\");");
d.write("var linkMap = new Array(\"Lighting1.html\",\"Sound.html\",\"Downloads.html\",\"RelatedSites.html\",\"LxEquipment.html\",\"gaffa.html\",\"soundkit.html\",\"Technical.htm\",\"virtualtour.html\",\"Formats.html\");");
d.write("var preMap = new Array(\"128 Channels (104 x 2.5Kw and 24 x 5Kw) of LD90 digital dimmers and a Strand 520i board   DMX protocol is in use with buffered distribution  All 15Amp round pin style sockets, some 32a Ceeform.   Also\",\"Sound   The sound system is always being upgraded and we have some excellent equipment well suited to our venue.  We have a range of Compressors, Gates and Graphics and effects. If something we don’t \",\"Stage and Lx plans of the theatre are available to download in various formats. We use TurboCAD (.TCW) but convert to .DWG format so they do not always appear as intended! If you have a CAD package in\",\"Links    Mid Wales Opera  Founded in 1988, Mid Wales Opera has established itself as one of the foremost British touring opera companies ABBT Association of British Theatre Technicians  Providing info\",\"Lx Equipment    LEE Gel Strings 0   130 Clear 1   009 Pale Amber Gold 2   020 Medium Amber 3   247 Girly Pink 4   019 Fire Red 5   026 Bright/primary Red 6   117 Steel Blue 7   132 Blue 8   119 Dark B\",\"Schedules etc    Timesheet 2009 Timesheet 2008 TH Addresses \",\"Sound Equipment    General: 10 	Shure SM58 mic’s  3 	Shure SM57 mic’s  3 	AKG D1200E mic’s  4 	AT873R Condensor Hyper-c mics (phantom powered)  4 	Sennheiser E604 instument mics  1 	Shure BETA 52 Kic\",\"The theatre was opened in 1983 shortly after the Montgomeryshire College of Further Education (now Coleg Powys) was built  The auditorium seats up to 556. Note that for larger audiences (+508) the for\",\"Tour 360 View \",\"Various formats for the Theatre.... Formats   The theatre can be used in a number of different formats because of the flexibility that the retractable seating offers.  Traditional theatre style allows\");");
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();
}