﻿function GetSiteSearchResults(newWindow,frameObject,frameObjectName,fontFace,fontSize,fontColour,linkFace,linkSize,linkColour,resultsText)
{
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(\" visit sister site ketteringsewingstudio *did know kettering embroidery help many ways going explain work improve your image sell self company organisation school uniforms embroider full range school uniforms garments even bought them from asda tescos wants local with shop staff just internet best save money please check this petition http epetitions direct petitions 3207 starting club business exhibition come talk really introducing year suit needs better prices especially designed user larger clubs watch space \",\" \",\" these diagrams used design layout sizing logo's logos please right click logo copy  where possible please package edit jpeg forward completed template sales ketteringembroidery supply details garment want printing embroidery many when will take from there \",\" failing having graphic design degree being unsure forward ring 01536 350171 email graphics ketteringembroidery want your artwork produced what need file read work with deal wide variety types essentially must have high quality possible finished product good before getting technical electronic copy then please send very likely able open address ketteringembroidery vector format fonts converted outlines colours would their pantone references included bitmapped jpeg \",\" personalisation making mass produced item individual personalise items people need identify organisation promote your appear proud recognised stand from crowd \",\" running club difficult best times develop range garments merchandising just step this where help work with give your members smart image name street product quite extensive sure satisfy need ensure much hassle possible removed also print embroider that bring \",\" develop range garments merchandising just step this where help work with give your colleagues smart image name street ensure much hassle possible removed also print embroider that bring \",\" range items personalised suit many different people talk know what your presents come with solutions \",\" running club difficult best times develop range garments merchandising just step this where help work with give your members smart image name street also print embroider that bring \",\" help with number decorative area's areas specialise table wear embroidered napkins wine bottle aprons place mats coasters saws boxes wedding ribbons planning make this wedding special event then contact organised really being \",\" help with number decorative area's areas specialise table wear embroidered napkins wine bottle aprons place mats coasters saws boxes wedding ribbons planning make this event special then contact organised really \",\" full product range have vast range products available please click links below open remember said take much time sift through speak first happy email ‘the best fit' that better image counts check degree views garments make \",\" telephone 01536 350171 email sales ketteringembroidery \",\" \",\" know supply from garment check product range have huge products where quality counts there need specific colours sizes want small remember local business club bushiness with help provide right price service contact about your needs work helped hundreds people organisations find please contact approach unless invited speak email visit \",\" know supply from garment order small hand protection visibility clothing work gloves gauntlets kevlar gloves disposable latex rubber serious wear enquiries please email hiviz ketteringembroidery \",\" need understand what image messages going across your target audience will assist best present artwork text artwork requirements consider garment choice show provide large range garments from quality product ensuring repeatability needed with uniforms club wear bring along print embroider onto allowing find bargain specific type garment then leave thinking getting some embroidered printed then contact \",\" when people embroider their school uniform them? answer because embroiderers like asking brick layer bricks embroidered logo that supply exact same garment well most instances garments have bought from asda tesco absolutely school uniforms \");");
d.write("var pageMap = new Array(\"Garemnt Printing and Embroidering\",\"Special Offers\",\"Design Centre\",\"Artwork Requirements\",\"Personilsation\",\"Club Personalisation\",\"Business Personalisation\",\"Gift Personlisation\",\"Football Clubs Peronlisation\",\"Wedding Gift Personlisation\",\"Table Wear Personlisation\",\"Product Range\",\"Contact Us\",\"Gallery\",\"Workwear\",\"Safety Wear\",\"How to Use us\",\"School Uniforms\");");
d.write("var linkMap = new Array(\"index.html\",\"page2.html\",\"design centre.html\",\"artwork.html\",\"Personalisation1.html\",\"club personalisation.html\",\"business pers1.html\",\"giftpers.html\",\"fcpers.html\",\"wedding pers.html\",\"tablepers.html\",\"ProductRange.html\",\"contactus2.html\",\"Pictures of us.html\",\"wORKWEAR1.html\",\"Safety Wear.html\",\"how2useus.html\",\"school uniforms1.html\");");
d.write("var preMap = new Array(\". or Visit our Sister Web Site www.KetteringSewingStudio.co.uk *Did You Know!!.. Kettering Embroidery can help you in many ways We are going to explain how we work and how we can help improve your ima\",\"\",\"These diagrams are to be used to design layout and sizing of logos..  Please right click on logo and copy . Where possible please use an art package and edit as a Jpeg.. please forward the completed \",\"Failing you having a graphic design degree and being unsure of the way forward, ring us (01536 350171) or Email us at Graphics@ketteringembroidery.co.uk  Ok want to get your artwork produced by us.. W\",\"Personalisation is the art of making a mass produced item individual. Why Personalise items..   People  need  to identify the organisation. Promote your organisation Appear to be proud of who you are.\",\"Running a club is difficult at best of times.  To try and develop a range of garments or merchandising can be just a step to far.  This is where we can help.  We work with you to give your members a s\",\"To try and develop a range of garments or merchandising can be just a step to far.  This is where we can help.  We work with you to give your colleagues a smart image and get your name out on the stre\",\"We do a range of items personalised to suit many different people. Talk to us, let us know who or what your presents for and we can come up with solutions for you \",\"Running a club is difficult at best of times.  To try and develop a range of garments or merchandising can be just a step to far.  This is where we can help.  We work with you to give your members a s\",\"We can help with a number of decorative area’s but we specialise in the top table wear.  Embroidered Napkins Wine Bottle Aprons Place Mats Coasters Jig Saws Wine Boxes Wedding Ribbons So you are plann\",\"We can help with a number of decorative area’s but we specialise in the top table wear.  Embroidered Napkins Wine Bottle Aprons Place Mats Coasters Jig Saws Wine Boxes Wedding Ribbons So you are plann\",\"Full Product Range Ok we have a vast range of products available.  Please click on the links below to open.. Please remember I said a vast range it can take too much time to sift through...  So speak \",\"Telephone 01536 350171   Email Sales@KetteringEmbroidery.co.uk   Web www.KetteringEmbroidery.co.uk \",\"\",\"Did you know we can supply from 1 garment up to 20,000  Check out our product range..  We have a huge range of products for all Where quality counts we are there.. You Need specific colours sizes we a\",\"Did you know we can supply from 1 garment up to 20,000  No Order to big or too small. Hand Protection Hi VISIBILITY CLOTHING Work Gloves Gauntlets KEVLAR GLOVES Disposable Gloves LATEX RUBBER GLOVES F\",\" We need to understand what the image or and messages you are going to get across to your Target Audience. We will assist in how to best present your artwork or text.. See “Artwork Requirements” We ne\",\"Yes We Can! When People ask us “Can we embroider their school uniform for them?” we answer yes we can.. Because we are embroiderers and it is like asking a brick layer can he lay bricks.  So the embro\");");
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();
}
