﻿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\" \"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 fifth avenue face body clinic invited tranquil relaxed environment where guarantee ultimate pampering professional friendly staff trained provide with superior service offering best treatments these include full half packages make ideal gift form voucher specifically cater small groups including birthdays party's partys afternoon spend your friends take look gallery line view facilities which group room relaxation hydrotherapy private treatment rooms much more forward treating making visit pleasant possible special offers popular demand glycolic peels remain promotion full body spray 2012 \",\" salon pictures video picture gallery \",\" body treatments massage grooming nail care tanning make packages group bookings facials \",\" jessica stress hormonal changes misuse affect condition your nails recognised worlds leading natural nail care system designed correct re-establish healthy manicure including french paint pedicure danne medi pedi callus peel alkaline wash callus treatment feet exceptional which leaves most rough cracked calloused skin smooth soft without blades hard removal 40mins delux cuticle mins parrafin therapy effective methods applying deep heat relieve pain stiffness warm paraffin also moisturises healthier softer nail care please allow time wear appropriate footwear \",\" \",\" \",\" bronze express products aveda skincare bodycare daniello universal body wrap jessica nailcare fakebake artdeco makeup decleor \",\" gift vouchers have extensive range gift vouchers available include half full experiences also products sets purchase from avenue call into salon contact 9343621 discuss with furthermore \",\" january february specials full body tans only glycolic peels peels-is unique formulation which dissolves dead skin cells stimulates collagen lightens pigmentation reduces pore size minimizes scars leaving bright firm beautiful available months 2012 *********************** book 43621 back popular demand \",\" contact opening hours mon-tues wed-fri location austin friar street mullingar westmeath 044-9343621 email info fifthavenue \",\" swedish massage deep invigorating massage helping release tension ease knotted muscles eliminate toxins will feel soothed relaxed energised revived full body course €325 back neck shoulder 30mins €225 indian head treats face scalp shoulders relieving headaches tense tired relaxing soothing your mind leaving with feeling peace tranquillity single session \",\" universal body wrap 30mins this awarding winning wrap only patented guaranteeing inch loss cellulite reduction detoxification skin healing benefits course €240 €450 save time have other treatments while your decleor sauna over body exfoliation followed luxurious mask eliminating tired leaving with silky smooth appearance ideal before holidays essential wedding treatments perfect 45mins perfect antidote heavy legs feet stimulating seaweed applied from ankles thighs instantly refreshing easing that feeling aveda aqua therapy bath mins relax hydrotherapy soak away tension dryness mineral rich salts dead leaves soft de-stressed carribean treatment begins smoothing detoxifying comforting massage completes this island inspired experience rosemary mint awakening renew your exfoliated softened wrapped essences rosemary peppermint will awaken senses scalp foot balance invigorate whole steam cabinet steam bathing been recognised years helps purify increasing circulation immune system encouraging complete physical mental well being \",\" decleor face 30mins aroma skincare nature purest form been craft 25years guarantees origin plants distillation adapted each species 100% natural active essential oils preserved facials take 85mins combining skin analysis back massage full facial extraction intensive mask moisturise aromaplasty expert rebalance decleor's decleors signature treatment involves multi-vitamin poultice hydrated revitalised rebalanced produce soft velvety luminous appearance immediately apparent after your first facial treatments purify suitable oily congested types special balancing complex helps absorb excess sebum promote smooth matt hydrate excellent choice dehydrated hydraforce fruit which gives instant long lasting hydrating sooth sensitive this soothing calms delicate helping reduce irritation redness leaving complexion more even supple nourish amazing provides hydration diminishes premature wrinkles fine lines caused lift treating signs ageing rich marine sediments brown algae vitamin will plump improving skins firmness giving radiance lightening dark spots mini prescription suitable includes cleanse peel vital mins fine crow's crows feet circles specialised hydrate nourish erase effects time drain decongest aveda aveda's avedas philosophy grounded belief that body mind composed five elements infinity fire water earth believes restoring balance senses sight smell sound taste touch through pure aromas plant based products include exfoliation elemental nature customised facials personalised designed just this create dewy look chosen containing flower extracts ideal radiant skin botanical resurfacing alternative microdermabrasion reveals dramatic results with smoother texture fewer stubborn also superficial scarring outer peace total solution blemished treats only symptoms their causes stays clear problem green science- anti ageing through potent powerful proven minimising visibly lifting firming boosts collagen elastin production improve tone focuses either revitalising 45mins diminishing puffiness around area daneillo glycolic peels glycolic peels treat over conditions ranging from acne rosacea open pores pigmented damaged broken veins capillaries great occasion without peel course €220 €450	 treatment instant beauty mask soothing nutrient biobrasion microdermabrasion microdernabrasion non-surgical method rejuvenation means mechanical exfoliating process improves while revealing living cells leaving better condition creams stimulates epidermis promoting thickening dermis resistance 40mins €240 €450 including prescription €110 €300 €550 \",\" aromaplasty expert rebalance those tinting waxing patch test required 24hrs prior appointment please follow aftercare advice bikini extended -	€25 brazilian full bikini braz leg	- bikini	- brazilian	 underarm	- forearm	- back	- chest	- upper lip	- chin	- chin	- sides face	- eyebrow shape	- tint	- eyelash complete brow shape tint with lash tint	- electroylsis minimum charge mins	- grooming \",\" spray tanning prior treatment exfoliate moisturise skin thoroughly wear loose clothing footwear fake bake bronze express full body *€45 application *€25 tummy area *2nd must within days \",\" make-up stunning avenue make-up artists will help personalise your make application enhancing natural beauty offer lessons wedding that special make-up moisturise bridal trial lesson \",\" fifth avenue packages ultimate pamper 3hrs 15mins €165 decleor aveda facial jessica manicure pedicure brow shape tint lash detox 2hrs €140 universal body wrap carribean wrap mini treatments caribbean aqua therapy bath party package €125 mini hand file paint full great expectations €130 facial either perfect treatment pedicure \",\" group bookings have your friends something celebrate? book afternoon pampering spa? will delighted help design medley treatments suit avail special private group room make occasion contact 9343621 discuss with party options groups \",\" artdeco aqua glow bronzing collection collection inspired summer gives skin natural appearing seductive shimmer refreshing shadow shades give exotic look touch chic intense blue warm brown gold make this irresistible \");");
d.write("var pageMap = new Array(\"5th Avenue Face and Body Clinic, Mullingar | Facials, Body Treatments, Nail care\",\"5th Avenue Face and Body Clinic, Mullingar | Facials, Body Treatments, Nail care\",\"5th Avenue Face and Body Clinic, Mullingar | Facials, Body Treatments, Nail care\",\"Nail Care\",\"Salon \",\"Video\",\"5th Avenue Face and Body Clinic, Mullingar | Facials, Body Treatments, Nail care\",\"5th Avenue Face and Body Clinic, Mullingar | Facials, Body Treatments, Nail care\",\"5th Avenue Face and Body Clinic, Mullingar | Facials, Body Treatments, Nail care\",\"5th Avenue Face and Body Clinic, Mullingar | Facials, Body Treatments, Nail care\",\"Massage\",\"Body Treatments\",\"Facials\",\"Grooming\",\"Tanning\",\"Make up\",\"Spa treatments\",\"Group Bookings\",\"Artdeco\");");
d.write("var linkMap = new Array(\"index.php\",\"gallery.php\",\"treatments.php\",\"nailcare.php\",\"pictures.php\",\"video.php\",\"products.php\",\"vouchers.php\",\"specials.php\",\"contact.php\",\"massage.php\",\"bodytreatments.php\",\"facials.php\",\"grooming.php\",\"tanning.php\",\"makeup.php\",\"spatreatments.php\",\"groups.php\",\"artdeco.php\");");
d.write("var preMap = new Array(\"Welcome to Fifth Avenue Face   Body Clinic  At 5th Avenue you are invited to a tranquil  relaxed environment where we guarantee you the ultimate in pampering  Our professional and friendly staff are t\",\"Salon Pictures Salon Video Picture Gallery \",\"Body Treatments Massage Grooming Nail Care Tanning Make Up Spa Packages Group Bookings Treatments Facials \",\"Jessica  Stress  hormonal changes and misuse can affect the condition of your nails  Recognised as the worlds leading natural nail care system  Jessica is designed to correct and re-establish healthy \",\"\",\"\",\"Bronze Express Products Aveda Skincare   Bodycare Dr  Daniello Universal Body Wrap Jessica Nailcare Fakebake ArtDeco   Aveda Makeup Decleor Skincare   Bodycare \",\"Gift Vouchers Gift Vouchers  We have an extensive range of gift vouchers available to include half and full day spa experiences   We also have a range of products and gift sets available for purchase \",\" JANUARY   FEBRUARY SPECIALS     Full Body Tans only €25   Glycolic Peels    -    €50  Glycolic Peels-Is a unique formulation which dissolves dead skin cells  stimulates new collagen  lightens pigment\",\"Contact us Opening hours Mon-Tues 9 30 – 6 00 Wed-Fri 9 30 – 8 00 Sat 9 30 – 6 00  Location  Austin Friar Street  Mullingar  Co Westmeath   Tel  044-9343621 Email  info fifthavenue ie  \",\"Swedish Massage Deep and invigorating massage helping to release tension  ease  knotted  muscles and eliminate toxins  You will feel soothed and relaxed yet energised and revived   Full Body  1hr  - €\",\"Universal Body Wrap -  1hr 30mins   This awarding winning wrap is the  only patented wrap guaranteeing inch loss  cellulite reduction  detoxification and skin healing benefits   1 wrap - €90 Course of\",\"Decleor Face -  1hr 30mins   Aroma skincare is nature in its purest form  It has been our craft for 25years  Decleor guarantees the origin of all our plants and the distillation adapted to each specie\",\"Aromaplasty Expert Rebalance - €75  For those new to tinting waxing  a patch test is required 24hrs prior to appointment  Please follow aftercare advice   Bikini - €20 Extended Bikini -	€25 Brazilian \",\" Spray Tanning   Prior to treatment exfoliate and moisturise the skin thoroughly  Do not moisturise on the day of the treatment  Wear loose clothing and footwear    Fake Bake   Bronze Express  Full Bo\",\" Make-Up for a stunning you   5th Avenue make-up artists will help personalise your make up application enhancing your natural beauty  We offer make up lessons and wedding make up application for that\",\" Fifth Avenue Spa packages      5th Avenue Ultimate pamper  3hrs 15mins  - €165  Decleor Aveda facial  Jessica manicure   pedicure  brow shape  tint   lash tint   5th Avenue Detox  2hrs 15mins  - €140\",\" Group Bookings      Have you and your friends something to celebrate?  Why not book in for an afternoon or day of pampering at our new spa?  We will be delighted to help you design a medley of treatm\",\"     ARTDECO Aqua Glow Bronzing Collection  The new ARTDECO Aqua Glow Bronzing collection was inspired by summer  sun and sea and gives the skin a natural appearing tan and a seductive shimmer    Refr\");");
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();
}
