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'] = "rhino+safestow"; ClientURL['0'] = "http://www.tradestoredirect.com/"; pmatchKeyword["http://www.tradestoredirect.com/"] = 0; ClientKeyword['1'] = "rhino+racks"; ClientURL['1'] = "http://www.tradestoredirect.com/"; pmatchKeyword["http://www.tradestoredirect.com/"] = 0; ClientKeyword['2'] = "rhino+pipe+tubes"; ClientURL['2'] = "http://www.tradestoredirect.com/"; pmatchKeyword["http://www.tradestoredirect.com/"] = 0; ClientKeyword['3'] = "snickers+trousers"; ClientURL['3'] = "http://www.tradestoredirect.com/"; pmatchKeyword["http://www.tradestoredirect.com/"] = 0; ClientKeyword['4'] = "snickers+workwear+mens"; ClientURL['4'] = "http://www.tradestoredirect.com/"; pmatchKeyword["http://www.tradestoredirect.com/"] = 0; ClientKeyword['5'] = "jobman+trousers"; ClientURL['5'] = "http://www.tradestoredirect.com/"; pmatchKeyword["http://www.tradestoredirect.com/"] = 0; ClientKeyword['6'] = "jobman+workwear"; ClientURL['6'] = "http://www.tradestoredirect.com/"; pmatchKeyword["http://www.tradestoredirect.com/"] = 0; ClientKeyword['7'] = "rhino+packaged+discount+deals"; ClientURL['7'] = "http://www.tradestoredirect.com/"; pmatchKeyword["http://www.tradestoredirect.com/"] = 0; ClientKeyword['8'] = "designer+wedding+dresses"; ClientURL['8'] = "http://www.exquisitebrides.co.uk/"; pmatchKeyword["http://www.exquisitebrides.co.uk/"] = 0; ClientKeyword['9'] = "wedding+dresses+winchester"; ClientURL['9'] = "http://www.exquisitebrides.co.uk/"; pmatchKeyword["http://www.exquisitebrides.co.uk/"] = 0; ClientKeyword['10'] = "southampton+wedding+dresses"; ClientURL['10'] = "http://www.exquisitebrides.co.uk/"; pmatchKeyword["http://www.exquisitebrides.co.uk/"] = 0; ClientKeyword['11'] = "portsmouth+wedding+dresses"; ClientURL['11'] = "http://www.exquisitebrides.co.uk/"; pmatchKeyword["http://www.exquisitebrides.co.uk/"] = 0; ClientKeyword['12'] = "wedding+dresses+poole"; ClientURL['12'] = "http://www.exquisitebrides.co.uk/"; pmatchKeyword["http://www.exquisitebrides.co.uk/"] = 0; ClientKeyword['13'] = "wedding+dresses+bournemouth"; ClientURL['13'] = "http://www.exquisitebrides.co.uk/"; pmatchKeyword["http://www.exquisitebrides.co.uk/"] = 0; ClientKeyword['14'] = "sonos+news+for+sonos+zoneplayers"; ClientURL['14'] = "http://www.unlimitedaudio.co.uk/"; pmatchKeyword["http://www.unlimitedaudio.co.uk/"] = 0; ClientKeyword['15'] = "sonos+music+system"; ClientURL['15'] = "http://www.unlimitedaudio.co.uk/"; pmatchKeyword["http://www.unlimitedaudio.co.uk/"] = 0; ClientKeyword['16'] = "unlimited+audio+about+us"; ClientURL['16'] = "http://www.unlimitedaudio.co.uk/"; pmatchKeyword["http://www.unlimitedaudio.co.uk/"] = 0; ClientKeyword['17'] = "sonos+s5+detail"; ClientURL['17'] = "http://www.unlimitedaudio.co.uk/"; pmatchKeyword["http://www.unlimitedaudio.co.uk/"] = 0; ClientKeyword['18'] = "sonos+product+list"; ClientURL['18'] = "http://www.unlimitedaudio.co.uk/"; pmatchKeyword["http://www.unlimitedaudio.co.uk/"] = 0; ClientKeyword['19'] = "house+clearance+ringwood"; ClientURL['19'] = "http://www.samsonremovals.co.uk/"; pmatchKeyword["http://www.samsonremovals.co.uk/"] = 0; ClientKeyword['20'] = "removals+dorset"; ClientURL['20'] = "http://www.samsonremovals.co.uk/"; pmatchKeyword["http://www.samsonremovals.co.uk/"] = 0; ClientKeyword['21'] = "furniture+removals"; ClientURL['21'] = "http://www.samsonremovals.co.uk/"; pmatchKeyword["http://www.samsonremovals.co.uk/"] = 0; ClientKeyword['22'] = "house+removals"; ClientURL['22'] = "http://www.samsonremovals.co.uk/"; pmatchKeyword["http://www.samsonremovals.co.uk/"] = 0; ClientKeyword['23'] = "bag+press"; ClientURL['23'] = "http://www.airpress.co.uk/"; pmatchKeyword["http://www.airpress.co.uk/"] = 0; ClientKeyword['24'] = "vacuum+veneering"; ClientURL['24'] = "http://www.airpress.co.uk/"; pmatchKeyword["http://www.airpress.co.uk/"] = 0; ClientKeyword['25'] = "membrane+press"; ClientURL['25'] = "http://www.airpress.co.uk/"; pmatchKeyword["http://www.airpress.co.uk/"] = 0; ClientKeyword['26'] = "vinyl+vacuum+bags"; ClientURL['26'] = "http://www.airpress.co.uk/"; pmatchKeyword["http://www.airpress.co.uk/"] = 0; ClientKeyword['27'] = "silicone+membranes"; ClientURL['27'] = "http://www.airpress.co.uk/"; pmatchKeyword["http://www.airpress.co.uk/"] = 0; ClientKeyword['28'] = "vaccum+pumps"; ClientURL['28'] = "http://www.airpress.co.uk/"; pmatchKeyword["http://www.airpress.co.uk/"] = 0; ClientKeyword['29'] = "veneer+press"; ClientURL['29'] = "http://www.airpress.co.uk/"; pmatchKeyword["http://www.airpress.co.uk/"] = 0; ClientKeyword['30'] = "luxury+soap"; ClientURL['30'] = "http://www.nativeid.co.uk/"; pmatchKeyword["http://www.nativeid.co.uk/"] = 0; ClientKeyword['31'] = "soap+dispenser"; ClientURL['31'] = "http://www.nativeid.co.uk/"; pmatchKeyword["http://www.nativeid.co.uk/"] = 0; ClientKeyword['32'] = "chrome+soap+holder"; ClientURL['32'] = "http://www.nativeid.co.uk/"; pmatchKeyword["http://www.nativeid.co.uk/"] = 0; ClientKeyword['33'] = "soap+dispenser+chrome"; ClientURL['33'] = "http://www.nativeid.co.uk/"; pmatchKeyword["http://www.nativeid.co.uk/"] = 0; ClientKeyword['34'] = "molton+brown+soap+alternative"; ClientURL['34'] = "http://www.nativeid.co.uk/"; pmatchKeyword["http://www.nativeid.co.uk/"] = 0; ClientKeyword['35'] = "molton+brown+dispenser"; ClientURL['35'] = "http://www.nativeid.co.uk/"; pmatchKeyword["http://www.nativeid.co.uk/"] = 0; ClientKeyword['36'] = "molton+brown+holder"; ClientURL['36'] = "http://www.nativeid.co.uk/"; pmatchKeyword["http://www.nativeid.co.uk/"] = 0; ClientKeyword['37'] = "luxury+soap+holders"; ClientURL['37'] = "http://sohodispensers.com/"; pmatchKeyword["http://sohodispensers.com/"] = 0; ClientKeyword['38'] = "hotel+chrome+soap+holder"; ClientURL['38'] = "http://sohodispensers.com/"; pmatchKeyword["http://sohodispensers.com/"] = 0; ClientKeyword['39'] = "chrome+soap+bottle+dispenser"; ClientURL['39'] = "http://sohodispensers.com/"; pmatchKeyword["http://sohodispensers.com/"] = 0; ClientKeyword['40'] = "chrome+plated+soap+holders"; ClientURL['40'] = "http://sohodispensers.com/"; pmatchKeyword["http://sohodispensers.com/"] = 0; ClientKeyword['41'] = "300ml+bottle+holder"; ClientURL['41'] = "http://sohodispensers.com/"; pmatchKeyword["http://sohodispensers.com/"] = 0; ClientKeyword['42'] = "250ml+bottle+holder"; ClientURL['42'] = "http://sohodispensers.com/"; pmatchKeyword["http://sohodispensers.com/"] = 0; ClientKeyword['43'] = "liquid+soap+bottle+pumps"; ClientURL['43'] = "http://sohodispensers.com/"; pmatchKeyword["http://sohodispensers.com/"] = 0; ClientKeyword['44'] = "chrome+holders"; ClientURL['44'] = "http://sohodispensers.com/"; pmatchKeyword["http://sohodispensers.com/"] = 0; ClientKeyword['45'] = "soho+dispensers"; ClientURL['45'] = "http://sohodispensers.com/"; pmatchKeyword["http://sohodispensers.com/"] = 0; ClientKeyword['46'] = "print+xmas+brochures"; ClientURL['46'] = "http://www.rp-printers.co.uk/"; pmatchKeyword["http://www.rp-printers.co.uk/"] = 0; ClientKeyword['47'] = "litho+printer+bournemouth"; ClientURL['47'] = "http://www.rp-printers.co.uk/"; pmatchKeyword["http://www.rp-printers.co.uk/"] = 0; ClientKeyword['48'] = "print+brochures"; ClientURL['48'] = "http://www.rp-printers.co.uk/"; pmatchKeyword["http://www.rp-printers.co.uk/"] = 0; ClientKeyword['49'] = "full+colour+printing"; ClientURL['49'] = "http://www.rp-printers.co.uk/"; pmatchKeyword["http://www.rp-printers.co.uk/"] = 0; ClientKeyword['50'] = "colour+printer+dorset"; ClientURL['50'] = "http://www.rp-printers.co.uk/"; pmatchKeyword["http://www.rp-printers.co.uk/"] = 0; ClientKeyword['51'] = "cheap+colour+printing"; ClientURL['51'] = "http://www.rp-printers.co.uk/"; pmatchKeyword["http://www.rp-printers.co.uk/"] = 0; ClientKeyword['52'] = "signs+bournemouth"; ClientURL['52'] = "http://www.itstimetothink.co.uk/"; pmatchKeyword["http://www.itstimetothink.co.uk/"] = 0; ClientKeyword['53'] = "banners+bournemouth"; ClientURL['53'] = "http://www.itstimetothink.co.uk/"; pmatchKeyword["http://www.itstimetothink.co.uk/"] = 0; ClientKeyword['54'] = "site+boards+bournemouth"; ClientURL['54'] = "http://www.itstimetothink.co.uk/"; pmatchKeyword["http://www.itstimetothink.co.uk/"] = 0; ClientKeyword['55'] = "print+design+bournemouth"; ClientURL['55'] = "http://www.itstimetothink.co.uk/"; pmatchKeyword["http://www.itstimetothink.co.uk/"] = 0; ClientKeyword['56'] = "leisure+centre+signage"; ClientURL['56'] = "http://www.itstimetothink.co.uk/"; pmatchKeyword["http://www.itstimetothink.co.uk/"] = 0; ClientKeyword['57'] = "dehumidifier"; ClientURL['57'] = "http://www.krolluk.com/"; pmatchKeyword["http://www.krolluk.com/"] = 0; ClientKeyword['58'] = "condensing+boiler"; ClientURL['58'] = "http://www.krolluk.com/"; pmatchKeyword["http://www.krolluk.com/"] = 0; ClientKeyword['59'] = "warm+air+heater"; ClientURL['59'] = "http://www.krolluk.com/"; pmatchKeyword["http://www.krolluk.com/"] = 0; ClientKeyword['60'] = "waste+oil+heater"; ClientURL['60'] = "http://www.krolluk.com/"; pmatchKeyword["http://www.krolluk.com/"] = 0; ClientKeyword['61'] = "hotel+churt"; ClientURL['61'] = "http://www.prideofthevalleyhotel.co.uk/"; pmatchKeyword["http://www.prideofthevalleyhotel.co.uk/"] = 0; ClientKeyword['62'] = "hotel+farnham"; ClientURL['62'] = "http://www.prideofthevalleyhotel.co.uk/"; pmatchKeyword["http://www.prideofthevalleyhotel.co.uk/"] = 0; ClientKeyword['63'] = "hotel+surrey"; ClientURL['63'] = "http://www.prideofthevalleyhotel.co.uk/"; pmatchKeyword["http://www.prideofthevalleyhotel.co.uk/"] = 0; ClientKeyword['64'] = "restaurants+in+farnham"; ClientURL['64'] = "http://www.prideofthevalleyhotel.co.uk/"; pmatchKeyword["http://www.prideofthevalleyhotel.co.uk/"] = 0; ClientKeyword['65'] = "restaurants+in+surrey"; ClientURL['65'] = "http://www.prideofthevalleyhotel.co.uk/"; pmatchKeyword["http://www.prideofthevalleyhotel.co.uk/"] = 0; ClientKeyword['66'] = "restaurants+in+churt"; ClientURL['66'] = "http://www.prideofthevalleyhotel.co.uk/"; pmatchKeyword["http://www.prideofthevalleyhotel.co.uk/"] = 0; ClientKeyword['67'] = "restaurants+guildford"; ClientURL['67'] = "http://www.prideofthevalleyhotel.co.uk/"; pmatchKeyword["http://www.prideofthevalleyhotel.co.uk/"] = 0; ClientKeyword['68'] = "hotels+guildford"; ClientURL['68'] = "http://www.prideofthevalleyhotel.co.uk/"; pmatchKeyword["http://www.prideofthevalleyhotel.co.uk/"] = 0; ClientKeyword['69'] = "wedding+venues+in+surrey"; ClientURL['69'] = "http://www.prideofthevalleyhotel.co.uk/"; pmatchKeyword["http://www.prideofthevalleyhotel.co.uk/"] = 0; ClientKeyword['70'] = "function+rooms+surrey"; ClientURL['70'] = "http://www.prideofthevalleyhotel.co.uk/"; pmatchKeyword["http://www.prideofthevalleyhotel.co.uk/"] = 0; ClientKeyword['71'] = "where+to+stay+farnham"; ClientURL['71'] = "http://www.prideofthevalleyhotel.co.uk/"; pmatchKeyword["http://www.prideofthevalleyhotel.co.uk/"] = 0; ClientKeyword['72'] = "conduit"; ClientURL['72'] = "http://shop.pcscables.co.uk/"; pmatchKeyword["http://shop.pcscables.co.uk/"] = 0; ClientKeyword['73'] = "cable+ties"; ClientURL['73'] = "http://shop.pcscables.co.uk/"; pmatchKeyword["http://shop.pcscables.co.uk/"] = 0; ClientKeyword['74'] = "littelfuse"; ClientURL['74'] = "http://shop.pcscables.co.uk/"; pmatchKeyword["http://shop.pcscables.co.uk/"] = 0; ClientKeyword['75'] = "auto+battery+cables"; ClientURL['75'] = "http://shop.pcscables.co.uk/"; pmatchKeyword["http://shop.pcscables.co.uk/"] = 0; ClientKeyword['76'] = "battery+terminals"; ClientURL['76'] = "http://shop.pcscables.co.uk/"; pmatchKeyword["http://shop.pcscables.co.uk/"] = 0; ClientKeyword['77'] = "flexible+battery+cable"; ClientURL['77'] = "http://shop.pcscables.co.uk/"; pmatchKeyword["http://shop.pcscables.co.uk/"] = 0; ClientKeyword['78'] = "automove+and+marine"; ClientURL['78'] = "http://shop.pcscables.co.uk/"; pmatchKeyword["http://shop.pcscables.co.uk/"] = 0; ClientKeyword['79'] = "automotive+electrical"; ClientURL['79'] = "http://shop.pcscables.co.uk/"; pmatchKeyword["http://shop.pcscables.co.uk/"] = 0; ClientKeyword['80'] = "automotive+fuses"; ClientURL['80'] = "http://shop.pcscables.co.uk/"; pmatchKeyword["http://shop.pcscables.co.uk/"] = 0; ClientKeyword['81'] = "trailer+electrics"; ClientURL['81'] = "http://shop.pcscables.co.uk/"; pmatchKeyword["http://shop.pcscables.co.uk/"] = 0; ClientKeyword['82'] = "marine+cables"; ClientURL['82'] = "http://shop.pcscables.co.uk/"; pmatchKeyword["http://shop.pcscables.co.uk/"] = 0; ClientKeyword['83'] = "metal+spinning"; ClientURL['83'] = "http://www.admetalspinners.co.uk/"; pmatchKeyword["http://www.admetalspinners.co.uk/"] = 0; ClientKeyword['84'] = "spinning+metal"; ClientURL['84'] = "http://www.admetalspinners.co.uk/"; pmatchKeyword["http://www.admetalspinners.co.uk/"] = 0; ClientKeyword['85'] = "metal+spinners"; ClientURL['85'] = "http://www.admetalspinners.co.uk/"; pmatchKeyword["http://www.admetalspinners.co.uk/"] = 0; ClientKeyword['86'] = "spinning"; ClientURL['86'] = "http://www.admetalspinners.co.uk/"; pmatchKeyword["http://www.admetalspinners.co.uk/"] = 0; ClientKeyword['87'] = "ad+metal+spinners"; ClientURL['87'] = "http://www.admetalspinners.co.uk/"; pmatchKeyword["http://www.admetalspinners.co.uk/"] = 0; ClientKeyword['88'] = "wills+bournemouth"; ClientURL['88'] = "http://www.druitts.co.uk/"; pmatchKeyword["http://www.druitts.co.uk/"] = 0; ClientKeyword['89'] = "solicitors+bournemouth"; ClientURL['89'] = "http://www.druitts.co.uk/"; pmatchKeyword["http://www.druitts.co.uk/"] = 0; ClientKeyword['90'] = "personal+injury+bournemouth"; ClientURL['90'] = "http://www.druitts.co.uk/"; pmatchKeyword["http://www.druitts.co.uk/"] = 0; ClientKeyword['91'] = "druitts+solicitors+bournemouth"; ClientURL['91'] = "http://www.druitts.co.uk/"; pmatchKeyword["http://www.druitts.co.uk/"] = 0; ClientKeyword['92'] = "talent+management"; ClientURL['92'] = "http://www.tony-miller.com/"; pmatchKeyword["http://www.tony-miller.com/"] = 0; ClientKeyword['93'] = "downsizing"; ClientURL['93'] = "http://www.tony-miller.com/"; pmatchKeyword["http://www.tony-miller.com/"] = 0; ClientKeyword['94'] = "manpower+planning"; ClientURL['94'] = "http://www.tony-miller.com/"; pmatchKeyword["http://www.tony-miller.com/"] = 0; ClientKeyword['95'] = "business+improvement+consultancy"; ClientURL['95'] = "http://www.tony-miller.com/"; pmatchKeyword["http://www.tony-miller.com/"] = 0; ClientKeyword['96'] = "right+sizing"; ClientURL['96'] = "http://www.tony-miller.com/"; pmatchKeyword["http://www.tony-miller.com/"] = 0; ClientKeyword['97'] = "hr+and+roi"; ClientURL['97'] = "http://www.tony-miller.com/"; pmatchKeyword["http://www.tony-miller.com/"] = 0; ClientKeyword['98'] = "performance+appraisals"; ClientURL['98'] = "http://www.tony-miller.com/"; pmatchKeyword["http://www.tony-miller.com/"] = 0; ClientKeyword['99'] = "business+improvement+training"; ClientURL['99'] = "http://www.tony-miller.com/"; pmatchKeyword["http://www.tony-miller.com/"] = 0; ClientKeyword['100'] = "roi+training"; ClientURL['100'] = "http://www.tony-miller.com/"; pmatchKeyword["http://www.tony-miller.com/"] = 0; ClientKeyword['101'] = "botox+dorset"; ClientURL['101'] = "http://www.pourmoicosmetic.com/"; pmatchKeyword["http://www.pourmoicosmetic.com/"] = 0; ClientKeyword['102'] = "hair+removal"; ClientURL['102'] = "http://www.pourmoicosmetic.com/"; pmatchKeyword["http://www.pourmoicosmetic.com/"] = 0; ClientKeyword['103'] = "collagen"; ClientURL['103'] = "http://www.pourmoicosmetic.com/"; pmatchKeyword["http://www.pourmoicosmetic.com/"] = 0; ClientKeyword['104'] = "cellulite"; ClientURL['104'] = "http://www.pourmoicosmetic.com/"; pmatchKeyword["http://www.pourmoicosmetic.com/"] = 0; ClientKeyword['105'] = "cellulite+dorset"; ClientURL['105'] = "http://www.pourmoicosmetic.com/"; pmatchKeyword["http://www.pourmoicosmetic.com/"] = 0; ClientKeyword['106'] = "collagen+dorset"; ClientURL['106'] = "http://www.pourmoicosmetic.com/"; pmatchKeyword["http://www.pourmoicosmetic.com/"] = 0; ClientKeyword['107'] = "hair+removal+dorset"; ClientURL['107'] = "http://www.pourmoicosmetic.com/"; pmatchKeyword["http://www.pourmoicosmetic.com/"] = 0; ClientKeyword['108'] = "bournemouth+solicitor"; ClientURL['108'] = "http://www.dickinsonmanser.co.uk/"; pmatchKeyword["http://www.dickinsonmanser.co.uk/"] = 0; ClientKeyword['109'] = "unfair+dismissal+uk"; ClientURL['109'] = "http://www.dickinsonmanser.co.uk/"; pmatchKeyword["http://www.dickinsonmanser.co.uk/"] = 0; ClientKeyword['110'] = "personal+injury+claims"; ClientURL['110'] = "http://www.dickinsonmanser.co.uk/"; pmatchKeyword["http://www.dickinsonmanser.co.uk/"] = 0; ClientKeyword['111'] = "personal+injury+claims+bournemouth"; ClientURL['111'] = "http://www.dickinsonmanser.co.uk/"; pmatchKeyword["http://www.dickinsonmanser.co.uk/"] = 0; ClientKeyword['112'] = "personal+injury+claims+dorset"; ClientURL['112'] = "http://www.dickinsonmanser.co.uk/"; pmatchKeyword["http://www.dickinsonmanser.co.uk/"] = 0; ClientKeyword['113'] = "personal+injury+claims+poole"; ClientURL['113'] = "http://www.dickinsonmanser.co.uk/"; pmatchKeyword["http://www.dickinsonmanser.co.uk/"] = 0; ClientKeyword['114'] = "conveyancing+poole"; ClientURL['114'] = "http://www.dickinsonmanser.co.uk/"; pmatchKeyword["http://www.dickinsonmanser.co.uk/"] = 0; ClientKeyword['115'] = "poole+solicitor"; ClientURL['115'] = "http://www.dickinsonmanser.co.uk/"; pmatchKeyword["http://www.dickinsonmanser.co.uk/"] = 0; ClientKeyword['116'] = "solicitor+in+poole"; ClientURL['116'] = "http://www.dickinsonmanser.co.uk/"; pmatchKeyword["http://www.dickinsonmanser.co.uk/"] = 0; ClientKeyword['117'] = "insolvency+bournemouth"; ClientURL['117'] = "http://www.dickinsonmanser.co.uk/"; pmatchKeyword["http://www.dickinsonmanser.co.uk/"] = 0; ClientKeyword['118'] = "dickinson+manser"; ClientURL['118'] = "http://www.dickinsonmanser.co.uk/"; pmatchKeyword["http://www.dickinsonmanser.co.uk/"] = 0; ClientKeyword['119'] = "koker+drager"; ClientURL['119'] = "http://www.rhinoproducts.eu/"; pmatchKeyword["http://www.rhinoproducts.eu/"] = 0; ClientKeyword['120'] = "deurladder"; ClientURL['120'] = "http://www.rhinoproducts.eu/"; pmatchKeyword["http://www.rhinoproducts.eu/"] = 0; ClientKeyword['121'] = "dakdragers"; ClientURL['121'] = "http://www.rhinoproducts.eu/"; pmatchKeyword["http://www.rhinoproducts.eu/"] = 0; ClientKeyword['122'] = "imperialen"; ClientURL['122'] = "http://www.rhinoproducts.eu/"; pmatchKeyword["http://www.rhinoproducts.eu/"] = 0; ClientKeyword['123'] = "imperiaal"; ClientURL['123'] = "http://www.rhinoproducts.eu/"; pmatchKeyword["http://www.rhinoproducts.eu/"] = 0; ClientKeyword['124'] = "buis+drager"; ClientURL['124'] = "http://www.rhinoproducts.eu/"; pmatchKeyword["http://www.rhinoproducts.eu/"] = 0; ClientKeyword['125'] = "galerie+de+toit"; ClientURL['125'] = "http://www.rhinoproducts.eu/"; pmatchKeyword["http://www.rhinoproducts.eu/"] = 0; ClientKeyword['126'] = "racks+de+toit"; ClientURL['126'] = "http://www.rhinoproducts.eu/"; pmatchKeyword["http://www.rhinoproducts.eu/"] = 0; ClientKeyword['127'] = "barres+de+toit"; ClientURL['127'] = "http://www.rhinoproducts.eu/"; pmatchKeyword["http://www.rhinoproducts.eu/"] = 0; ClientKeyword['128'] = "tube+à+tuyaux"; ClientURL['128'] = "http://www.rhinoproducts.eu/"; pmatchKeyword["http://www.rhinoproducts.eu/"] = 0; ClientKeyword['129'] = "echelle+de+portière+arrière"; ClientURL['129'] = "http://www.rhinoproducts.eu/"; pmatchKeyword["http://www.rhinoproducts.eu/"] = 0; ClientKeyword['130'] = "support+de+charge"; ClientURL['130'] = "http://www.rhinoproducts.eu/"; pmatchKeyword["http://www.rhinoproducts.eu/"] = 0; ClientKeyword['131'] = "gewerblich+dachträger"; ClientURL['131'] = "http://www.rhinoproducts.eu/"; pmatchKeyword["http://www.rhinoproducts.eu/"] = 0; ClientKeyword['132'] = "vw+t5+dachgepäckträger"; ClientURL['132'] = "http://www.rhinoproducts.eu/"; pmatchKeyword["http://www.rhinoproducts.eu/"] = 0; ClientKeyword['133'] = "lastenträger"; ClientURL['133'] = "http://www.rhinoproducts.eu/"; pmatchKeyword["http://www.rhinoproducts.eu/"] = 0; ClientKeyword['134'] = "trägerbarren"; ClientURL['134'] = "http://www.rhinoproducts.eu/"; pmatchKeyword["http://www.rhinoproducts.eu/"] = 0; ClientKeyword['135'] = "plumber+poole"; ClientURL['135'] = "http://www.absolutedorset.co.uk/"; pmatchKeyword["http://www.absolutedorset.co.uk/"] = 0; ClientKeyword['136'] = "builder+dorset"; ClientURL['136'] = "http://www.absolutedorset.co.uk/"; pmatchKeyword["http://www.absolutedorset.co.uk/"] = 0; ClientKeyword['137'] = "bournemouth+builders"; ClientURL['137'] = "http://www.absolutedorset.co.uk/"; pmatchKeyword["http://www.absolutedorset.co.uk/"] = 0; ClientKeyword['138'] = "quality+electrician+poole"; ClientURL['138'] = "http://www.absolutedorset.co.uk/"; pmatchKeyword["http://www.absolutedorset.co.uk/"] = 0; ClientKeyword['139'] = "builder+in+bournemouth"; ClientURL['139'] = "http://www.absolutedorset.co.uk/"; pmatchKeyword["http://www.absolutedorset.co.uk/"] = 0; ClientKeyword['140'] = "electrician+in+bournemouth"; ClientURL['140'] = "http://www.absolutedorset.co.uk/"; pmatchKeyword["http://www.absolutedorset.co.uk/"] = 0; ClientKeyword['141'] = "plumber+in+bournemouth"; ClientURL['141'] = "http://www.absolutedorset.co.uk/"; pmatchKeyword["http://www.absolutedorset.co.uk/"] = 0; ClientKeyword['142'] = "builder+in+dorset"; ClientURL['142'] = "http://www.absolutedorset.co.uk/"; pmatchKeyword["http://www.absolutedorset.co.uk/"] = 0; ClientKeyword['143'] = "electrician+in+dorset"; ClientURL['143'] = "http://www.absolutedorset.co.uk/"; pmatchKeyword["http://www.absolutedorset.co.uk/"] = 0; ClientKeyword['144'] = "plumber+in+dorset"; ClientURL['144'] = "http://www.absolutedorset.co.uk/"; pmatchKeyword["http://www.absolutedorset.co.uk/"] = 0; ClientKeyword['145'] = "recycling+bournemouth"; ClientURL['145'] = "http://www.southern-waste.co.uk/"; pmatchKeyword["http://www.southern-waste.co.uk/"] = 0; ClientKeyword['146'] = "recycling+poole"; ClientURL['146'] = "http://www.southern-waste.co.uk/"; pmatchKeyword["http://www.southern-waste.co.uk/"] = 0; ClientKeyword['147'] = "wheelie+bin+collection+service+dorset."; ClientURL['147'] = "http://www.southern-waste.co.uk/"; pmatchKeyword["http://www.southern-waste.co.uk/"] = 0; ClientKeyword['148'] = "general+waste+dorset"; ClientURL['148'] = "http://www.southern-waste.co.uk/"; pmatchKeyword["http://www.southern-waste.co.uk/"] = 0; ClientKeyword['149'] = "cardboard+recycling+dorset"; ClientURL['149'] = "http://www.southern-waste.co.uk/"; pmatchKeyword["http://www.southern-waste.co.uk/"] = 0; ClientKeyword['150'] = "mixed+recycling+dorset"; ClientURL['150'] = "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); } }