﻿function GetSiteSearchResults(newWindow,frameObject,frameObjectName,fontFace,fontSize,fontColour,linkFace,linkSize,linkColour,resultsText)
{
var sTerms="";
var iDepth = 0;
var sURL = new String(window.location.href);
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\" \"http://www.w3.org/TR/html4/loose.dtd\">");
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 site porthcawldirect been developed chamber help boost trade businesses porthcawl this will give local full page advertise their products services working beside companies websites used sole with website with username password possible edit your live would like know more please contact alun 01656 789006 email enquiry porthcawlchamberoftrade direct trade christmas banquet held prince wales kenfig december well attended event everyone having great time this second year they didn't didnt disappoint thank gareth staff fantastic night more photographs photo gallery comfort fund administrated money donated fund handed over cheque £500 november further payment £150 made january help heroes left letter thanks from thank swim committee donating also cllr rosemary deere other members helped worthy cause project lord lindsay morgan british forces abroad home although razing organisation happy ways where mary portas review click here \",\" notice board events \",\" name business address telephone e-mail site offer loyalty card scheme become popular many towns independent businesses encourage local people visitors shop locally small compete with chain stores that their what porthcawl loyalty card? discount district chamber trade offers holders special participating does work? cards cost each purchase these renewed annually entitle holder discounts card will produce purchase given appropriate service offers advised web-site porthcawlloyaltycard this customers card? customers establishments participating business display window sticker also check work businesses? each responsible deciding what type offer they wish give free drink much sent have cafe restaurant percentage purchases over certain amount there dedicated access showing changed often desired responsibility member inform these changes updated only offered interested joining scheme please register your below find more about clicking logo \",\" members list business name contact address telephone number fodor dentist hillsboro place 0782365 guttridge julian hoskins vineries road 783519 ambience jammy well street 771190 atlantic hotel booth west drive 785011 bakerboy john 01639 883539 bargain booze steve evans 345a-c newton 773441 marija lewis mary 785550 bellissima susan fulgoni 772571 cambria financial paul fielding 782545 carconomy peter fenton station hill 788110 carpet care wales alun sharon south 789006 ceri miller caroline tranter 01656 783420 chris smart hall cornelly 782915 cibaria finance westwood 784190 david newton-williams esplanade avenue 783068 davies kitchens edwards distinctive antiques taxis dock elwood deere 782078 harris printers norman harrison residential sian browning lias 772414 head first hairdressers andrea 773553 home colonial abbe vaughan 773793 emporium janet 772287 hsbc bank international soft drinks lindsay morgan brian crescent 786125 james quantick buccaneer complex 772883 jack bridge 782873 janes forget jane bond 789234 richardson crossfield 786874 keith nottage 788150 martin nagle anderson terrace tonypandy 07772 657296 michael clarke mike norah kittiwake close rest 786018 ralph tudor gail queens hayley rixon 07825 420320 life christopher 785700 773307 park fish restaurant eastern promenade pals matthew unit pyle enterprise centre 748700 picton press village farm 740411 port call tracey porthcawl furnishing ymca berry protheroe electrsion clevis lane 788222 prince gareth maund kenfig pool 740356 williams marcus mellissa 786007 travel phillip poplar 786181 computers robert flatholm 788027 ross computing jeremy 783444 seahorse stephanie shaw trust leanne 782094 shed fencing nesta stiens 744304 shoe elizabeth 788628 copy soapys garage super value allan jones sussed margaret minhinick 783962 tantum butchers charles 783828 terry crasy humbug 782006 dolls house alana hearing louise moss 771500 salthouse emma griffiths square 783380 wild bunch kath robins building welsh shop sleep thompsons 784525 town council emmitt-lewis victoria traveland george 7882722 triple consulting mark gordon 773157 truly scrumptious lorraine stone 788080 vasari nicholas 786066 walters shoes webbers carpets tony webber whittinghams solicitors greenway \",\" local vacancies advertise your vacancy free click here 					carpet flooring fitter rate 										2 metre hours 								flexible area 								porthcawl company 		carpet care wales contact 				alun edwards telephone 01656 789006 e-mail 						alun carpetcarewales comments self-employed carpet wanted work porthcawl area must have minimum five years experience tools willing flexible hours weekends occasions able safety flooring laminate screed floors doors extra payment other than fitting different rates commercial more details contact alun details above 				volunteer shop assistant 									voluntary 		shaw trust 				leanne 782094 shaw charity john street need volunteers help shop experience required unemployed this could assist back into offering keeping busy look paid references will given volunteer works mouths over with leanne \",\" local vacancies vacancy rate hours area company contact telephone e-mail comments please fill form below with your vacancy \",\" porthcawl town council direct carconomy station hill road your motoring needs 01656 788110 \",\" night cardiff castle \",\" business \",\" membership application business name proprietor manager business address post code telephone e-mail date enquiry \",\" 60's dance seabank hotel 2009 \",\" sharon alun queen's queens garden party 2010 \",\" contact business name proprietor manager business address telephone e-mail comments enquiry post code date membership application wish become chamber member please fill form below president 											paul fielding					 																															 						c porthcawl ymca john street 																																						porthcawl cf36 																																						paulfielding porthcawlchamberoftrade vice 																	david newton-williams			 davidnewtonwilliams junior 						 														emma griffiths 																																	c emma salthouseonthesquare treasurer 										peter fenton 																																					c 																																					peterfenton secretary administrator 									alun edwards 																																				alunedwards \",\" offer address company porthcawl loyalty card scheme participating businesses offers notice loyalty card can't cant used conjunction with other offer \",\" summer night 2009 \",\" alun edwards 2008 2009 paul fielding 2007 2006 2005 2004 colin evans 2003 2002 2001 pauline eynon 2000 peter fenton 1999 gail ralph 1998 1997 davies 1996 middleton 1995 president 2011 2012 chamber president 						paul fielding					 																															 						c porthcawl ymca john street 																																						porthcawl cf36 																																						paulfielding porthcawlchamberoftrade vice 														david newton-williams			 davidnewtonwilliams junior 						 												emma griffiths 																																	c emma salthouseonthesquare treasurer 					peter 																																				c 																																					peterfenton secretary administrator 					alun 																																				alunedwards minute 								jeane rees 																																			jeanerees voluntary non-political organisation members working together further development interests business district through 	discussion matters brought attention 			chamber negotiation with neighbouring chambers 				of trade local authority 				through officers chamber's history relates back beginning 20th century over recent years relationship built town council bridgend county borough welsh assembly government works looking ways attracting visitors town assisting projects representation council's councils tourism events committee representative regeneration forum recent include promoting radio setting launching loyalty card running christmas window competition cribs sites around there chamber that work very hard giving their time free charge make proud these would exist people company member involved they wish more better result elected officers past presidents jean schofield 1994 lindsay morgan \",\" mayor's mayors party 2009 \",\" 2010 christmas banquet prince kenfig \",\" \",\" calendar \",\" \",\" minutes meeting porthcawl district chamber trade commerce held thursday 21st july 2011 salthouse present president paul fielding cambria finance alun edwards carpetcare lorraine chris stone truly scrumptious cllr norah clarke mike john berry janis werrett ymca geoff bond jane's janes forget david newton williams smart mary emmet lewis keith morgan jeane rees apologies mark lindsay westwood jane mariza cath robbins jack bridge sharon leanne peter june fenton alana davies stuart vaughan introduction welcome welcomed members introduced clerical officer john's johns replacement said that contribution been fantastic going step back will attending meetings approve minutes last matters arising pointed matter helium balloons both shop guttridges sell them there white parked rear entrance salt lake park selling potatoes eggs look into james cannot used market turning point lorries president's presidents address rung objecting comments rhiannon promised discussion took place when construction takes parking green side future email post those line suggested andrew parry jones should come having stall festival promote businesses make rota volunteers wanted check with comfort fund correspondence letter from civic tuesday august bcbc local development plan public consultation september read explained documents viewed website treasurer's treasurers report members peter's peters absence figures same previously £250 premier some subs have paid town manager update none tourism events update maded report give programme events council running porthcawltowncouncil town crier soon carnival take saturday judge secretary accounts membership clerk employing hours week hour could month instead annually proposition someone board fund decided small working group thrash agreement anyone interested being part party licence need licences listen music stores view wants changed trader fined checks made area allowed play your without licence infringing copyright contact madeleine moon summer christmas banquet langland brasserie prince kenfig ball 20th marriot swansea prostate cancer black three course meal welsh theme tickets plenty entertainment prizes include holiday spain marathon this charity cardiff there other business chairman closed next meeting 15th square back past minutes \",\" minutes meeting porthcawl district chamber trade commerce held thursday 15th september 2011 salthouse present president paul fielding jane cambria financial alun edwards carpetcare peter june fenton carconomy john berry mike clarke ymca mariza lewis bargain booze cllr david newton-williams chris smart margaret mehinnick sussed apologies rhiannon kingsley geoff bond norah phil george mark morgan keith leanne sharon emma griffiths jack bridge lyndsey introduction welcome welcomed everyone meeting especially attendee from approve last matters arising proposed seconded discussion took place regarding white parked salt lake park selling groceries stated that bcbc regarded this land belonging patrick evans however true belongs highways further letter will sent asking them remove situation whereby renault place cars south road opposite shop which preventing customers visiting spoken with police sell long they were certain distance each other suggested should phone trading standards president's presidents address correspondence trip langland enjoyed good away toughness trading thanks came christmas event take prince wales kenfig received e-mail presentation regeneration october pavillion welcome also received theft about being disinterested catching penalising culprits seems shops represented bigger stores have their criteria won't wont action unless more write invite jason jenkins attend next discussions matter later send treasurer's treasurers report members £250 premiere £4846 possible member piers hubbard-miles forum carrier charge whether suggest traders proceeds given special fund distribute various charities decided questionnaire traders views town manager update unable update secretary home ymca? exploratory using ymca's ymcas admin assistant chamber's chambers pros there would outlay person paid base where able contact wish either visit available every structure administration option members before definite answer decision needs made soon cannot continue onus this taken working party council reported music festival cancelled night hi-tide been arranged collection bands event group lights turned 26th november same format previous years bandstand right still looking celebrity open proceedings-owen money? ideas help please skate board opened heol goedwig some cons whole great idea looking into providing another rest council funding improvement boxing club restore original state joint items agenda needed helium balloons stopped objections health safety week back fornt having approved janet ceased gratitude support date time next 20th closed back past minutes \",\" cardiff half marathon 2011 lorraine stone running \",\" porthcawl district chamber trade commerce minutes meeting held thursday october 2011 salthouse present president paul fielding cambria finance alun edwards carpetcare sharon leanne shaw trust lindsay morgan peter fenton carconomy cllr chris smart keith david newton williams john berry ymca gutteridge mike clarke norah rhiannon kingsley towns centre manager watts marija lewis bargain booze emma griffiths salt house lorraine stone truly scrumptious jeane rees apologies absence were received from margaret minhinnick westwood mark mary jane geoff bond sian browning andrew parry jones june 15th september agreed true record proposed seconded with addition westwood's westwoods apology matters arising white selling potatoes side lake park moved correspondence email requesting minutes this treasurer's treasurers report members 	current account £250 	savings town station hill subway refurbishment complete asked there other projects needing attention bandstand discussion took place about removal seats request free christmas parking beginning december regeneration attended presentation pavilion confirmation awaited developers date public exhibition clarification required group meet bcbc tesco volunteers 	constructive comments concerns expressed entry into street hillsboro' hillsboro park proposal group appointed discussed having base taken forward through this joint council been 26th distributed there some around theme which cinderella suggested 	future years themes should attract young people just children window competition would also blue rubbish bags trade waste followed noise pollution noted claims could made council businesses must keep sales 	records direct site explained site porthcawldirect cost year planning workshop explain traders kept needed promoting comfort fund said £500 chambers' chambers accounts delay getting items oiut troop changes requirements help heroes will provide residential care stephen rock president royal british legion invited accept cheque proposed other business cribs that cribs renovated erected 	name seabank offered small donation formal letter 	needed permission green thanked 	for work behalf requested £1200-£1500 funds erect bunting down jubilee 	year principle liaising queried whether participating tree festival 	saints large tree outside church 	would inside liaise rotary others 	about pointed cardiff marathon raised £903 charity 	paul photos lorraine's lorraines effort fantastic 	brought credit town announced informed welsh assembly obtained 	million pounds stimulate economy wales suggestions wanted encouraging membership bridgend forum inviting them tabled next date 17th november square being further business chairman closed \",\" chamber trade christmas banquet 2011 \",\" porthcawl district chamber trade commerce minutes meeting held thursday 17th november 2011 present president paul fielding jane mark morgan john westward peter june fenton alun sharon edwards leanne jack bridge emma griffiths lorraine chris stone lindsay cllr smart david newton williams apologies berry marija lewis rhiannon kingsley mary emment margaret minhinnick keith geoff bond mike norah clarke president's presidents address correspondence welcomed members congratulated raising charity glaze received invitation attend switching christmas lights 26th blessing cribs discussion took place regarding lack along seafront tree griffin park roundabout suggested that should take pride town with town council make arrangements outside bcbc seconded trees roundabouts left abeyance until attends council approve minutes last approved matters arising from previous informed these were being renovated would erected conjunction queen's queens jubilee hanging cost bunting queen‟s will hung street station hill erect handyman either explained buying banners hang lampposts fixings could used jubilee separate sub-committee discuss thoroughly include anybody interested asked what happening having removal replacement seats this sorted between regeneration when this takes essential traders keep accurate records their compensation claims treasurer's treasurers report gave report follows current account £250 premium £500 been given troops invalided afghanistan letter commander rock very grateful contribution unable stuff benefits destined first good works posted website said there further £150 agreed pass soldiers made point annual accounts available hold accountants post them secure part internet they must produced every secretary's secretarys ymca administrative duties year wants each trader like paid standing order february assess which have issue membership cards those apologised invited certain people meetings window competition windows based theme cinderella‟ judged 24th mayor notified traders window inform judging date working quite well some giving email banquet friday december prince wales kenfig hayley rixon providing entertainment know need transport hire minibus reported nottage illuminated white looking alternative venues harbour whilst regeneration going drop centre moved accommodate they permanent structure somewhere else rest thought properly decorated ensure least find roundabout also whether bought still existence £550 lindsay‟s option maybe next half already apparently destroyed longer could back repair resolved quickly represented committee alison sort plans 2012 members provide projects look year greater co-operation improved electronic notice board advertise busineses especially area refurbish chain office past president‟s badge queried rumour tesco postponing coming apparently nothing signed delay caused legalities heard harbour project rampant rumours write clarification contact dated business forum jazz festival involved there other business chairman closed date 19th january salthouse \",\" minutes meeting porthcawl district chamber trade commerce held thursday 19th january 2012 salthouse present vice chairman cllr david newton williams alun sharon edwards carpetcare leanne shaw trust jack bridge rhiannon kingsley towns manager norah clarke mike peter june fenton carconomy john berry ymca margaret minhinnick sustainable wales stewart emberlin grand pavilion mark phillips jeane rees 	apologies paul jane fielding westwood lindsay morgan marija lewis keith mary emmet 	introduction welcome newton-williams welcomed members pleased introduce from 	approve last they were approved 	matters arising discussion took place about christmas trees comfort fund bunting february's februarys agenda 	president's 	presidents address none present 	treasurer's 	treasurers report gave report follows £100 	premier c		£6 accounts will auditing shortly payments subs received date payment jazz festival receipt required invoice trip langland £250 paid attending invoices available requested 	town manager's managers wants more info traders internet town centre website commented porter's porters which topic debated commons pilot towns experiment should prepared proposed agreed hold special discuss portas wednesday february seconded have street markets with licence bcbc fairs decision made council nothing 	meeting administrative committee meet finalize administrative requirements services provide 26th 	porthcawl direct workshop edit member's pages salt house fallow card into shops customers take agreement promote website radio more businesses needs this free 	christmas window competition cinderella winners gutteridge florists truly scrumptious non-retail future pantomime theme window competition next year sleeping beauty 	committee meetings four dates executive committee meetings apart general agreed majority proposed events stuart 	plans projects plans other than current progress members asked their ideas must business development growth only event saturday december there business thanked closed meeting 16th square \");");
d.write("var pageMap = new Array(\"Home\",\"Notice Board & Events\",\"Loyalty Card\",\"Members\",\"Local Jobs\",\"Post Vacancy\",\"Links\",\"Photo Gallery\",\"Business to Business\",\"Membership Application\",\"60's Dance 2009\",\"Queen's Garden Party 2010\",\"Contact Us\",\"Participating Businesses\",\"Summer night out 2009\",\"About Us\",\"Mayor's Party\",\"2010 Christmas Banquet\",\"2010 Christmas\",\"Calendar\",\"Local Weather\",\"Minutes July 2011\",\"Minutes September 2011\",\"Cardiff Half Marathon 2011\",\"Minutes October 2011\",\"Christmas Banquet 2011\",\"Minutes November 2011\",\"January 2012\");");
d.write("var linkMap = new Array(\"index.php\",\"page2.php\",\"page3.php\",\"page4.php\",\"page5.php\",\"page6.php\",\"page7.php\",\"page10.php\",\"page11.php\",\"page12.php\",\"page13.php\",\"page14.php\",\"page15.php\",\"page16.php\",\"page18.php\",\"page19.php\",\"page20.php\",\"page30.php\",\"page33.php\",\"page31.php\",\"weather.php\",\"minutesjuly2011.php\",\"septemberminutes2011.php\",\"cardiffhalfmarathon.php\",\"october2011.php\",\"banquet.php\",\"november.php\",\"january2012.php\");");
d.write("var preMap = new Array(\"Welcome to our Web site  www porthcawldirect com  A new web site has been developed by the Chamber  to help boost trade for businesses in Porthcawl  This site will give local businesses a full web pag\",\"Notice Board   Events      \",\"Name  Business Name  Address  Telephone  E-mail  Web site  Offer  The loyalty card scheme has become popular in many towns as a way for independent businesses to encourage local people and visitors to\",\"Members List   Business Name          Contact Name              Address                    Telephone Number  A Fodor Dentist  Hillsboro Place  0782365 AJ Guttridge Julian Hoskins The Vineries New Road\",\"Local Job Vacancies Advertise your Vacancy FREE Click Here  Vacancy = 					Carpet and Flooring Fitter Rate = 										2 50 per Sq metre Hours = 								Flexible Area  = 								Porthcawl  Company  = \",\"Local Job Vacancies Vacancy  Rate of Pay   Hours  Area  Company  Contact  Telephone  E-mail  Comments  Please fill in the form below with your job vacancy  \",\"Porthcawl Town Council Porthcawl Direct CARCONOMY Station Hill New Road  Porthcawl For all your Motoring needs 01656 788110 \",\"A Night in Cardiff Castle \",\"Business to Business \",\"Membership Application Business Name  Proprietor   Manager  business Address  Post Code  Telephone  Fax  E-mail  Date  Enquiry  \",\"60's Dance at the Seabank Hotel 2009 \",\"Sharon   Alun - Queen's Garden Party 2010 \",\"Contact Us Business Name  Proprietor   Manager  business Address  Telephone  Fax  E-mail  Comments  Enquiry   Post Code  Date  Membership Application Business Name  Proprietor   Manager  business Addr\",\"Tel Offer Address Company  Porthcawl Loyalty Card Scheme Participating Businesses and Offers NOTICE    THE LOYALTY CARD CAN'T BE USED IN CONJUNCTION WITH ANY OTHER OFFER    \",\"Summer Night Out 2009 \",\"Alun Edwards 2008 2009 Paul Fielding 2007 2008  Alun Edwards 2006 2007 Alun Edwards 2005 2006 Paul Fielding 2004 2005 Colin Evans 2003 2004 Colin Evans 2002 2003 Colin Evans 2001 2002 Pauline Eynon 20\",\"Mayor's Party 2009 \",\"2010 Christmas Banquet at The Prince Kenfig \",\"\",\"Calendar \",\"\",\"Minutes of the meeting of the Porthcawl   District Chamber of Trade   Commerce  held on Thursday 21st July 2011 at the Salthouse   Present  President Paul Fielding  Cambria Finance   Alun Edwards  Car\",\"Minutes of the Meeting of Porthcawl  District Chamber of Trade   Commerce held on Thursday 15th September 2011 at the Salthouse  Present  President Paul Fielding   Jane Fielding  Cambria Financial   A\",\"Cardiff Half Marathon 2011 Lorraine Stone Running The Cardiff Half Marathon \",\"Porthcawl   District Chamber of Trade   Commerce  Minutes of the meeting held on Thursday  20t h October 2011 at the Salthouse 1  Present  President Paul Fielding  Cambria Finance   Alun Edwards  Carp\",\"Chamber of Trade Christmas Banquet 2011 \",\"  Porthcawl and District Chamber of Trade and Commerce  Minutes of the meeting held on Thursday  17th November 2011  Present  President Paul Fielding  Jane Fielding  Mark Morgan  John Westward  Peter \",\"Minutes of the meeting of the Porthcawl   District Chamber of Trade   Commerce held on  Thursday  19th January 2012 at the Salthouse  Present  Vice Chairman Cllr  David Newton Williams  Alun   Sharon \");");
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+\" "+resultsText+" \"+searchTerms+\"<br><br>\"+results;");
d.write("}");
while(sTerms.indexOf("\"") != -1 ) {
sTerms = sTerms.replace("\"","");
};
d.write("wpDoSearch(\""+sTerms+"\");");
d.write("</script>");
d.write("</body></html>");
d.close();
}
