File: /home/mycamden.co.uk/public_html/top_tables/navi-bars.js
<!--
// MyVillage Header navigation script
// bazza - 14/7/2001
// domainID = new Array ("www.domainID.co.uk" , "category folder" , "header iamge file location" , "header image alt text" , "special link folder ID" , "image library location" , "message board URL") ,
// *NOTE - Make sure that the last array in the list doesn't have a "," at the end.
all_domains = 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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
mybelgravia = new Array ("www.mybelgravia.co.uk" ,"westend" ,"http://www.mybelgravia.co.uk/images/belgraviaNN.gif" ,"MyVillage Belgravia" ,"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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
mycanarywharf = new Array ("www.mycanarywarf.co.uk" , "docklands" , "http://www.mycanarywarf.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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
myearlscourt = new Array ("www.myearlscourt.co.uk" ,"kensington" ,"http://www.mykensington.co.uk/images/earlscourtNN.gif" ,"MyVillage Earlscourt" ,"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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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=97") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
mypreston = new Array ("www.mypreston.co.uk" , "preston" , "http://www.mypreston.co.uk/images/prestonNN.gif" , "MyVillage Preston" , "preston" , "http://www.myvillage.com/top_tables/images/" , "http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Preston&number=93" , "northwest.asp?domamain=mypreston") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
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") ,
mywhitechapel = new Array ("www.mywhitechapel.co.uk" , "towerhamlets" , "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") ,
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=97") ,
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") ,
mybrent = new Array ("www.mybrent.co.uk" ,"brent" ,"http://www.mybrent.co.uk/images/brentNN.gif" ,"MyVillage Brent" ,"brent" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Brent&number=94") ,
mydollishill = new Array ("www.mydollishill.co.uk" ,"brent" ,"http://www.mybrent.co.uk/images/dollishillNN.gif" ,"MyVillage Dolli Shill " ,"brent" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Brent&number=94") ,
myharlesden = new Array ("www.mybharlesden.co.uk" ,"brent" ,"http://www.mybrent.co.uk/images/harlesdenNN.gif" ,"MyVillage Harlesden" ,"brent" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Brent&number=94") ,
mykilburn = new Array ("www.mykilburn.co.uk" ,"brent " ,"http://www.mybrent.co.uk/images/kilburnNN.gif" ,"MyVillage Kilburn " ,"brent" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Brent&number=94") ,
mykingsbury = new Array ("www.mykingsbury.co.uk" ,"brent" ,"http://www.mybrent.co.uk/images/kingsburyNN.gif" ,"MyVillage Kingsbury " ,"brent" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Brent&number=94") ,
myneasden = new Array ("www.myneasden.co.uk" ,"brent" ,"http://www.mybrent.co.uk/images/neasdenNN.gif" ,"MyVillage Neasden " ,"brent" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Brent&number=94") ,
mywembley = new Array ("www.mywembley.co.uk" ,"brent" ,"http://www.mybrent.co.uk/images/wembleyNN.gif" ,"MyVillage Wembley " ,"brent" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Brent&number=94") ,
mywillesden = new Array ("www.mywillesden.co.uk" ,"brent" ,"http://www.mybrent.co.uk/images/willesdenNN.gif" ,"MyVillage Willesden " ,"brent" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Brent&number=94") ,
mybrentford = new Array ("www.mybrentford.co.uk" ,"hounslow" ,"../../images/brentfordNN.gif" ,"MyVillage Brentford" ,"hounslow" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Hounslow&number=95") ,
mychiswick = new Array ("www.mychiswick.co.uk" ,"hounslow" ,"../../images/chiswickNN.gif" ,"MyVillage Chiswick" ,"hounslow" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Hounslow&number=95") ,
myfeltham = new Array ("www.myfeltham.co.uk" ,"hounslow" ,"http://www.myhounslow.co.uk/images/felthamNN.gif" ,"MyVillage Feltham" ,"hounslow" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Hounslow&number=95") ,
myheathrow = new Array ("www.myheathrow.co.uk" ,"hounslow" ,"http://www.myhounslow.co.uk/images/heathrowNN.gif" ,"MyVillage Heathrow" ,"hounslow" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Hounslow&number=95") ,
myheston = new Array ("www.myheston.co.uk" ,"hounslow" ,"http://www.myhounslow.co.uk/images/hestonNN.gif" ,"MyVillage Heston" ,"hounslow" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Hounslow&number=95") ,
myhounslow = new Array ("www.myhounslow.co.uk" ,"hounslow" ,"http://www.myhounslow.co.uk/images/hounslowNN.gif" ,"MyVillage Hounslow" ,"hounslow" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Hounslow&number=95") ,
myisleworth = new Array ("www.myisleworth.co.uk" ,"hounslow" ,"http://www.myhounslow.co.uk/images/isleworthNN.gif" ,"MyVillage Isleworth" ,"hounslow" ,"http://www.myvillage.com/top_tables/images/" ,"http://www.blackevents.co.uk/cgi-bin/ubbcgi/forumdisplay.cgi?action=topics&forum=My+Hounslow&number=95") ,
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") ,
myvillage = new Array ("www.myvillage.com" , "westend" , "../../images/myvillagenetworkNN.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") ,
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")
);
// 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.
if ((eval("tempstr.indexOf('"+testx+"') != -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()
{
//alert("checking 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 (testx == "myvillage") {
check_the_cookie();
} else {
// if it's not on the end of the URL
check_the_cookie();
}
}
}
function check_the_cookie()
{
//alert("check 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
// 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.fansfc.com/myvillage/london.asp?domain="+domainID;}
else
{
var tempFTT = eval(domainID+'[7]')
//alert("temp");
var ftt_link = "http://www.fansfc.com/myvillage/"+tempFTT;
}
// Personals link
var personals_link1 = 'http://www.myvillage.com/pages/flirt-pop.htm';
var personals_link2 = 'http://stats.smartflirts.co.uk/click.php?cID=218';
// Preload the mouseovers
image1 = new Image(165,16);
image1.src = image_library+'navi_arts_on.gif';
image2 = new Image(165,16);
image2.src = image_library+'navi_bars_on.gif';
image3 = new Image(165,16);
image3.src = image_library+'navi_shops_on.gif';
image4 = new Image(165,16);
image4.src = image_library+'navi_services_on.gif';
image5 = new Image(165,16);
image5.src = image_library+'navi_sport_on.gif';
image6 = new Image(165,16);
image6.src = image_library+'navi_community_on.gif';
image7 = new Image(165,16);
image7.src = image_library+'navi_business_on.gif';
image8 = new Image(165,16);
image8.src = image_library+'navi_celebs_on.gif';
image9 = new Image(165,16);
image9.src = image_library+'navi_homes_on.gif';
image10 = new Image(165,16);
image10.src = image_library+'navi_kidsyouth_on.gif';
image11 = new Image(165,16);
image11.src = image_library+'navi_personals_on.gif';
image12 = new Image(165,16);
image12.src = image_library+'navi_fashion_on.gif';
image13 = new Image(165,16);
image13.src = image_library+'navi_restaurants_on.gif';
image14 = new Image(165,16);
image14.src = image_library+'navi_health_on.gif';
image15 = new Image(165,16);
image15.src = image_library+'navi_freetext_on.gif';
image16 = new Image(165,16);
image16.src = image_library+'navi_message_on.gif';
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
// start writing the top navi bar.
if (domainID == "myvillagelondon") {
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 + "\"><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.com/banners/london_banner.html?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 + "/cinema.htm\">Cinema</a> | ");
document.write(" <A target=\"_top\" class=\"HeaderLink\" HREF=\"http://" + domain + "/" + cat_folder + "/theatre.htm\">Theatre</a> | ");
document.write(" <A target=\"_top\" class=\"HeaderLink\" HREF=\"http://" + domain + "/" + cat_folder + "/clubs.htm\">Clubs & Bars</a> | ");
document.write(" <A target=\"_top\" class=\"HeaderLink\" HREF=\"http://" + domain + "/" + cat_folder + "/celebs.htm\">Celebs & Gossip</a> | ");
document.write(" <A target=\"_top\" class=\"HeaderLink\" HREF=\"http://" + domain + "/" + cat_folder + "/jobs.htm\">Jobs & Careers</a> | ");
document.write(" <A target=\"_top\" class=\"HeaderLink\" HREF=\"http://" + domain + "/" + cat_folder + "/property.htm\">Homes & Property</a> | ");
document.write(" <A target=\"_top\" class=\"HeaderLink\" HREF=\"http://" + domain + "/" + cat_folder + "/restaurants.htm\">Restaurants</a>");
document.write(" </b></font></p>");
document.write(" </td>");
document.write(" </tr>");
document.write(" </table>");
document.write(" </td>");
document.write(" </tr>");
document.write(" </table>");
} else if (domainID == "myvillage") {
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 + "\"><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/banner.html?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("</table>");
} else {
// 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 + "\"><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/banner.html?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://" + domain + "/" + cat_folder + "/jobs.htm\">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.shtml\">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=\"#\" onclick=\"javascript: window.open('"+personals_link2+"','1');window.open('"+personals_link1+"','2','height=200,width=300,scrollbars=no');\">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)
{
//alert("default");
formx = "findit";
}
else
{
//alert(form_name);
formx = form_name;
}
//alert(document.findit.domain.value);
eval("document."+formx+".domain.value = domainID;");
//alert(document.findit.domain.value);
}
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;
}
}