// JavaScript Document - based on ONS codes, eg AN
var boroughs=new Array();
boroughs["AB"]=Array("barking & dagenham","Barking & Dagenham","AB","barkinganddagenham/","kg.gif");
boroughs["AC"]=Array("barnet","Barnet","AC","barnet/","sx.gif");
boroughs["AD"]=Array("bexley","Bexley","AD","bexley/","ry.gif");
boroughs["AE"]=Array("brent","Brent","AE","brent/","qk.gif");
boroughs["AF"]=Array("bromley","Bromley","AF","bromley/","py.gif");
boroughs["AG"]=Array("camden","Camden","AG","camden/","ek.gif");
boroughs["AH"]=Array("croydon","Croydon","AH","croydon/","zd.gif");
boroughs["AJ"]=Array("ealing","Ealing","AJ","ealing/","xb.gif");
boroughs["AK"]=Array("enfield","Enfield","AK","enfield/","ye.gif");
boroughs["AL"]=Array("greenwich","Greenwich","AL","greenwich/","rg.gif");
boroughs["AM"]=Array("hackney","Hackney","AM","hackney/","gd.gif");
boroughs["AN"]=Array("hammersmith & fulham","Hammersmith & Fulham","AN","hammersmithandfulham/","fh.gif");
boroughs["AP"]=Array("haringey","Haringey","AP","haringey/","yr.gif");
boroughs["AQ"]=Array("harrow","Harrow","AQ","harrow/","qa.gif");
boroughs["AR"]=Array("havering","Havering","AR","havering/","kd.gif");
boroughs["ID"]=Array("heathrow","Heathrow Airport","ID","heathrow/","");
boroughs["AS"]=Array("hillingdon","Hillingdon","AS","hillingdon/","xh.gif");
boroughs["AT"]=Array("hounslow","Hounslow","AT","hounslow/","tx.gif");
boroughs["AU"]=Array("islington","Islington","AU","islington/","ni.gif");
boroughs["AW"]=Array("kensington & chelsea","Kensington & Chelsea","AW","kensingtonandchelsea/","bs.gif");
boroughs["AX"]=Array("kingston upon thames","Kingston upon Thames","AX","kingston/","vk.gif");
boroughs["AY"]=Array("lambeth","Lambeth","AY","lambeth/","lx.gif");
boroughs["AZ"]=Array("lewisham","Lewisham","AZ","lewisham/","pl.gif");
boroughs["BA"]=Array("merton","Merton","BA","merton/","vw.gif");
boroughs["BB"]=Array("newham","Newham","BB","newham/","kf.gif");
boroughs["BC"]=Array("redbridge","Redbridge","BC","redbridge/","ji.gif");
boroughs["BD"]=Array("richmond upon thames","Richmond upon Thames","BD","richmond/","tw.gif");
boroughs["BE"]=Array("southwark","Southwark","BE","southwark/","md.gif");
boroughs["BF"]=Array("sutton","Sutton","BF","sutton/","zt.gif");
boroughs["BG"]=Array("tower hamlets","Tower Hamlets","BG","towerhamlets/","ht.gif");
boroughs["BH"]=Array("waltham forest","Waltham Forest","BH","walthamforest/","jc.gif");
boroughs["BJ"]=Array("wandsworth","Wandsworth","BJ","wandsworth/","ww.gif");
boroughs["BK"]=Array("westminster","Westminster","BK","westminster/","cw.gif");
boroughs["SO"]=Array("squads etc","Squads etc","SO","","");


// javascript document - based on lowercase MPS codes eg lx
var boroughs2=new Array();
boroughs2["kg"]=Array("barking & dagenham","barking & dagenham");
boroughs2["sx"]=Array("barnet","barnet");
boroughs2["ry"]=Array("bexley","bexley");
boroughs2["qk"]=Array("brent","brent");
boroughs2["py"]=Array("bromley","bromley");
boroughs2["ek"]=Array("camden","camden");
boroughs2["zd"]=Array("croydon","croydon");
boroughs2["xb"]=Array("ealing","ealing");
boroughs2["ye"]=Array("enfield","enfield");
boroughs2["rg"]=Array("greenwich","greenwich");
boroughs2["gd"]=Array("hackney","hackney");
boroughs2["fh"]=Array("hammersmith & fulham","hammersmith & fulham");
boroughs2["yr"]=Array("haringey","haringey");
boroughs2["qa"]=Array("harrow","harrow");
boroughs2["kd"]=Array("havering","havering");
boroughs2["id"]=Array("heathrow","heathrow airport");
boroughs2["xh"]=Array("hillingdon","hillingdon");
boroughs2["tx"]=Array("hounslow","hounslow");
boroughs2["ni"]=Array("islington","islington");
boroughs2["bs"]=Array("kensington & chelsea","kensington & chelsea");
boroughs2["vk"]=Array("kingston upon thames","kingston upon thames");
boroughs2["lx"]=Array("lambeth","lambeth");
boroughs2["pl"]=Array("lewisham","lewisham");
boroughs2["vw"]=Array("merton","merton");
boroughs2["kf"]=Array("newham","newham");
boroughs2["ji"]=Array("redbridge","redbridge");
boroughs2["tw"]=Array("richmond upon thames","richmond upon thames");
boroughs2["md"]=Array("southwark","southwark");
boroughs2["zt"]=Array("sutton","sutton");
boroughs2["ht"]=Array("tower hamlets","tower hamlets");
boroughs2["jc"]=Array("waltham forest","waltham forest");
boroughs2["ww"]=Array("wandsworth","wandsworth");
boroughs2["cw"]=Array("westminster","westminster");
boroughs2["so"]=Array("squads etc","squads etc");
