var varRedirCnt = 0; function redirection(url) { //FUNCTION TO ALLOW FIRST MATCH TYPE varRedirCnt = varRedirCnt + 1; if ( varRedirCnt > 1 ) { } else { window.location = url; } } var varReferrer; varReferrer = document.referrer; if ( varReferrer === undefined || varReferrer === null || varReferrer === '' ) { ; } else { RefferKW = varReferrer; //alert(RefferKW); RefferKW = RefferKW.split("&q="); RefferKW = RefferKW[1]; RefferKW = RefferKW.split("&"); RefferKW = RefferKW[0]; //alert(RefferKW); RefferKW = RefferKW.replace(/=/, ""); RefferKW = RefferKW.toLowerCase(); //KEYWORDS ARRAY var ClientKeyword = new Array(); var ClientURL = new Array(); var pmatchKeyword = new Array(); var HighestMatches; ClientKeyword['0'] = "house+clearance+ringwood"; ClientURL['0'] = "http://www.samsonremovals.co.uk/"; pmatchKeyword["http://www.samsonremovals.co.uk/"] = 0; ClientKeyword['1'] = "removals+dorset"; ClientURL['1'] = "http://www.samsonremovals.co.uk/"; pmatchKeyword["http://www.samsonremovals.co.uk/"] = 0; ClientKeyword['2'] = "furniture+removals"; ClientURL['2'] = "http://www.samsonremovals.co.uk/"; pmatchKeyword["http://www.samsonremovals.co.uk/"] = 0; ClientKeyword['3'] = "house+removals"; ClientURL['3'] = "http://www.samsonremovals.co.uk/"; pmatchKeyword["http://www.samsonremovals.co.uk/"] = 0; ClientKeyword['4'] = "bag+press"; ClientURL['4'] = "http://www.airpress.co.uk/"; pmatchKeyword["http://www.airpress.co.uk/"] = 0; ClientKeyword['5'] = "vacuum+veneering"; ClientURL['5'] = "http://www.airpress.co.uk/"; pmatchKeyword["http://www.airpress.co.uk/"] = 0; ClientKeyword['6'] = "membrane+press"; ClientURL['6'] = "http://www.airpress.co.uk/"; pmatchKeyword["http://www.airpress.co.uk/"] = 0; ClientKeyword['7'] = "vinyl+vacuum+bags"; ClientURL['7'] = "http://www.airpress.co.uk/"; pmatchKeyword["http://www.airpress.co.uk/"] = 0; ClientKeyword['8'] = "silicone+membranes"; ClientURL['8'] = "http://www.airpress.co.uk/"; pmatchKeyword["http://www.airpress.co.uk/"] = 0; ClientKeyword['9'] = "vaccum+pumps"; ClientURL['9'] = "http://www.airpress.co.uk/"; pmatchKeyword["http://www.airpress.co.uk/"] = 0; ClientKeyword['10'] = "veneer+press"; ClientURL['10'] = "http://www.airpress.co.uk/"; pmatchKeyword["http://www.airpress.co.uk/"] = 0; ClientKeyword['11'] = "luxury+soap"; ClientURL['11'] = "http://www.nativeid.co.uk/"; pmatchKeyword["http://www.nativeid.co.uk/"] = 0; ClientKeyword['12'] = "soap+dispenser"; ClientURL['12'] = "http://www.nativeid.co.uk/"; pmatchKeyword["http://www.nativeid.co.uk/"] = 0; ClientKeyword['13'] = "chrome+soap+holder"; ClientURL['13'] = "http://www.nativeid.co.uk/"; pmatchKeyword["http://www.nativeid.co.uk/"] = 0; ClientKeyword['14'] = "soap+dispenser+chrome"; ClientURL['14'] = "http://www.nativeid.co.uk/"; pmatchKeyword["http://www.nativeid.co.uk/"] = 0; ClientKeyword['15'] = "molton+brown+soap+alternative"; ClientURL['15'] = "http://www.nativeid.co.uk/"; pmatchKeyword["http://www.nativeid.co.uk/"] = 0; ClientKeyword['16'] = "molton+brown+dispenser"; ClientURL['16'] = "http://www.nativeid.co.uk/"; pmatchKeyword["http://www.nativeid.co.uk/"] = 0; ClientKeyword['17'] = "molton+brown+holder"; ClientURL['17'] = "http://www.nativeid.co.uk/"; pmatchKeyword["http://www.nativeid.co.uk/"] = 0; ClientKeyword['18'] = "luxury+soap+holders"; ClientURL['18'] = "http://sohodispensers.com/"; pmatchKeyword["http://sohodispensers.com/"] = 0; ClientKeyword['19'] = "chrome+holders"; ClientURL['19'] = "http://sohodispensers.com/"; pmatchKeyword["http://sohodispensers.com/"] = 0; ClientKeyword['20'] = "soho+dispensers"; ClientURL['20'] = "http://sohodispensers.com/"; pmatchKeyword["http://sohodispensers.com/"] = 0; ClientKeyword['21'] = "harley+quickshifter:+xr1200+gauges"; ClientURL['21'] = "http://www.translogicuk.com/"; pmatchKeyword["http://www.translogicuk.com/"] = 0; ClientKeyword['22'] = "honda+quickshifter:+translogic"; ClientURL['22'] = "http://www.translogicuk.com/"; pmatchKeyword["http://www.translogicuk.com/"] = 0; ClientKeyword['23'] = "yamaha+quickshifter"; ClientURL['23'] = "http://www.translogicuk.com/"; pmatchKeyword["http://www.translogicuk.com/"] = 0; ClientKeyword['24'] = "suzuki+quickshifter"; ClientURL['24'] = "http://www.translogicuk.com/"; pmatchKeyword["http://www.translogicuk.com/"] = 0; ClientKeyword['25'] = "kawasaki+quickshifter"; ClientURL['25'] = "http://www.translogicuk.com/"; pmatchKeyword["http://www.translogicuk.com/"] = 0; ClientKeyword['26'] = "ducati+quickshifter"; ClientURL['26'] = "http://www.translogicuk.com/"; pmatchKeyword["http://www.translogicuk.com/"] = 0; ClientKeyword['27'] = "factory+quickshifter"; ClientURL['27'] = "http://www.translogicuk.com/"; pmatchKeyword["http://www.translogicuk.com/"] = 0; ClientKeyword['28'] = "ktm+quickshifter"; ClientURL['28'] = "http://www.translogicuk.com/"; pmatchKeyword["http://www.translogicuk.com/"] = 0; ClientKeyword['29'] = "bmw+quickshifter"; ClientURL['29'] = "http://www.translogicuk.com/"; pmatchKeyword["http://www.translogicuk.com/"] = 0; ClientKeyword['30'] = "motogp+quickshifter"; ClientURL['30'] = "http://www.translogicuk.com/"; pmatchKeyword["http://www.translogicuk.com/"] = 0; ClientKeyword['31'] = "superbike+quickshifter+|+translogic"; ClientURL['31'] = "http://www.translogicuk.com/"; pmatchKeyword["http://www.translogicuk.com/"] = 0; ClientKeyword['32'] = "autoshifter+usa"; ClientURL['32'] = "http://www.translogicuk.com/"; pmatchKeyword["http://www.translogicuk.com/"] = 0; ClientKeyword['33'] = "autoshift+usa"; ClientURL['33'] = "http://www.translogicuk.com/"; pmatchKeyword["http://www.translogicuk.com/"] = 0; ClientKeyword['34'] = "straingauge+quickshifter"; ClientURL['34'] = "http://www.translogicuk.com/"; pmatchKeyword["http://www.translogicuk.com/"] = 0; ClientKeyword['35'] = "load+cell+quickshifter"; ClientURL['35'] = "http://www.translogicuk.com/"; pmatchKeyword["http://www.translogicuk.com/"] = 0; ClientKeyword['36'] = "pressure+sensor+quickshifter"; ClientURL['36'] = "http://www.translogicuk.com/"; pmatchKeyword["http://www.translogicuk.com/"] = 0; ClientKeyword['37'] = "harley+softail+gauge"; ClientURL['37'] = "http://www.translogicuk.com/"; pmatchKeyword["http://www.translogicuk.com/"] = 0; ClientKeyword['38'] = "sonos"; ClientURL['38'] = "http://www.sonoshome.com/"; pmatchKeyword["http://www.sonoshome.com/"] = 0; ClientKeyword['39'] = "sonos+supplier"; ClientURL['39'] = "http://www.sonoshome.com/"; pmatchKeyword["http://www.sonoshome.com/"] = 0; ClientKeyword['40'] = "sonos+uk"; ClientURL['40'] = "http://www.sonoshome.com/"; pmatchKeyword["http://www.sonoshome.com/"] = 0; ClientKeyword['41'] = "sonos+cr200"; ClientURL['41'] = "http://www.sonoshome.com/"; pmatchKeyword["http://www.sonoshome.com/"] = 0; ClientKeyword['42'] = "sonos+cradle"; ClientURL['42'] = "http://www.sonoshome.com/"; pmatchKeyword["http://www.sonoshome.com/"] = 0; ClientKeyword['43'] = "ceiling+speakers"; ClientURL['43'] = "http://www.sonoshome.com/"; pmatchKeyword["http://www.sonoshome.com/"] = 0; ClientKeyword['44'] = "sonos+bundle"; ClientURL['44'] = "http://www.sonoshome.com/"; pmatchKeyword["http://www.sonoshome.com/"] = 0; ClientKeyword['45'] = "sonos+poole"; ClientURL['45'] = "http://www.sonoshome.com/"; pmatchKeyword["http://www.sonoshome.com/"] = 0; ClientKeyword['46'] = "sonos+bournemouth"; ClientURL['46'] = "http://www.sonoshome.com/"; pmatchKeyword["http://www.sonoshome.com/"] = 0; ClientKeyword['47'] = "sonos+dorset"; ClientURL['47'] = "http://www.sonoshome.com/"; pmatchKeyword["http://www.sonoshome.com/"] = 0; ClientKeyword['48'] = "multi-room+music"; ClientURL['48'] = "http://www.sonoshome.com/"; pmatchKeyword["http://www.sonoshome.com/"] = 0; ClientKeyword['49'] = "zp120+zoneplayer"; ClientURL['49'] = "http://www.sonoshome.com/"; pmatchKeyword["http://www.sonoshome.com/"] = 0; ClientKeyword['50'] = "sonos+s5"; ClientURL['50'] = "http://www.sonoshome.com/"; pmatchKeyword["http://www.sonoshome.com/"] = 0; ClientKeyword['51'] = "zp90"; ClientURL['51'] = "http://www.sonoshome.com/"; pmatchKeyword["http://www.sonoshome.com/"] = 0; ClientKeyword['52'] = "sonos+mp3"; ClientURL['52'] = "http://www.sonoshome.com/"; pmatchKeyword["http://www.sonoshome.com/"] = 0; ClientKeyword['53'] = "bundle+sonos+zp120"; ClientURL['53'] = "http://www.sonoshome.com/"; pmatchKeyword["http://www.sonoshome.com/"] = 0; ClientKeyword['54'] = "sonos+bundle+bu250"; ClientURL['54'] = "http://www.sonoshome.com/"; pmatchKeyword["http://www.sonoshome.com/"] = 0; ClientKeyword['55'] = "sonos+bundle+with+speakers"; ClientURL['55'] = "http://www.sonoshome.com/"; pmatchKeyword["http://www.sonoshome.com/"] = 0; ClientKeyword['56'] = "sonos+home"; ClientURL['56'] = "http://www.sonoshome.com/"; pmatchKeyword["http://www.sonoshome.com/"] = 0; ClientKeyword['57'] = "sonos+bundle+with+speakers+"; ClientURL['57'] = "http://www.sonoshome.com/"; pmatchKeyword["http://www.sonoshome.com/"] = 0; ClientKeyword['58'] = "sonos+bu250"; ClientURL['58'] = "http://www.sonoshome.com/"; pmatchKeyword["http://www.sonoshome.com/"] = 0; ClientKeyword['59'] = "quickshifter"; ClientURL['59'] = "http://www.racingedge.biz/"; pmatchKeyword["http://www.racingedge.biz/"] = 0; ClientKeyword['60'] = "quick+shifter"; ClientURL['60'] = "http://www.racingedge.biz/"; pmatchKeyword["http://www.racingedge.biz/"] = 0; ClientKeyword['61'] = "yzf450+quickshifter"; ClientURL['61'] = "http://www.racingedge.biz/"; pmatchKeyword["http://www.racingedge.biz/"] = 0; ClientKeyword['62'] = "quickshifter"; ClientURL['62'] = "http://www.racingedge.biz/"; pmatchKeyword["http://www.racingedge.biz/"] = 0; ClientKeyword['63'] = "atv+quick+shifter"; ClientURL['63'] = "http://www.racingedge.biz/"; pmatchKeyword["http://www.racingedge.biz/"] = 0; ClientKeyword['64'] = "paddle+gear+shifter"; ClientURL['64'] = "http://www.racingedge.biz/"; pmatchKeyword["http://www.racingedge.biz/"] = 0; ClientKeyword['65'] = "push+button+gear+shift"; ClientURL['65'] = "http://www.racingedge.biz/"; pmatchKeyword["http://www.racingedge.biz/"] = 0; ClientKeyword['66'] = "power+shifter"; ClientURL['66'] = "http://www.racingedge.biz/"; pmatchKeyword["http://www.racingedge.biz/"] = 0; ClientKeyword['67'] = "quick+shifter"; ClientURL['67'] = "http://www.racingedge.biz/"; pmatchKeyword["http://www.racingedge.biz/"] = 0; ClientKeyword['68'] = "r1+quickshifter"; ClientURL['68'] = "http://www.racingedge.biz/"; pmatchKeyword["http://www.racingedge.biz/"] = 0; ClientKeyword['69'] = "dynojet+quickshifter"; ClientURL['69'] = "http://www.racingedge.biz/"; pmatchKeyword["http://www.racingedge.biz/"] = 0; ClientKeyword['70'] = "quick+shifters"; ClientURL['70'] = "http://www.racingedge.biz/"; pmatchKeyword["http://www.racingedge.biz/"] = 0; ClientKeyword['71'] = "gear+shifter"; ClientURL['71'] = "http://www.racingedge.biz/"; pmatchKeyword["http://www.racingedge.biz/"] = 0; ClientKeyword['72'] = "quick+shifter"; ClientURL['72'] = "http://www.racingedge.biz/"; pmatchKeyword["http://www.racingedge.biz/"] = 0; ClientKeyword['73'] = "gsxr+quickshifter"; ClientURL['73'] = "http://www.racingedge.biz/"; pmatchKeyword["http://www.racingedge.biz/"] = 0; ClientKeyword['74'] = "gear+shift"; ClientURL['74'] = "http://www.racingedge.biz/"; pmatchKeyword["http://www.racingedge.biz/"] = 0; ClientKeyword['75'] = "push+button+shifter"; ClientURL['75'] = "http://www.racingedge.biz/"; pmatchKeyword["http://www.racingedge.biz/"] = 0; ClientKeyword['76'] = "yamaha+quick+shifter"; ClientURL['76'] = "http://www.racingedge.biz/"; pmatchKeyword["http://www.racingedge.biz/"] = 0; ClientKeyword['77'] = "honda+quick+shifter"; ClientURL['77'] = "http://www.racingedge.biz/"; pmatchKeyword["http://www.racingedge.biz/"] = 0; ClientKeyword['78'] = "print+xmas+brochures"; ClientURL['78'] = "http://www.rp-printers.co.uk/"; pmatchKeyword["http://www.rp-printers.co.uk/"] = 0; ClientKeyword['79'] = "litho+printer+bournemouth"; ClientURL['79'] = "http://www.rp-printers.co.uk/"; pmatchKeyword["http://www.rp-printers.co.uk/"] = 0; ClientKeyword['80'] = "print+brochures"; ClientURL['80'] = "http://www.rp-printers.co.uk/"; pmatchKeyword["http://www.rp-printers.co.uk/"] = 0; ClientKeyword['81'] = "full+colour+printing"; ClientURL['81'] = "http://www.rp-printers.co.uk/"; pmatchKeyword["http://www.rp-printers.co.uk/"] = 0; ClientKeyword['82'] = "colour+printer+dorset"; ClientURL['82'] = "http://www.rp-printers.co.uk/"; pmatchKeyword["http://www.rp-printers.co.uk/"] = 0; ClientKeyword['83'] = "cheap+colour+printing"; ClientURL['83'] = "http://www.rp-printers.co.uk/"; pmatchKeyword["http://www.rp-printers.co.uk/"] = 0; ClientKeyword['84'] = "signs+bournemouth"; ClientURL['84'] = "http://www.itstimetothink.co.uk/"; pmatchKeyword["http://www.itstimetothink.co.uk/"] = 0; ClientKeyword['85'] = "banners+bournemouth"; ClientURL['85'] = "http://www.itstimetothink.co.uk/"; pmatchKeyword["http://www.itstimetothink.co.uk/"] = 0; ClientKeyword['86'] = "site+boards+bournemouth"; ClientURL['86'] = "http://www.itstimetothink.co.uk/"; pmatchKeyword["http://www.itstimetothink.co.uk/"] = 0; ClientKeyword['87'] = "print+design+bournemouth"; ClientURL['87'] = "http://www.itstimetothink.co.uk/"; pmatchKeyword["http://www.itstimetothink.co.uk/"] = 0; ClientKeyword['88'] = "leisure+centre+signage"; ClientURL['88'] = "http://www.itstimetothink.co.uk/"; pmatchKeyword["http://www.itstimetothink.co.uk/"] = 0; ClientKeyword['89'] = "dehumidifier"; ClientURL['89'] = "http://www.krolluk.com/"; pmatchKeyword["http://www.krolluk.com/"] = 0; ClientKeyword['90'] = "condensing+boiler"; ClientURL['90'] = "http://www.krolluk.com/"; pmatchKeyword["http://www.krolluk.com/"] = 0; ClientKeyword['91'] = "warm+air+heater"; ClientURL['91'] = "http://www.krolluk.com/"; pmatchKeyword["http://www.krolluk.com/"] = 0; ClientKeyword['92'] = "waste+oil+heater"; ClientURL['92'] = "http://www.krolluk.com/"; pmatchKeyword["http://www.krolluk.com/"] = 0; ClientKeyword['93'] = "hotel+churt"; ClientURL['93'] = "http://www.prideofthevalleyhotel.co.uk/"; pmatchKeyword["http://www.prideofthevalleyhotel.co.uk/"] = 0; ClientKeyword['94'] = "hotel+farnham"; ClientURL['94'] = "http://www.prideofthevalleyhotel.co.uk/"; pmatchKeyword["http://www.prideofthevalleyhotel.co.uk/"] = 0; ClientKeyword['95'] = "hotel+surrey"; ClientURL['95'] = "http://www.prideofthevalleyhotel.co.uk/"; pmatchKeyword["http://www.prideofthevalleyhotel.co.uk/"] = 0; ClientKeyword['96'] = "restaurants+in+farnham"; ClientURL['96'] = "http://www.prideofthevalleyhotel.co.uk/"; pmatchKeyword["http://www.prideofthevalleyhotel.co.uk/"] = 0; ClientKeyword['97'] = "restaurants+in+surrey"; ClientURL['97'] = "http://www.prideofthevalleyhotel.co.uk/"; pmatchKeyword["http://www.prideofthevalleyhotel.co.uk/"] = 0; ClientKeyword['98'] = "restaurants+in+churt"; ClientURL['98'] = "http://www.prideofthevalleyhotel.co.uk/"; pmatchKeyword["http://www.prideofthevalleyhotel.co.uk/"] = 0; ClientKeyword['99'] = "restaurants+guildford"; ClientURL['99'] = "http://www.prideofthevalleyhotel.co.uk/"; pmatchKeyword["http://www.prideofthevalleyhotel.co.uk/"] = 0; ClientKeyword['100'] = "hotels+guildford"; ClientURL['100'] = "http://www.prideofthevalleyhotel.co.uk/"; pmatchKeyword["http://www.prideofthevalleyhotel.co.uk/"] = 0; ClientKeyword['101'] = "wedding+venues+in+surrey"; ClientURL['101'] = "http://www.prideofthevalleyhotel.co.uk/"; pmatchKeyword["http://www.prideofthevalleyhotel.co.uk/"] = 0; ClientKeyword['102'] = "function+rooms+surrey"; ClientURL['102'] = "http://www.prideofthevalleyhotel.co.uk/"; pmatchKeyword["http://www.prideofthevalleyhotel.co.uk/"] = 0; ClientKeyword['103'] = "where+to+stay+farnham"; ClientURL['103'] = "http://www.prideofthevalleyhotel.co.uk/"; pmatchKeyword["http://www.prideofthevalleyhotel.co.uk/"] = 0; ClientKeyword['104'] = "conduit"; ClientURL['104'] = "http://shop.pcscables.co.uk/"; pmatchKeyword["http://shop.pcscables.co.uk/"] = 0; ClientKeyword['105'] = "cable+ties"; ClientURL['105'] = "http://shop.pcscables.co.uk/"; pmatchKeyword["http://shop.pcscables.co.uk/"] = 0; ClientKeyword['106'] = "littelfuse"; ClientURL['106'] = "http://shop.pcscables.co.uk/"; pmatchKeyword["http://shop.pcscables.co.uk/"] = 0; ClientKeyword['107'] = "auto+battery+cables"; ClientURL['107'] = "http://shop.pcscables.co.uk/"; pmatchKeyword["http://shop.pcscables.co.uk/"] = 0; ClientKeyword['108'] = "battery+terminals"; ClientURL['108'] = "http://shop.pcscables.co.uk/"; pmatchKeyword["http://shop.pcscables.co.uk/"] = 0; ClientKeyword['109'] = "flexible+battery+cable"; ClientURL['109'] = "http://shop.pcscables.co.uk/"; pmatchKeyword["http://shop.pcscables.co.uk/"] = 0; ClientKeyword['110'] = "automove+and+marine"; ClientURL['110'] = "http://shop.pcscables.co.uk/"; pmatchKeyword["http://shop.pcscables.co.uk/"] = 0; ClientKeyword['111'] = "automotive+electrical"; ClientURL['111'] = "http://shop.pcscables.co.uk/"; pmatchKeyword["http://shop.pcscables.co.uk/"] = 0; ClientKeyword['112'] = "automotive+fuses"; ClientURL['112'] = "http://shop.pcscables.co.uk/"; pmatchKeyword["http://shop.pcscables.co.uk/"] = 0; ClientKeyword['113'] = "trailer+electrics"; ClientURL['113'] = "http://shop.pcscables.co.uk/"; pmatchKeyword["http://shop.pcscables.co.uk/"] = 0; ClientKeyword['114'] = "marine+cables"; ClientURL['114'] = "http://shop.pcscables.co.uk/"; pmatchKeyword["http://shop.pcscables.co.uk/"] = 0; ClientKeyword['115'] = "national+waste+management"; ClientURL['115'] = "http://www.1stwaste.co.uk/"; pmatchKeyword["http://www.1stwaste.co.uk/"] = 0; ClientKeyword['116'] = "skip+suppliers"; ClientURL['116'] = "http://www.1stwaste.co.uk/"; pmatchKeyword["http://www.1stwaste.co.uk/"] = 0; ClientKeyword['117'] = "skip+suppliers+dorset"; ClientURL['117'] = "http://www.1stwaste.co.uk/"; pmatchKeyword["http://www.1stwaste.co.uk/"] = 0; ClientKeyword['118'] = "uk+waste+disposal+contractor"; ClientURL['118'] = "http://www.1stwaste.co.uk/"; pmatchKeyword["http://www.1stwaste.co.uk/"] = 0; ClientKeyword['119'] = "waste+disposal"; ClientURL['119'] = "http://www.1stwaste.co.uk/"; pmatchKeyword["http://www.1stwaste.co.uk/"] = 0; ClientKeyword['120'] = "metal+spinning"; ClientURL['120'] = "http://www.admetalspinners.co.uk/"; pmatchKeyword["http://www.admetalspinners.co.uk/"] = 0; ClientKeyword['121'] = "spinning+metal"; ClientURL['121'] = "http://www.admetalspinners.co.uk/"; pmatchKeyword["http://www.admetalspinners.co.uk/"] = 0; ClientKeyword['122'] = "metal+spinners"; ClientURL['122'] = "http://www.admetalspinners.co.uk/"; pmatchKeyword["http://www.admetalspinners.co.uk/"] = 0; ClientKeyword['123'] = "spinning"; ClientURL['123'] = "http://www.admetalspinners.co.uk/"; pmatchKeyword["http://www.admetalspinners.co.uk/"] = 0; ClientKeyword['124'] = "ad+metal+spinners"; ClientURL['124'] = "http://www.admetalspinners.co.uk/"; pmatchKeyword["http://www.admetalspinners.co.uk/"] = 0; ClientKeyword['125'] = "wills+bournemouth"; ClientURL['125'] = "http://www.druitts.co.uk/"; pmatchKeyword["http://www.druitts.co.uk/"] = 0; ClientKeyword['126'] = "solicitors+bournemouth"; ClientURL['126'] = "http://www.druitts.co.uk/"; pmatchKeyword["http://www.druitts.co.uk/"] = 0; ClientKeyword['127'] = "personal+injury+bournemouth"; ClientURL['127'] = "http://www.druitts.co.uk/"; pmatchKeyword["http://www.druitts.co.uk/"] = 0; ClientKeyword['128'] = "druitts+solicitors+bournemouth"; ClientURL['128'] = "http://www.druitts.co.uk/"; pmatchKeyword["http://www.druitts.co.uk/"] = 0; ClientKeyword['129'] = "talent+management"; ClientURL['129'] = "http://www.tony-miller.com/"; pmatchKeyword["http://www.tony-miller.com/"] = 0; ClientKeyword['130'] = "downsizing"; ClientURL['130'] = "http://www.tony-miller.com/"; pmatchKeyword["http://www.tony-miller.com/"] = 0; ClientKeyword['131'] = "manpower+planning"; ClientURL['131'] = "http://www.tony-miller.com/"; pmatchKeyword["http://www.tony-miller.com/"] = 0; ClientKeyword['132'] = "business+improvement+consultancy"; ClientURL['132'] = "http://www.tony-miller.com/"; pmatchKeyword["http://www.tony-miller.com/"] = 0; ClientKeyword['133'] = "right+sizing"; ClientURL['133'] = "http://www.tony-miller.com/"; pmatchKeyword["http://www.tony-miller.com/"] = 0; ClientKeyword['134'] = "hr+and+roi"; ClientURL['134'] = "http://www.tony-miller.com/"; pmatchKeyword["http://www.tony-miller.com/"] = 0; ClientKeyword['135'] = "performance+appraisals"; ClientURL['135'] = "http://www.tony-miller.com/"; pmatchKeyword["http://www.tony-miller.com/"] = 0; ClientKeyword['136'] = "business+improvement+training"; ClientURL['136'] = "http://www.tony-miller.com/"; pmatchKeyword["http://www.tony-miller.com/"] = 0; ClientKeyword['137'] = "roi+training"; ClientURL['137'] = "http://www.tony-miller.com/"; pmatchKeyword["http://www.tony-miller.com/"] = 0; ClientKeyword['138'] = "botox+dorset"; ClientURL['138'] = "http://www.pourmoicosmetic.com/"; pmatchKeyword["http://www.pourmoicosmetic.com/"] = 0; ClientKeyword['139'] = "hair+removal"; ClientURL['139'] = "http://www.pourmoicosmetic.com/"; pmatchKeyword["http://www.pourmoicosmetic.com/"] = 0; ClientKeyword['140'] = "collagen"; ClientURL['140'] = "http://www.pourmoicosmetic.com/"; pmatchKeyword["http://www.pourmoicosmetic.com/"] = 0; ClientKeyword['141'] = "cellulite"; ClientURL['141'] = "http://www.pourmoicosmetic.com/"; pmatchKeyword["http://www.pourmoicosmetic.com/"] = 0; ClientKeyword['142'] = "cellulite+dorset"; ClientURL['142'] = "http://www.pourmoicosmetic.com/"; pmatchKeyword["http://www.pourmoicosmetic.com/"] = 0; ClientKeyword['143'] = "collagen+dorset"; ClientURL['143'] = "http://www.pourmoicosmetic.com/"; pmatchKeyword["http://www.pourmoicosmetic.com/"] = 0; ClientKeyword['144'] = "hair+removal+dorset"; ClientURL['144'] = "http://www.pourmoicosmetic.com/"; pmatchKeyword["http://www.pourmoicosmetic.com/"] = 0; ClientKeyword['145'] = "bournemouth+solicitor"; ClientURL['145'] = "http://www.dickinsonmanser.co.uk/"; pmatchKeyword["http://www.dickinsonmanser.co.uk/"] = 0; ClientKeyword['146'] = "unfair+dismissal+uk"; ClientURL['146'] = "http://www.dickinsonmanser.co.uk/"; pmatchKeyword["http://www.dickinsonmanser.co.uk/"] = 0; ClientKeyword['147'] = "personal+injury+claims"; ClientURL['147'] = "http://www.dickinsonmanser.co.uk/"; pmatchKeyword["http://www.dickinsonmanser.co.uk/"] = 0; ClientKeyword['148'] = "personal+injury+claims+bournemouth"; ClientURL['148'] = "http://www.dickinsonmanser.co.uk/"; pmatchKeyword["http://www.dickinsonmanser.co.uk/"] = 0; ClientKeyword['149'] = "personal+injury+claims+dorset"; ClientURL['149'] = "http://www.dickinsonmanser.co.uk/"; pmatchKeyword["http://www.dickinsonmanser.co.uk/"] = 0; ClientKeyword['150'] = "personal+injury+claims+poole"; ClientURL['150'] = "http://www.dickinsonmanser.co.uk/"; pmatchKeyword["http://www.dickinsonmanser.co.uk/"] = 0; ClientKeyword['151'] = "conveyancing+poole"; ClientURL['151'] = "http://www.dickinsonmanser.co.uk/"; pmatchKeyword["http://www.dickinsonmanser.co.uk/"] = 0; ClientKeyword['152'] = "poole+solicitor"; ClientURL['152'] = "http://www.dickinsonmanser.co.uk/"; pmatchKeyword["http://www.dickinsonmanser.co.uk/"] = 0; ClientKeyword['153'] = "solicitor+in+poole"; ClientURL['153'] = "http://www.dickinsonmanser.co.uk/"; pmatchKeyword["http://www.dickinsonmanser.co.uk/"] = 0; ClientKeyword['154'] = "insolvency+bournemouth"; ClientURL['154'] = "http://www.dickinsonmanser.co.uk/"; pmatchKeyword["http://www.dickinsonmanser.co.uk/"] = 0; ClientKeyword['155'] = "dickinson+manser"; ClientURL['155'] = "http://www.dickinsonmanser.co.uk/"; pmatchKeyword["http://www.dickinsonmanser.co.uk/"] = 0; ClientKeyword['156'] = "galerie+de+toit"; ClientURL['156'] = "http://www.rhinoproducts.eu/"; pmatchKeyword["http://www.rhinoproducts.eu/"] = 0; ClientKeyword['157'] = "racks+de+toit"; ClientURL['157'] = "http://www.rhinoproducts.eu/"; pmatchKeyword["http://www.rhinoproducts.eu/"] = 0; ClientKeyword['158'] = "barres+de+toit"; ClientURL['158'] = "http://www.rhinoproducts.eu/"; pmatchKeyword["http://www.rhinoproducts.eu/"] = 0; ClientKeyword['159'] = "tube+à+tuyaux"; ClientURL['159'] = "http://www.rhinoproducts.eu/"; pmatchKeyword["http://www.rhinoproducts.eu/"] = 0; ClientKeyword['160'] = "echelle+de+portière+arrière"; ClientURL['160'] = "http://www.rhinoproducts.eu/"; pmatchKeyword["http://www.rhinoproducts.eu/"] = 0; ClientKeyword['161'] = "support+de+charge"; ClientURL['161'] = "http://www.rhinoproducts.eu/"; pmatchKeyword["http://www.rhinoproducts.eu/"] = 0; ClientKeyword['162'] = "gewerblich+dachträger"; ClientURL['162'] = "http://www.rhinoproducts.eu/"; pmatchKeyword["http://www.rhinoproducts.eu/"] = 0; ClientKeyword['163'] = "vw+t5+dachgepäckträger"; ClientURL['163'] = "http://www.rhinoproducts.eu/"; pmatchKeyword["http://www.rhinoproducts.eu/"] = 0; ClientKeyword['164'] = "lastenträger"; ClientURL['164'] = "http://www.rhinoproducts.eu/"; pmatchKeyword["http://www.rhinoproducts.eu/"] = 0; ClientKeyword['165'] = "trägerbarren"; ClientURL['165'] = "http://www.rhinoproducts.eu/"; pmatchKeyword["http://www.rhinoproducts.eu/"] = 0; ClientKeyword['166'] = "mauritius+holiday"; ClientURL['166'] = "http://www.mauritiusuk.com/"; pmatchKeyword["http://www.mauritiusuk.com/"] = 0; ClientKeyword['167'] = "mauritius+hotels"; ClientURL['167'] = "http://www.mauritiusuk.com/"; pmatchKeyword["http://www.mauritiusuk.com/"] = 0; ClientKeyword['168'] = "luxury+honeymoon"; ClientURL['168'] = "http://www.mauritiusuk.com/"; pmatchKeyword["http://www.mauritiusuk.com/"] = 0; ClientKeyword['169'] = "overseas+weddings"; ClientURL['169'] = "http://www.mauritiusuk.com/"; pmatchKeyword["http://www.mauritiusuk.com/"] = 0; ClientKeyword['170'] = "getting+married+abroad"; ClientURL['170'] = "http://www.mauritiusuk.com/"; pmatchKeyword["http://www.mauritiusuk.com/"] = 0; ClientKeyword['171'] = "mauritius-hotels"; ClientURL['171'] = "http://www.mauritiusuk.com/"; pmatchKeyword["http://www.mauritiusuk.com/"] = 0; ClientKeyword['172'] = "plumber+poole"; ClientURL['172'] = "http://www.absolutedorset.co.uk/"; pmatchKeyword["http://www.absolutedorset.co.uk/"] = 0; ClientKeyword['173'] = "builder+dorset"; ClientURL['173'] = "http://www.absolutedorset.co.uk/"; pmatchKeyword["http://www.absolutedorset.co.uk/"] = 0; ClientKeyword['174'] = "bournemouth+builders"; ClientURL['174'] = "http://www.absolutedorset.co.uk/"; pmatchKeyword["http://www.absolutedorset.co.uk/"] = 0; ClientKeyword['175'] = "quality+electrician+poole"; ClientURL['175'] = "http://www.absolutedorset.co.uk/"; pmatchKeyword["http://www.absolutedorset.co.uk/"] = 0; ClientKeyword['176'] = "builder+in+bournemouth"; ClientURL['176'] = "http://www.absolutedorset.co.uk/"; pmatchKeyword["http://www.absolutedorset.co.uk/"] = 0; ClientKeyword['177'] = "electrician+in+bournemouth"; ClientURL['177'] = "http://www.absolutedorset.co.uk/"; pmatchKeyword["http://www.absolutedorset.co.uk/"] = 0; ClientKeyword['178'] = "plumber+in+bournemouth"; ClientURL['178'] = "http://www.absolutedorset.co.uk/"; pmatchKeyword["http://www.absolutedorset.co.uk/"] = 0; ClientKeyword['179'] = "builder+in+dorset"; ClientURL['179'] = "http://www.absolutedorset.co.uk/"; pmatchKeyword["http://www.absolutedorset.co.uk/"] = 0; ClientKeyword['180'] = "electrician+in+dorset"; ClientURL['180'] = "http://www.absolutedorset.co.uk/"; pmatchKeyword["http://www.absolutedorset.co.uk/"] = 0; ClientKeyword['181'] = "plumber+in+dorset"; ClientURL['181'] = "http://www.absolutedorset.co.uk/"; pmatchKeyword["http://www.absolutedorset.co.uk/"] = 0; ClientKeyword['182'] = "trade+waste+collections"; ClientURL['182'] = "http://www.southern-waste.co.uk/"; pmatchKeyword["http://www.southern-waste.co.uk/"] = 0; ClientKeyword['183'] = "general+waste+dorset"; ClientURL['183'] = "http://www.southern-waste.co.uk/"; pmatchKeyword["http://www.southern-waste.co.uk/"] = 0; ClientKeyword['184'] = "wheelie+bin+waste+collection"; ClientURL['184'] = "http://www.southern-waste.co.uk/"; pmatchKeyword["http://www.southern-waste.co.uk/"] = 0; ClientKeyword['185'] = "loose+cardboard"; ClientURL['185'] = "http://www.southern-waste.co.uk/"; pmatchKeyword["http://www.southern-waste.co.uk/"] = 0; ClientKeyword['186'] = "waste+collection+service"; ClientURL['186'] = "http://www.southern-waste.co.uk/"; pmatchKeyword["http://www.southern-waste.co.uk/"] = 0; // EXACT KEYWORD MATCH for (x in ClientKeyword) { //EXACT MATCH if (ClientKeyword[x] == RefferKW) { document.write("1. EXACT MATCH WITH: "+ClientKeyword[x] + " ---- " +ClientURL[x] +"
"); redirection(ClientURL[x]); } else { } } // WARM KEYWORD MATCH for (x in ClientKeyword) { usersearch = RefferKW.replace("+", " "); currentkw = ClientKeyword[x].replace("+", " "); MainKeyword = currentkw.search(usersearch); //document.write("2. "+RefferKW+" WARM MATCH WITH "+ClientKeyword[x]+":"+MainKeyword +"
"); //document.write (RefferKW+"---"+ClientKeyword[x]+" RESULT: "+MainKeyword +"
"); if (MainKeyword != -1) { document.write("2. WARM MATCH WITH: "+RefferKW+" = "+ClientKeyword[x]+"\n" +ClientURL[x] +"
"); redirection(ClientURL[x]); } } //PARTIAL MATCH for (x in ClientKeyword) { var PartialKW = RefferKW var PartialKW = PartialKW.split("+"); var HighestMatches; function randOrd(){ return (Math.round(Math.random())-0.5); } for(i = 0; i < PartialKW.length; i++){ partialkeyword = PartialKW[i]; if (ClientKeyword[x].indexOf(partialkeyword) > 1) { document.write("PARTIALLY MATCHED WITH: "+partialkeyword+" = "+ClientKeyword[x]+"\n" +ClientURL[x] +""); //pmatchKeyword[x] = pmatchKeyword.[ClientURL[x]]+1; url = ClientURL[x]; pmatchKeyword[url] = pmatchKeyword[url] + 1; HighestMatches = HighestMatches +url +"|" +pmatchKeyword[url] +","; document.write(pmatchKeyword[url]+"
"); //.location = ClientURL[x]; } } } if (HighestMatches !== undefined) { HighestMatches = HighestMatches.slice(0, -1); var URLMATCH; var URLMATCH2; var mySplitResult = HighestMatches.split(","); mySplitResult.sort(randOrd); for(i = 0; i < mySplitResult.length; i++){ if ( mySplitResult[i] === undefined || mySplitResult[i] === null) { ; } else { URLMATCH = mySplitResult[i].split("|"); URLMATCH2 = URLMATCH[0]; URLMATCH2 = URLMATCH2.replace("undefined",""); //document.write(mySplitResult[i] + "
"); } } document.write("

3. PARTIAL MATCH ----->"+URLMATCH2); redirection(URLMATCH2); } }