
//function closeit(it) {
//   var it=document.getElementByID(it).style;
   
//}
   
function toggle(link,list){
   var listElementStyle=document.getElementById(list).style;
   if (listElementStyle.display=="none") {
      listElementStyle.display="block";
//      document.getElementById(link).title="Click here to collapse list of records in this category";
  //    document.getElementById(link).className="expanded";
      }
   else {
      listElementStyle.display="none";
   //   document.getElementById(link).title="Click here to expand list of records in this category";
   //   document.getElementById(link).className="collapsed";
   }
}

if (document.images) {
mapSmallBlank = new Image(); mapSmallBlank.src = 'images/mapSmallBlank.png'; mapBoroughMessage = 'Select a borough';
mapSmall01 = new Image(); mapSmall01.src = 'images/mapSmall01.png'; mapLarge01 = new Image(); mapLarge01.src = 'images/mapLarge01.png'; mapBorough01 = 'Bromley';
mapSmall02 = new Image(); mapSmall02.src = 'images/mapSmall02.png'; mapLarge02 = new Image(); mapLarge02.src = 'images/mapLarge02.png'; mapBorough02 = 'Croydon';  
mapSmall03 = new Image(); mapSmall03.src = 'images/mapSmall03.png'; mapLarge03 = new Image(); mapLarge03.src = 'images/mapLarge03.png'; mapBorough03 = 'Sutton'; 
mapSmall04 = new Image(); mapSmall04.src = 'images/mapSmall04.png'; mapLarge04 = new Image(); mapLarge04.src = 'images/mapLarge04.png'; mapBorough04 = 'Lewisham'; 
mapSmall05 = new Image(); mapSmall05.src = 'images/mapSmall05.png'; mapLarge05 = new Image(); mapLarge05.src = 'images/mapLarge05.png'; mapBorough05 = 'Bexley'; 
mapSmall06 = new Image(); mapSmall06.src = 'images/mapSmall06.png'; mapLarge06 = new Image(); mapLarge06.src = 'images/mapLarge06.png'; mapBorough06 = 'Greenwich'; 
mapSmall07 = new Image(); mapSmall07.src = 'images/mapSmall07.png'; mapLarge07 = new Image(); mapLarge07.src = 'images/mapLarge07.png'; mapBorough07 = 'Havering'; 
mapSmall08 = new Image(); mapSmall08.src = 'images/mapSmall08.png'; mapLarge08 = new Image(); mapLarge08.src = 'images/mapLarge08.png'; mapBorough08 = 'Newham';
mapSmall09 = new Image(); mapSmall09.src = 'images/mapSmall09.png'; mapLarge09 = new Image(); mapLarge09.src = 'images/mapLarge09.png'; mapBorough09 = 'Barking';
mapSmall10 = new Image(); mapSmall10.src = 'images/mapSmall10.png'; mapLarge10 = new Image(); mapLarge10.src = 'images/mapLarge10.png'; mapBorough10 = 'Redbridge';
mapSmall11 = new Image(); mapSmall11.src = 'images/mapSmall11.png'; mapLarge11 = new Image(); mapLarge11.src = 'images/mapLarge11.png'; mapBorough11 = 'Waltham Forest';
mapSmall12 = new Image(); mapSmall12.src = 'images/mapSmall12.png'; mapLarge12 = new Image(); mapLarge12.src = 'images/mapLarge12.png'; mapBorough12 = 'Enfield';
mapSmall13 = new Image(); mapSmall13.src = 'images/mapSmall13.png'; mapLarge13 = new Image(); mapLarge13.src = 'images/mapLarge13.png'; mapBorough13 = 'Barnet';
mapSmall14 = new Image(); mapSmall14.src = 'images/mapSmall14.png'; mapLarge14 = new Image(); mapLarge14.src = 'images/mapLarge14.png'; mapBorough14 = 'Hillingdon';
mapSmall15 = new Image(); mapSmall15.src = 'images/mapSmall15.png'; mapLarge15 = new Image(); mapLarge15.src = 'images/mapLarge15.png'; mapBorough15 = 'Harrow';
mapSmall16 = new Image(); mapSmall16.src = 'images/mapSmall16.png'; mapLarge16 = new Image(); mapLarge16.src = 'images/mapLarge16.png'; mapBorough16 = 'Brent';
mapSmall17 = new Image(); mapSmall17.src = 'images/mapSmall17.png'; mapLarge17 = new Image(); mapLarge17.src = 'images/mapLarge17.png'; mapBorough17 = 'Ealing';
mapSmall18 = new Image(); mapSmall18.src = 'images/mapSmall18.png'; mapLarge18 = new Image(); mapLarge18.src = 'images/mapLarge18.png'; mapBorough18 = 'Hounslow';
mapSmall19 = new Image(); mapSmall19.src = 'images/mapSmall19.png'; mapLarge19 = new Image(); mapLarge19.src = 'images/mapLarge19.png'; mapBorough19 = 'Richmond-upon-Thames';
mapSmall20 = new Image(); mapSmall20.src = 'images/mapSmall20.png'; mapLarge20 = new Image(); mapLarge20.src = 'images/mapLarge20.png'; mapBorough20 = 'Kingston-upon-Thames';
mapSmall21 = new Image(); mapSmall21.src = 'images/mapSmall21.png'; mapLarge21 = new Image(); mapLarge21.src = 'images/mapLarge21.png'; mapBorough21 = 'Merton';
mapSmall22 = new Image(); mapSmall22.src = 'images/mapSmall22.png'; mapLarge22 = new Image(); mapLarge22.src = 'images/mapLarge22.png'; mapBorough22 = 'Wandsworth';
mapSmall23 = new Image(); mapSmall23.src = 'images/mapSmall23.png'; mapLarge23 = new Image(); mapLarge23.src = 'images/mapLarge23.png'; mapBorough23 = 'Lambeth';
mapSmall24 = new Image(); mapSmall24.src = 'images/mapSmall24.png'; mapLarge24 = new Image(); mapLarge24.src = 'images/mapLarge24.png'; mapBorough24 = 'Southwark';
mapSmall25 = new Image(); mapSmall25.src = 'images/mapSmall25.png'; mapLarge25 = new Image(); mapLarge25.src = 'images/mapLarge25.png'; mapBorough25 = 'Hammersmith';
mapSmall26 = new Image(); mapSmall26.src = 'images/mapSmall26.png'; mapLarge26 = new Image(); mapLarge26.src = 'images/mapLarge26.png'; mapBorough26 = 'Kensington and Chelsea';
mapSmall27 = new Image(); mapSmall27.src = 'images/mapSmall27.png'; mapLarge27 = new Image(); mapLarge27.src = 'images/mapLarge27.png'; mapBorough27 = 'Richmond'; // error!
mapSmall28 = new Image(); mapSmall28.src = 'images/mapSmall28.png'; mapLarge28 = new Image(); mapLarge28.src = 'images/mapLarge28.png'; mapBorough28 = 'City of Westminster';
mapSmall29 = new Image(); mapSmall29.src = 'images/mapSmall29.png'; mapLarge29 = new Image(); mapLarge29.src = 'images/mapLarge29.png'; mapBorough29 = 'Camden';
mapSmall30 = new Image(); mapSmall30.src = 'images/mapSmall30.png'; mapLarge30 = new Image(); mapLarge30.src = 'images/mapLarge30.png'; mapBorough30 = 'Haringey';
mapSmall31 = new Image(); mapSmall31.src = 'images/mapSmall31.png'; mapLarge31 = new Image(); mapLarge31.src = 'images/mapLarge31.png'; mapBorough31 = 'Islington';
mapSmall32 = new Image(); mapSmall32.src = 'images/mapSmall32.png'; mapLarge32 = new Image(); mapLarge32.src = 'images/mapLarge32.png'; mapBorough32 = 'Tower Hamlets';
mapSmall33 = new Image(); mapSmall33.src = 'images/mapSmall33.png'; mapLarge33 = new Image(); mapLarge33.src = 'images/mapLarge33.png'; mapBorough33 = 'Hackney';
mapSmall34 = new Image(); mapSmall34.src = 'images/mapSmall34.png'; mapLarge34 = new Image(); mapLarge34.src = 'images/mapLarge34.png'; mapBorough34 = 'City of London';
}