File: /home/mykensington.co.uk/public_html/top_tables/site/leeds.js
<!--
// MyVillage Header navigation script
// bazza - 14/7/2001
// Redesign: dario@livra.com - 11/02/2003
//NOTE: this array MUST BE ALPHABETICALLY ORDERED BY THE FIRST COLUMN (name of the location)
all_domains = new Array (104);
all_domains[0] = new Array("", new Array())
all_domains[1] = new Array( "myaberdeen" ,new Array ("www.myaberdeen.net" ,"aberdeen" ,"http://www.myaberdeen.net/images/aberdeenNN.gif" ,"MyVillage Aberdeen" ,"aberdeen" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Aberdeen&number=26" ,"scotland.asp?domain=myaberdeen") )
all_domains[2] = new Array( "mybalham" ,new Array ("www.mybalham.co.uk" ,"clapham" ,"http://www.mybalham.co.uk/images/balhamNN.gif" ,"MyVillage Balham" ,"clapham" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Clapham&number=23") )
all_domains[3] = new Array( "mybattersea" ,new Array ("www.mybattersea.co.uk" ,"wandsworth" ,"http://www.mybattersea.co.uk/images/batterseaNN.gif" ,"MyVillage Battersea" ,"wandsworth" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Wandsworth&number=16") )
all_domains[4] = new Array( "mybayswater" ,new Array ("www.mybayswater.co.uk" ,"paddington" ,"http://www.mybayswater.co.uk/images/bayswaterNN.gif" ,"MyVillage Bayswater and Paddington" ,"paddington" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Paddington+|AMP|+Bayswater&number=13") )
all_domains[5] = new Array( "mybelfast" ,new Array ("www.mybelfast.co.uk" ,"belfast" ,"http://www.mybelfast.co.uk/images/belfastNN.gif" ,"MyVillage Belfast","belfast" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+belfast&number=27") )
all_domains[6] = new Array( "mybelsizepark" ,new Array ("www.mybelsizepark.co.uk" ,"hampstead" ,"http://www.mybelsizepark.co.uk/images/belsizeparkNN.gif" ,"MyVillage Belsize Park" ,"hampstead" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Hampstead&number=15") )
all_domains[7] = new Array( "mybethnalgreen" ,new Array ("www.mybethnalgreen.co.uk" ,"towerhamlets" ,"http://www.mybethnalgreen.co.uk/images/bethnalgreenNN.gif" ,"MyVillage Bethnal Green" ,"towerhamlets" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=Tower+Hamlets&number=18") )
all_domains[8] = new Array( "mybirmingham" ,new Array ("www.mybirmingham.org" ,"birmingham" ,"http://www.mybrum.co.uk/images/brumNN.gif" ,"MyVillage Birmingham" ,"birmingham" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Brum&number=44" ,"wmids.asp?domain=mybrum") )
all_domains[9] = new Array( "mybow" ,new Array ("www.mybow.co.uk" ,"towerhamlets" ,"http://www.mybow.co.uk/images/bowNN.gif" ,"MyVillage Bow" ,"towerhamlets" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=Tower+Hamlets&number=18") )
all_domains[10] = new Array( "mybrighton" ,new Array ("www.mybrighton.biz" ,"brighton" ,"../../images/brightonNN.gif" ,"MyVillage Brighton" ,"brighton" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Brighton&number=46" ,"south.asp?domain=mybrighton") )
all_domains[11] = new Array( "mybristol" ,new Array ("www.mybristol.net" ,"bristol" ,"http://www.mybristol.net/images/bristolNN.gif" ,"MyVillage Bristol" ,"bristol" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Bristol&number=28") )
all_domains[12] = new Array( "mybrixton" ,new Array ("www.mybrixton.com" ,"brixton" ,"http://www.mybrixton.com/images/brixtonNN.gif" ,"MyVillage Brixton" ,"brixton" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Brixton&number=24") )
all_domains[13] = new Array( "mybrum" ,new Array ("www.mybrum.co.uk" ,"birmingham" ,"http://www.mybrum.co.uk/images/brumNN.gif" ,"MyVillage Brum" ,"birmingham" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Brum&number=44" ,"wmids.asp?domain=mybrum") )
all_domains[14] = new Array( "mycamberwell" ,new Array ("www.mycamberwell.co.uk" ,"southwark" ,"http://www.mycamberwell.co.uk/images/camberwellNN.gif" ,"MyVillage Camberwell" ,"southwark" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Southwark&number=9") )
all_domains[15] = new Array( "mycamden" ,new Array ("www.mycamden.co.uk" ,"camden" ,"http://www.mycamden.co.uk/images/camdenNN.gif" ,"MyVillage Camden" ,"camden" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Camden&number=11") )
all_domains[16] = new Array( "mycanarywharf" ,new Array ("www.mycanarywharf.co.uk" ,"docklands" ,"http://www.mycanarywharf.co.uk/images/canarywarfNN.gif" ,"MyVillage Canary Wharf" ,"docklands" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Docklands&number=7") )
all_domains[17] = new Array( "mycardiff" ,new Array ("www.mycardiff.net" ,"cardiff" ,"http://www.mycardiff.net/images/cardiffNN.gif" ,"MyVillage Cardiff" ,"cardiff" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Cardiff&number=45") )
all_domains[18] = new Array( "mychelsea" ,new Array ("www.mychelsea.net" ,"chelsea" ,"http://www.mychelsea.net/images/chelseaNN.gif" ,"MyVillage Chelsea" ,"chelsea" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=chelsea&number=22") )
all_domains[19] = new Array( "mycityoflondon" ,new Array ("www.mycityoflondon.co.uk" ,"cityoflondon" ,"http://www.mycityoflondon.co.uk./images/cityoflondonNN.gif" ,"MyVillage City of London" ,"cityoflondon" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+City+of+London&number=5") )
all_domains[20] = new Array( "myclapham" ,new Array ("www.myclapham.co.uk" ,"clapham" ,"../../images/claphamNN.gif" ,"MyVillage Clapham" ,"clapham" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Clapham&number=23") )
all_domains[21] = new Array( "myclapton" ,new Array ("www.myclapton.co.uk" ,"hackney" ,"http://www.myclapton.co.uk/images/claptonNN.gif" ,"MyVillage Clapton" ,"hackney" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Hackney&number=8") )
all_domains[22] = new Array( "myclerkenwell" ,new Array ("www.myclerkenwell.net" ,"shoreditch&hoxton" ,"http://www.myclerkenwell.net/images/clerkenwellNN.gif" ,"MyVillage Clerkenwell" ,"shoreditch&hoxton" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Hoxton+%7CAMP%7C+Shorditch++&number=17") )
all_domains[23] = new Array( "mycoventgarden" ,new Array ("www.mycoventgarden.co.uk" ,"westend" ,"../../images/coventgardenNN.gif" ,"MyVillage Covent Garden" ,"westend" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Westend&number=12") )
all_domains[24] = new Array( "mycrouchend" ,new Array ("www.mycrouchend.co.uk" ,"haringey" ,"http://www.mycrouchend.co.uk/images/crouchendNN.gif" ,"MyVillage Crouchend" ,"haringey" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Haringey+&number=89") )
all_domains[25] = new Array( "mydalston" ,new Array ("www.mydalston.co.uk" ,"hackney" ,"http://www.mydalston.co.uk/images/dalstonNN.gif" ,"MyVillage Dalston" ,"hackney" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Hackney&number=8") )
all_domains[26] = new Array( "mydocklands" ,new Array ("www.mydocklands.co.uk" ,"docklands" ,"../../images/docklandsNN.gif" ,"MyVillage Docklands" ,"docklands" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Docklands&number=7") )
all_domains[27] = new Array( "mydulwich" ,new Array ("www.mydulwich.co.uk" ,"southwark" ,"http://www.mydulwich.co.uk/images/dulwichNN.gif" ,"MyVillage Dulwich" ,"southwark" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Southwark&number=9") )
all_domains[28] = new Array( "myedgbaston" ,new Array ("www.myedgbaston.co.uk" ,"birmingham" ,"http://www.mybrum.co.uk/images/edgbastonNN.gif" ,"MyVillage Edgbaston" ,"birmingham" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Brum&number=44" ,"wmids.asp?domain=mybrum") )
all_domains[29] = new Array( "myedinburgh" ,new Array ("www.myedinburgh.net" ,"edinburgh" ,"http://www.myedinburgh.net/images/edinburghNN.gif" ,"MyVillage Edinburgh" ,"edinburgh" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Edinburgh&number=30" ,"scotland.asp?domain=myedinburgh") )
all_domains[30] = new Array( "myelephantandcastle" ,new Array ("www.myelephantandcastle.co.uk" ,"southwark" ,"http://www.mysouthwark.co.uk/images/elephantandcastleNN.gif" ,"MyVillage Elephant & Castle" ,"southwark" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Southwark&number=9") )
all_domains[31] = new Array( "myenfield" ,new Array ("www.myenfield.co.uk" ,"enfield" ,"http://www.myenfield.co.uk./images/enfieldNN.gif" ,"MyVillage Enfield" ,"enfield" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Enfield&number=88") )
all_domains[32] = new Array( "myfinsbury" ,new Array ("www.myfinsbury.co.uk" ,"shoreditch&hoxton" ,"http://www.myfinsbury.co.uk/images/finsburyNN.gif" ,"MyVillage Finsbury" ,"shoreditch&hoxton" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Hoxton+&+Shorditch++&number=17&Days") )
all_domains[33] = new Array( "myfulham" ,new Array ("www.myfulham.co.uk" ,"hammersmith&shepherdsbush" ,"http://www.myfulham.co.uk/images/fulhamNN.gif" ,"MyVillage Fulham" ,"hammersmith&shepherdsbush" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Hammersmith+%7CAMP%7C+Fulham&number=14") )
all_domains[34] = new Array( "myglasgow" ,new Array ("www.myglasgow.org" ,"glasgow" ,"../../images/glasgowNN.gif" ,"MyVillage Glasgow" ,"glasgow" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Glasgow&number=31" ,"scotland.asp?domain=myglasgow") )
all_domains[35] = new Array( "mygreenwich" ,new Array ("www.mygreenwich.org" ,"greenwich" ,"http://www.mygreenwich.org/images/greenwichNN.gif" ,"MyVillage Greenwich" ,"greenwich" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+greenwich&number=87") )
all_domains[36] = new Array( "myhackney" ,new Array ("www.myhackney.co.uk" ,"hackney" ,"http://www.myhackney.co.uk/images/hackneyNN.gif" ,"MyVillage Hackney" ,"hackney" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Hackney&number=8") )
all_domains[37] = new Array( "myhammersmith" ,new Array ("www.myhammersmith.co.uk" ,"hammersmith&shepherdsbush" ,"../../images/hammersmithNN.gif" ,"MyVillage Hammersmith" ,"hammersmith&shepherdsbush" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Hammersmith+|AMP|+Fulham&number=14&DaysPrun") )
all_domains[38] = new Array( "myhampstead" ,new Array ("www.myhampstead.co.uk" ,"hampstead" ,"http://www.myhampstead.co.uk/images/hampsteadNN.gif" ,"MyVillage Hampstead" ,"hampstead" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Hampstead&number=15") )
all_domains[39] = new Array( "myharingey" ,new Array ("www.myharingey.co.uk" ,"haringey" ,"../../images/haringeyNN.gif" ,"MyVillage Haringey" ,"haringey" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Haringey+&number=89") )
all_domains[40] = new Array( "myhighbury" ,new Array ("www.myhighbury.co.uk" ,"islington" ,"http://www.myhighbury.co.uk/images/highburyNN.gif" ,"MyVillage Highbury" ,"islington" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Islington&number=10") )
all_domains[41] = new Array( "myhighgate" ,new Array ("www.myhighgate.co.uk" ,"hampstead" ,"../../images/highgateNN.gif" ,"MyVillage Highgate" ,"hampstead" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Hampstead&number=15") )
all_domains[42] = new Array( "myhighlands" ,new Array ("www.myhighlands.co.uk" ,"inverness" ,"http://www.myhighlands.co.uk/images/highlandsNN.gif" ,"MyVillage Highlands" ,"highlands" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Inverness&number=47") )
all_domains[43] = new Array( "myhollandpark" ,new Array ("www.myhollandpark.co.uk" ,"kensington" ,"http://www.mykensington.co.uk/images/hollandparkNN.gif" ,"MyVillage Holland Park" ,"kensington" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Kensington&number=20") )
all_domains[44] = new Array( "myholloway" ,new Array ("www.myholloway.co.uk" ,"islington" ,"http://www.myholloway.co.uk/images/hollowayNN.gif" ,"MyVillage Holloway" ,"islington" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Islington&number=10") )
all_domains[45] = new Array( "myhornsey" ,new Array ("www.myhornsey.co.uk" ,"haringey" ,"http://www.myvillage.co.uk/logos/hornseyNN.gif" ,"MyVillage Hornsey" ,"haringey" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Haringey+&number=89") )
all_domains[46] = new Array( "myhoxton" ,new Array ("www.myhoxton.net" ,"shoreditch&hoxton" ,"http://www.myhoxton.net/images/hoxtonNN.gif" ,"MyVillage Hoxton" ,"shoreditch&hoxton" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Hoxton+%7CAMP%7C+Shorditch++&number=17&Days") )
all_domains[47] = new Array( "myinverness" ,new Array ("www.myinverness.net" ,"inverness" ,"http://www.myinverness.net/images/invernessNN.gif" ,"MyVillage Inverness" ,"inverness" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&number=47","scotland.asp?domain=myinverness") )
all_domains[48] = new Array( "myisleofdogs" ,new Array ("www.myisleofdogs.co.uk" ,"docklands" ,"../../images/isleofdogsNN.gif" ,"MyVillage Isle of Dogs" ,"docklands" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Hampstead&number=15") )
all_domains[49] = new Array( "myislington" ,new Array ("www.myislington.co.uk" ,"islington" ,"http://www.myislington.co.uk/images/islingtonNN.gif" ,"MyVillage Islington" ,"islington" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Islington&number=10") )
all_domains[50] = new Array( "mykennington" ,new Array ("www.mykennington.co.uk" ,"brixton" ,"http://www.mykennington.co.uk/images/kenningtonNN.gif" ,"MyVillage Kennington" ,"brixton" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Brixton&number=24") )
all_domains[51] = new Array( "mykensington" ,new Array ("www.mykensington.co.uk" ,"kensington" ,"http://www.mykensington.co.uk/images/kensingtonNN.gif" ,"MyVillage Kensington" ,"nottinghill" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Kensington&number=20") )
all_domains[52] = new Array( "mykentishtown" ,new Array ("www.mykentishtown.co.uk" ,"camden" ,"http://www.mykentishtown.co.uk/images/kentishtownNN.gif" ,"MyVillage Kentish Town" ,"camden" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Camden&number=11") )
all_domains[53] = new Array( "mykingscross" ,new Array ("www.mykingscross.co.uk" ,"camden" ,"http://www.mykingscross.co.uk/images/kingscrossNN.gif" ,"MyVillage Kingscross" ,"camden" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Camden&number=11") )
all_domains[54] = new Array( "myknightsbridge" ,new Array ("www.myknightsbridge.co.uk" ,"chelsea" ,"http://www.myknightsbridge.co.uk/images/knightsbridgeNN.gif" ,"MyVillage Knightsbridge" ,"chelsea" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=chelsea&number=22") )
all_domains[55] = new Array( "mylambeth" ,new Array ("www.mylambeth.co.uk" ,"brixton" ,"http://www.mylambeth.co.uk/images/lambethNN.gif" ,"MyVillage Lambeth" ,"brixton" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Brixton&number=24") )
all_domains[56] = new Array( "myleeds" ,new Array ("www.myleeds.net" ,"leeds" ,"http://www.myleeds.net/images/leedsNN.gif" ,"MyVillage Leeds" ,"leeds" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Leeds&number=34" ,"north.asp?domain=myleeds") )
all_domains[57] = new Array( "myleicester" ,new Array ("www.myleicester.net" ,"leicester" ,"http://www.myleicester.net/images/leicesterNN.gif" ,"MyVillage Leicester" ,"leicester" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Leicester&number=35" ,"wmids.asp?domain=myleicester") )
all_domains[58] = new Array( "myliverpool" ,new Array ("www.myliverpool.org" ,"liverpool" ,"http://www.myliverpool.org/images/liverpoolNN.gif" ,"MyVillage Liverpool" ,"liverpool" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Liverpool&number=36" ,"northwest.asp?domamain=myliverpool") )
all_domains[59] = new Array( "mymaidavale" ,new Array ("www.mymaidavale.co.uk" ,"paddington" ,"http://www.mymaidavale.co.uk/images/maidavaleNN.gif" ,"MyVillage Maida Vale" ,"paddington" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Paddington+%7CAMP%7C+Bayswater&number=13") )
all_domains[60] = new Array( "mymanchester" ,new Array ("www.mymanchester.org" ,"manchester" ,"http://www.mymanchester.org/images/manchesterNN.gif" ,"MyVillage Manchester" ,"manchester" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Westend&number=37" ,"northwest.asp?domamain=mymanchester") )
all_domains[61] = new Array( "mymarylebone" ,new Array ("www.mymarylebone.co.uk" ,"westend" ,"../../images/maryleboneNN.gif" ,"MyVillage Marylebone" ,"westend" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Westend&number=12") )
all_domains[62] = new Array( "mymayfair" ,new Array ("www.mymayfair.co.uk" ,"westend" ,"http://www.mymayfair.co.uk/images/mayfairNN.gif" ,"MyVillage Mayfair" ,"westend" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Westend&number=12") )
all_domains[63] = new Array( "mymerton" ,new Array ("www.mymerton.co.uk" ,"wimbledon" ,"http://www.mywimbledon.co.uk/images/mertonNN.gif" ,"MyVillage Merton" ,"wimbledon" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Wimbledon+&number=89") )
all_domains[64] = new Array( "mynewcastle" ,new Array ("www.mynewcastle.net" ,"newcastle" ,"http://www.mynewcastle.net/images/newcastleNN.gif" ,"MyVillage Newcastle" ,"newcastle" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Newcastle&number=38" ,"northeast.asp?domain=mynewcastle") )
all_domains[65] = new Array( "mynorwich" ,new Array ("www.mynorwich.co.uk" ,"norwich" ,"http://www.mynorwich.co.uk/images/norwichNN.gif" ,"MyVillage Norwich" ,"norwich" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Norwich&number=39" ,"south.asp?domain=mynorwich") )
all_domains[66] = new Array( "mynottingham" ,new Array ("www.mynottingham.com" ,"nottingham" ,"../../images/nottinghamNN.gif" ,"MyVillage Nottingham" ,"nottingham" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Nottingham&number=40" ,"wmids.asp?domain=mynottingham") )
all_domains[67] = new Array( "mynottinghill" ,new Array ("www.mynottinghill.co.uk" ,"nottinghilltv" ,"http://www.mynottinghill.co.uk/nottinghillNN.gif" ,"MyVillage Nottinghill" ,"nottinghill" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=portowebbo&number=19") )
all_domains[68] = new Array( "myoxford" ,new Array ("www.myoxford.net" ,"oxford" ,"../../images/oxfordNN.gif" ,"MyVillage Oxford" ,"oxford" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Oxford&number=59") )
all_domains[69] = new Array( "mypaddington" ,new Array ("www.mypaddington.co.uk" ,"paddington" ,"../../images/paddingtonNN.gif" ,"MyVillage Paddington" ,"paddington" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Paddington+%7CAMP%7C+Bayswater&number=13") )
all_domains[70] = new Array( "mypeckham" ,new Array ("www.mypeckham.co.uk" ,"southwark" ,"http://www.mypeckham.co.uk/images/peckhamNN.gif" ,"MyVillage Peckham" ,"southwark" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Southwark&number=9") )
all_domains[71] = new Array( "mypimlico" ,new Array ("www.mypimlico.co.uk" ,"westend" ,"http://www.mypimlico.co.uk/images/pimlicoNN.gif" ,"MyVillage Pimlico" ,"westend" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Westend&number=12") )
all_domains[72] = new Array( "myplymouth" ,new Array ("www.myplymouth.org" ,"plymouth" ,"http://www.myplymouth.org/images/plymouthNN.gif" ,"MyVillage Plymouth" ,"plymouth" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&number=41&SUBMIT=Go" ,"south.asp?domain=myplymouth") )
all_domains[73] = new Array( "myprimrosehill" ,new Array ("www.myprimrosehill.co.uk" ,"camden" ,"http://www.myprimrosehill.co.uk/images/primrosehillNN.gif" ,"MyVillage Primrose Hill" ,"camden" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Camden&number=11") )
all_domains[74] = new Array( "myputney" ,new Array ("www.myputney.co.uk" ,"wandsworth" ,"http://www.myputney.co.uk/images/putneyNN.gif" ,"MyVillage Putney" ,"wandsworth" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Wandsworth&number=16") )
all_domains[75] = new Array( "myse1" ,new Array ("www.myse1.co.uk" ,"southwark" ,"http://www.myse1.co.uk/images/se1NN.gif" ,"MyVillage SE1" ,"southwark" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=southbank&number=21") )
all_domains[76] = new Array( "mysheffield" ,new Array ("www.mysheffield.net" ,"sheffield" ,"http://www.mysheffield.net/images/sheffieldNN.gif" ,"MyVillage Sheffield" ,"sheffield" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Sheffield&number=42" ,"north.asp?domain=mysheffield") )
all_domains[77] = new Array( "myshepherdsbush" ,new Array ("www.myshepherdsbush.co.uk" ,"hammersmith&shepherdsbush" ,"http://www.myshepherdsbush.co.uk/images/shepherdsbushNN.gif" ,"MyVillage Shepherds Bush" ,"hammersmith&shepherdsbush" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Hammersmith+%7CAMP%7C+Fulham&number=14") )
all_domains[78] = new Array( "myshoreditch" ,new Array ("www.myshoreditch.co.uk" ,"shoreditch&hoxton" ,"http://www.myshoreditch.co.uk/images/shoreditchNN.gif" ,"MyVillage Shoreditch" ,"shoreditch&hoxton" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Hoxton+&+Shorditch++&number=17&Days") )
all_domains[79] = new Array( "mysohow1" ,new Array ("www.mysohow1.co.uk" ,"westend" ,"http://www.mysohow1.co.uk/images/sohoNN.gif" ,"MyVillage Soho" ,"westend" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Westend&number=12") )
all_domains[80] = new Array( "mysouthampton" ,new Array ("www.mysouthampton.org" ,"southampton" ,"../../images/southamptonNN.gif" ,"MyVillage Southampton" ,"southampton" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&number=43&SUBMIT=Go" ,"south.asp?domain=mysouthampton") )
all_domains[81] = new Array( "mysouthbank" ,new Array ("www.mysouthbank.co.uk" ,"southwark" ,"http://www.mysouthbank.co.uk/images/southbankNN.gif" ,"MyVillage Southbank" ,"southwark" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=southbank&number=21") )
all_domains[82] = new Array( "mysouthwark" ,new Array ("www.mysouthwark.co.uk" ,"southwark" ,"http://www.mysouthwark.co.uk/images/southwarkNN.gif" ,"MyVillage Southwark" ,"southwark" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Southwark&number=9") )
all_domains[83] = new Array( "mystjohnswood" ,new Array ("www.mystjohnswood.co.uk" ,"paddington" ,"../../images/stjohnswoodNN.gif" ,"MyVillage St Johns Wood" ,"paddington" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Paddington+%7CAMP%7C+Bayswater&number=13") )
all_domains[84] = new Array( "mystockwell" ,new Array ("www.mystockwell.co.uk" ,"brixton" ,"http://www.mystockwell.co.uk/images/stockwellNN.gif" ,"MyVillage Stockwell" ,"brixton" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Brixton&number=24") )
all_domains[85] = new Array( "mystokenewington" ,new Array ("www.mystokenewington.co.uk" ,"hackney" ,"http://www.mystokenewington.co.uk/images/stokenewingtonNN.gif" ,"MyVillage Stokenewington" ,"hackney" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Hackney&number=8") )
all_domains[86] = new Array( "mystreatham" ,new Array ("www.mystreatham.co.uk" ,"brixton" ,"http://www.mystreatham.co.uk/images/streathamNN.gif" ,"MyVillage Streatham" ,"brixton" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Brixton&number=24") )
all_domains[87] = new Array( "mysuttoncoldfield" ,new Array ("www.mysuttoncoldfield.co.uk" ,"birmingham" ,"http://www.mybrum.co.uk/images/suttoncoldfieldNN.gif" ,"MyVillage Suttoncoldfield" ,"birmingham" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Brum&number=44" ,"wmids.asp?domain=mybrum") )
all_domains[88] = new Array( "mytooting" ,new Array ("www.mytooting.co.uk" ,"clapham" ,"http://www.mytooting.co.uk/images/tootingNN.gif" ,"MyVillage Tooting" ,"clapham" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Clapham&number=23") )
all_domains[89] = new Array( "mytowerhamlets" ,new Array ("www.mytowerhamlets.co.uk" ,"towerhamlets" ,"http://www.mytowerhamlets.co.uk/images/towerhamletsNN.gif" ,"MyVillage Towerhamlets" ,"towerhamlets" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=Tower+Hamlets&number=18") )
all_domains[90] = new Array( "mytufnellpark" ,new Array ("www.mytufnellpark.co.uk" ,"islington" ,"http://www.mytufnellpark.co.uk/images/tufnellparkNN.gif" ,"MyVillage Tufnell Park" ,"islington" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Islington&number=10") )
all_domains[91] = new Array( "myvictoria" ,new Array ("www.myvictoria.co.uk" ,"westend" ,"../../images/victoriaNN.gif" ,"MyVillage Victoria" ,"victoria" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Westend&number=12") )
all_domains[92] = new Array( "myvillage" ,new Array ("mail.myvillage.com" ,"westend" ,"../../images/myvillage1netbigNN.gif" ,"MyVillage" ,"westend" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Westend&number=12") )
all_domains[93] = new Array( "myvillagelondon" ,new Array ("www.myvillagelondon.co.uk" ,"london" ,"http://www.myvillage.co.uk/logos/londonNN.gif" ,"MyVillage London" ,"london" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Westend&number=12") )
all_domains[94] = new Array( "mywandsworth" ,new Array ("www.mywandsworth.co.uk" ,"wandsworth" ,"http://www.mywandsworth.co.uk/images/wandsworthNN.gif" ,"MyVillage Wandsworth" ,"wandsworth" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Wandsworth&number=16") )
all_domains[95] = new Array( "mywapping" ,new Array ("www.mywapping.co.uk" ,"docklands" ,"http://www.mywapping.co.uk/images/wappingNN.gif" ,"MyVillage Wapping" ,"docklands" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Docklands&number=7") )
all_domains[96] = new Array( "mywaterloo" ,new Array ("www.mywaterloo.co.uk" ,"brixton" ,"http://www.mywaterloo.co.uk/images/waterlooNN.gif" ,"MyVillage Waterloo" ,"brixton" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Brixton&number=24") )
all_domains[97] = new Array( "mywestend" ,new Array ("www.mywestend.co.uk" ,"westend" ,"http://www.mywestend.co.uk/images/westendNN.gif" ,"MyVillage Westend" ,"westend" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Westend&number=12") )
all_domains[98] = new Array( "mywestminster" ,new Array ("www.mywestminster.co.uk" ,"westend" ,"http://www.mywestend.co.uk/images/westminsterNN.gif" ,"MyVillage Westminster" ,"westend" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Westend&number=12") )
all_domains[99] = new Array( "mywhitechapel" ,new Array ("www.mywhitechapel.co.uk" ,"shoreditch&hoxton" ,"http://www.mywhitechapel.co.uk/images/whitechapelNN.gif" ,"MyVillage White Chapel" ,"shoreditch&hoxton" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Hoxton+%7CAMP%7C+Shorditch++&number=17") )
all_domains[100] = new Array( "mywimbledon" ,new Array ("www.mywimbledon.co.uk" ,"wimbledon" ,"http://www.mywimbledon.co.uk/images/wimbledonNN.gif" ,"MyVillage Wimbledon" ,"wimbledon" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Wimbledon+&number=89") )
all_domains[101] = new Array( "mywoodgreen" ,new Array ("www.mywoodgreen.co.uk" ,"haringey" ,"http://www.mywoodgreen.co.uk/images/woodgreenNN.gif" ,"MyVillage Woodgreen" ,"haringey" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Haringey+&number=89") )
all_domains[102] = new Array( "noID" ,new Array ("www.mynottinghill.co.uk" ,"nottinghilltv" ,"http://www.mynottinghill.co.uk/nottinghillNN.gif" ,"MyVillage Nottinghill" ,"nottinghill" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=portowebbo&number=19"))
all_domains[103] = new Array( "portowebbo" ,new Array ("www.portowebbo.co.uk" ,"nottinghilltv" ,"http://www.mynottinghill.co.uk/portowebbobannerNN.gif" ,"Portowebbo" ,"nottinghill" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=portowebbo&number=19") )
// setup a new string which has all the domains in
//var tempstr = new String (all_domains);
var loc = document.location.search;
var subloc = document.location.hostname;
var domainID = "";
// for testing set these as constants
var personal = 'pages/personal.htm'; // default
// pick out the actual domain ie "myvillage" or whatever
test = subloc.substring(subloc.indexOf(".")+1, subloc.length);
testx = test.substring(test.index, test.indexOf("."));
// Look up the domain and see if it's in the list.
iPos = busbinStr(all_domains, testx, 0);
if (iPos != -1 && testx != "myvillage") {
// if it is set the domainID to it
domainID = testx;
eval("set_cookie('"+domainID+"');");
} else {
// if it don't exist
check_the_URL();
}
function check_the_URL() {
// look at the end of the URL to see if it has been passed on
if (loc.indexOf("domain=") != -1) {
// Coconut complications!!
if (loc.indexOf("_domain") != -1) {
var chop = loc.substring(loc.indexOf("_domain=")+8, loc.length);
if (chop.indexOf("&") != -1) {
chopx = chop.substring(chop.index, chop.indexOf("&"));
domainID = chopx.substring(chopx.index, chopx.indexOf("."));
if (domainID.length == 0) {
domainID = chopx;
eval("set_cookie('"+domainID+"');");
}
if (domainID.length == 0) {
check_the_cookie();
}
} else if (chop.indexOf(".") != -1) {
domainID = chop.substring(chop.index, chop.indexOf("."));
if (domainID.length == 0) {
check_the_cookie();
}
eval("set_cookie('"+domainID+"');");
} else {
domainID = chop;
if (domainID.length == 0) {
check_the_cookie();
}
eval("set_cookie('"+domainID+"');");
}
} else {
// if it is there
// then set domainID to it
var chop = loc.substring(loc.indexOf("domain=")+7, loc.length);
if (chop.indexOf("&") != -1) {
domainID = chop.substring(chop.index, chop.indexOf("&"));
if (domainID.length == 0) {
check_the_cookie();
}
eval("set_cookie('"+domainID+"');");
} else {
domainID = chop;
if (domainID.length == 0) {
check_the_cookie();
}
eval("set_cookie('"+domainID+"');");
}
}
} else {
// if it's not on the end of the URL
check_the_cookie();
}
}
function check_the_cookie() {
if (!document.cookie){
// if there is not cookies set
// no choice but to set it to noID
domainID = "noID";
eval("set_cookie('"+domainID+"');");
} else {
if (document.cookie.indexOf("domainID=") != -1) {
// if a cookie is there and it includes a domainID
// use it
var current_cookie = document.cookie.substring(document.cookie.indexOf('domainID=')+9, document.cookie.indexOf('$$$$$$'));
domainID = current_cookie;
eval("set_cookie('"+domainID+"');");
} else if(document.referrer) {
var str = document.referrer;
var t = str.substring(str.indexOf('.')+1,str.length);
var tt = t.substring(0,t.indexOf('.'));
domainID = tt;
eval("set_cookie('"+domainID+"');");
} else {
// if theres a cookie but it doesn't have a domainID
// no choice but to use noID
domainID = "noID";
eval("set_cookie('"+domainID+"');");
}
}
}
// after all this attempt to set a cookie on that server
function set_cookie(domainx) {
var nextyear = new Date();
nextyear.setFullYear(nextyear.getFullYear() + 1);
if (domainx.length !== 0) {
document.cookie = "domainID="+ domainx +"$$$$$$;";
eval("draw_table('"+domainx+"');");
} else {
}
}
function draw_table(domainx) {
domainID = domainx
iPos = busbinStr(all_domains, domainID, 0);
eval("var " + domainID + "= all_domains[" + iPos + "][1];");
// setup the rest of the variables using the acquired domainID
// the full domain of the current page as specified in the array
domain = eval(domainID+'[0]');
// the name of the folder where all category pages should point for this domain
cat_folder = eval(domainID+'[1]');
// the file name of the header image and caption
header_image = eval(domainID+'[2]');
header_image_caption = eval(domainID+'[3]');
// special link folder - for local sport info etc.
special_links_folder = eval(domainID+'[4]');
// image library directory
image_library = eval(domainID+'[5]');
// message board link
message_board_link = eval(domainID+'[6]');
// from the terraces link
if (! eval(domainID+'[7]')) {
var ftt_link = "http://www.fromtheterrace.co.uk/myvillage/london.asp?domain="+domainID;
} else {
var tempFTT = eval(domainID+'[7]')
var ftt_link = "http://www.fromtheterrace.co.uk/myvillage/"+tempFTT;
}
// Personals link
var personals_link = 'http://personals.myvillage.com';
// start writing the top navi bar.
document.write('<!-- Dynamic table present -->');
document.write("<STYLE>.HeaderLink:link {COLOR: #FFFFFF; TEXT-DECORATION:none} .HeaderLink:visited {COLOR: #FFFFFF; TEXT-DECORATION:none} .HeaderLink:hover {COLOR: #FF0000; TEXT-DECORATION:none}</STYLE>");
document.write("<table align=\"center\" width=\"777\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.write(" <tr bgcolor=\"#000000\">");
document.write(" <td colspan=\"3\" align==\"center\">");
document.write(" <div align=\"center\"><b><font size=\"1\">");
document.write(" <a target=\"_top\" class=\"HeaderLink\" href=\"http://www.myvillage.com/adrates.htm\" style=\"text-decoration: none\">Promote Your Business</a> ");
document.write(" <font color=\"#FFFFFF\"> Your local website updated daily! </font> ");
document.write(" <a target=\"_top\" class=\"HeaderLink\" href=\"http://www.myvillage.com\" style=\"text-decoration: none\"> Cities in the UK</a> ");
document.write(" <a target=\"_top\" class=\"HeaderLink\" href=\"http://www.myvillagelondon.co.uk\" style=\"text-decoration: none\">Communities in London</a> ");
document.write(" <a target=\"_top\" class=\"HeaderLink\" href=\"#\" onclick=\"javascript: window.open(\'http://www.myvillage.com/mailamate/mailapage.htm?page=\'+top.location,\'\',\'width=400,height=400,scrollbars=no\')\">E-mail this page to a friend <img src=\"http://www.myvillage.co.uk/images/email-icon.gif\" border=\"0\"></a>");
document.write(" </div></font></b>");
document.write(" </td>");
document.write(" </tr>");
document.write(" <tr> ");
document.write(" <td bgcolor=\"#FFCF00\"> <a href=\"http://" + domain + "\" target=\"_top\"><IMG SRC=\"" + header_image + "\" alt=\"" + header_image_caption + "\"BORDER=\"0\"></a></td>");
document.write(" <td bgcolor=\"#FFCF00\" align=\"right\">");
document.write(" <IFRAME src=\"http://www.myvillage.co.uk/banners/getbanner.php?domain=" + domainID + "\" width=468 height=60 scrolling=no allowtransparency=true frameborder=0 marginheight=0 marginwidth=0></IFRAME> ");
document.write(" </td>");
document.write(" <td bgcolor=\"#FFCF00\" width=\"5\"> </td>");
document.write(" </tr>");
document.write(" <tr bgcolor=\"#000000\"> ");
document.write(" <td colspan=\"3\"> ");
document.write(" <table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"1\">");
document.write(" <tr valign=\"bottom\"> ");
document.write(" <td height=\"20\" align=\"center\"> ");
document.write(" <p><font size=\"1\" color=\"#FFFFFF\"><b>");
document.write(" <img src=\"images/pix.gif\" width=\"1\" height=\"10\"><A class=\"HeaderLink\" HREF=\"http://" + domain + "/" + cat_folder + "/arts.htm\">Arts & Entertainment</a> | ");
document.write(" <A target=\"_top\" class=\"HeaderLink\" HREF=\"http://" + domain + "/" + cat_folder + "/bars&Music.htm\">Bars & Music</a> | ");
document.write(" <A target=\"_top\" class=\"HeaderLink\" HREF=\"http://" + domain + "/" + cat_folder + "/restaurants.htm\">Restaurants</a> | ");
document.write(" <A target=\"_top\" class=\"HeaderLink\" HREF=\"http://" + domain + "/" + cat_folder + "/fashion.htm\">Fashion & Lifestyle</a> | ");
document.write(" <A target=\"_top\" class=\"HeaderLink\" HREF=\"http://" + domain + "/" + cat_folder + "/health.htm\">Health & Beauty</a> | ");
document.write(" <A target=\"_top\" class=\"HeaderLink\" HREF=\"http://" + domain + "/" + cat_folder + "/celebs&gossip.htm\">Celebs & Gossip</a> | ");
document.write(" <A target=\"_top\" class=\"HeaderLink\" HREF=\"http://" + domain + "/" + cat_folder + "/shops.htm\">Shopping</a> | ");
document.write(" <A target=\"_top\" class=\"HeaderLink\" HREF=\"http://www.peoplebank.com/pbank/owa/myvillage.main\">Jobs & Careers</a>");
document.write(" </b></font></p>");
document.write(" </td>");
document.write(" </tr>");
document.write(" <tr valign=\"top\"> ");
document.write(" <td align=\"center\" height=\"20\">");
document.write(" <font size=\"1\" color=\"#FFFFFF\"><b>");
document.write(" <A target=\"_top\" class=\"HeaderLink\" HREF=\"http://" + domain + "/" + cat_folder + "/property.html\">Homes & Property</a> | ");
document.write(" <A target=\"_top\" class=\"HeaderLink\" HREF=\"http://" + domain + "/" + cat_folder + "/community.htm\">News & Community</a> | ");
document.write(" <A target=\"_top\" class=\"HeaderLink\" HREF=\"http://" + domain + "/" + cat_folder + "/businesszone.htm\">Business & Services</a> | ");
document.write(" <A target=\"_top\" class=\"HeaderLink\" HREF=\"" + ftt_link + "\">Football & Sport</a> | ");
document.write(" <A target=\"_top\" class=\"HeaderLink\" HREF=\"http://" + domain + "/" + cat_folder + "/kids.htm\">Kids & Youth</a> | ");
document.write(" <A target=\"_top\" class=\"HeaderLink\" HREF=\"" + personals_link + "\">Personals</a> | ");
document.write(" <A target=\"_top\" class=\"HeaderLink\" HREF=\"http://" + domain + "/" + cat_folder + "/services.htm\">Classifieds</a> | ");
document.write(" <A target=\"_top\" class=\"HeaderLink\" HREF=\"" + message_board_link + "\">Message board</a>");
document.write(" <img src=\"images/pix.gif\" width=\"1\" height=\"10\"></b></font></td>");
document.write(" </tr>");
document.write(" </table>");
document.write(" </td>");
document.write(" </tr>");
document.write(" </table>");
}
// Other functions
// add local sports links to FTT pages
function show_sports_links() {
document.writeln('<FONT COLOR="ffcc00" SIZE="1"><B>');
document.writeln('<A HREF="http://'+domain+'/'+cat_folder+'/sport-club.htm">Local club listings</A><BR>');
document.writeln('<A HREF="http://'+domain+'/'+cat_folder+'/sport-activity.htm">Local sports activities</A><BR>');
document.writeln('<A HREF="http://'+domain+'/'+cat_folder+'/sport-features.htm">Local sport features</A><BR>');
document.writeln('</B></FONT>');
}
function make_home() {
document.writeln('<a href="#" onClick="this.style.behavior=\'url(#default#homepage)\';this.setHomePage(\'http://'+domain+'\');"> ');
document.writeln('<img src="http://www.mybrixton.com/images/make_this_home.gif" alt="Make this your homepage" border="0"');
document.writeln(' width="93" height="40"></a>');
}
// Find a Property additions
function finda(form_name) {
if (!form_name) {
formx = "findit";
} else {
formx = form_name;
}
eval("document."+formx+".domain.value = domainID;");
}
function formdestination(mode) {
if (mode=="mail_coconut") {
username = new String(document.tripleform.loginname.value);
{
myemaildomain=username.substring(username.indexOf('@')+1,username.length);
realusername=username.substring(username[0],username.indexOf('@'));
}
var password=document.tripleform.loginpassword.value;
if (callingURL.indexOf("/pages/personal") != -1) {
location.href='http://mail.myvillage.com/cgi/cwpro/login?fm_submit=yes&fm_referer=index&fm_templates=personals&fm_user_profile=yes&fm_username='+realusername+'&fm_password='+password+'&fm_email_domain='+myemaildomain;
} else {
location.href='http://mail.myvillage.com/cgi/cwpro/login?fm_submit=yes&fm_referer=index&fm_templates=&fm_user_profile=yes&fm_username='+realusername+'&fm_password='+password+'&fm_email_domain='+myemaildomain;
}
}
if (mode=="mail_zzn") {
document.tripleform.action="http://portowebbo.zzn.com/email/english/login/loginaction.asp";
document.tripleform.method="POST";
document.tripleform.submit()
}
if (mode=="poll") {
document.tripleform.action="http://test.myvillage.com/testmyvillage/GC/Global/MVViewPollResults.ghtml";
document.tripleform.method="POST";
document.tripleform.submit()
}
if (mode=="search") {
document.tripleform.action="http://search.atomz.com/search/";
document.tripleform.method="GET";
document.tripleform.submit()
}
}
function right_link() {
document.writeln("<b><a href='http://mail.myvillage.com/cgi/cwpro/register?fm_templates=personals&fm_email_domain="+domainID+"'>your free Myvillage account here.</a></b>");
}
function network_link(linkx) {
if (linkx.indexOf("?") != -1) {
temp = linkx+"&domain="+domainID;
document.location.href = temp;
} else {
temp = linkx+"?domain="+domainID;
document.location.href = temp;
}
}
function busbinStr(aArray, lSearch, lCol) {
lFirst = 0
lLast = aArray.length - 1;
bFound = false;
while (lFirst <= lLast && !bFound) {
lMid = parseInt((lFirst + lLast) / 2);
if (lCol > - 1) {
lCurValue = aArray[lMid][lCol];
} else {
lCurValue = aArray[lMid];
}
if (lCurValue == lSearch) {
bFound = true;
} else if (aArray[lMid] < lSearch) {
lFirst = lMid + 1;
} else {
lLast = lMid - 1;
}
}
if (bFound) {
return lMid;
}
return -1;
}
//-->