function load() {
 if (GBrowserIsCompatible()) {
  var map = new GMap2(document.getElementById("map"));
  map.addControl(new GSmallMapControl());
  map.addControl(new GMapTypeControl());
  map.setCenter(new GLatLng(53.431423950018946,-1.334238052368164), 14);

  var iconRed = new GIcon();
  iconRed.image = "http://labs.google.com/ridefinder/images/mm_20_red.png";
  iconRed.shadow = "http://labs.google.com/ridefinder/images/mm_20_shadow.png";
  iconRed.iconSize = new GSize(12, 20);
  iconRed.shadowSize = new GSize(22, 20);
  iconRed.iconAnchor = new GPoint(6, 20);
  iconRed.infoWindowAnchor = new GPoint(5, 1);

  var iconYellow = new GIcon();
  iconYellow.image = "http://labs.google.com/ridefinder/images/mm_20_yellow.png";
  iconYellow.shadow = "http://labs.google.com/ridefinder/images/mm_20_shadow.png";
  iconYellow.iconSize = new GSize(12, 20);
  iconYellow.shadowSize = new GSize(22, 20);
  iconYellow.iconAnchor = new GPoint(6, 20);
  iconYellow.infoWindowAnchor = new GPoint(5, 1);

  function createMarker(point,school,icon) {
   var marker = new GMarker(point,icon);
   GEvent.addListener(marker, "mouseover", function() {
   marker.openInfoWindowHtml(createHTML(school));
   });
   return marker;
  }

  function createHTML(school) {
   var thehtml = '';

   if (school == 'Clifton Partnership EiCAZ') {
    thehtml = '<DIV CLASS="PlaceTitle">' + school + '</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">The Caretakers House</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">St Leonards Road</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">Rotherham</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">South Yorkshire</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">S65 1PD</DIV>';
   }
   
   if (school == 'Arnold Centre') {
    thehtml = '<DIV CLASS="PlaceTitle">' + school + '</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">Goldsmith Road</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">Rotherham</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">South Yorkshire</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">S65 2LY</DIV>';
   }

   if (school == 'Badsley Moor Infant School') {
    thehtml = '<DIV CLASS="PlaceTitle"><BR>' + school + '</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">Badsley Moor Lane</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">Rotherham</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">South Yorkshire</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">S65 2QS</DIV>';
   }

   if (school == 'Badsley Moor Junior School') {
    thehtml = '<DIV CLASS="PlaceTitle"><BR>' + school + '</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">Tennyson Drive</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">Rotherham</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">South Yorkshire</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">S65 2QS</DIV>';
   }

   if (school == 'Clifton Community Arts School') {
    thehtml = '<DIV CLASS="PlaceTitle"><BR>' + school + '</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">Middle Lane</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">Rotherham</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">South Yorkshire</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">S65 2SN</DIV>';
   }

   if (school == 'Coleridge Primary School') {
    thehtml = '<DIV CLASS="PlaceTitle"><BR>' + school + '</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">Coleridge Road</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">Rotherham</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">South Yorkshire</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">S65 1LW</DIV>';
   }

   if (school == 'East Dene Junior &amp; Infant School') {
    thehtml = '<DIV CLASS="PlaceTitle"><BR>' + school + '</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">Doncaster Road</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">Rotherham</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">South Yorkshire</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">S65 2DF</DIV>';
   }

   if (school == 'Herringthorpe Infant School') {
    thehtml = '<DIV CLASS="PlaceTitle"><BR>' + school + '</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">Chatterton Drive</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">Rotherham</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">South Yorkshire</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">S65 2JW</DIV>';
   }

   if (school == 'Herringthorpe Junior School') {
    thehtml = '<DIV CLASS="PlaceTitle"><BR>' + school + '</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">Chatterton Drive</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">Rotherham</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">South Yorkshire</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">S65 2JW</DIV>';
   }

   if (school == 'St Anns Junior &amp; Infant School') {
    thehtml = '<DIV CLASS="PlaceTitle"><BR>' + school + '</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">St Leonards Road</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">Rotherham</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">South Yorkshire</DIV>';
    thehtml+= '<DIV CLASS="PlaceText">S65 1PD</DIV>';
   }

   return thehtml;
  }

  // Add markers
  var point = new GLatLng(53.43486727603634,-1.3464968566894531);
  map.addOverlay(createMarker(point,'Clifton Partnership EiCAZ',iconYellow));

  var point = new GLatLng(53.430196654091624,-1.3268351554870605);
  map.addOverlay(createMarker(point,'Arnold Centre',iconRed));

  var point = new GLatLng(53.429825901477315,-1.3281011581420898);
  map.addOverlay(createMarker(point,'Badsley Moor Infant School',iconRed));

  var point = new GLatLng(53.429097171396734,-1.3282084465026855);
  map.addOverlay(createMarker(point,'Badsley Moor Junior School',iconRed));

  var point = new GLatLng(53.43695912563961,-1.3377571105957031);
  map.addOverlay(createMarker(point,'Coleridge Primary School',iconRed));

  var point = new GLatLng(53.43258729156601,-1.339280605316162);
  map.addOverlay(createMarker(point,'Clifton Community Arts School',iconRed));

  var point = new GLatLng(53.436077125155656,-1.3346457481384277);
  map.addOverlay(createMarker(point,'East Dene Junior &amp; Infant School',iconRed));

  var point = new GLatLng(53.43526727603634,-1.3453968566894531);
  map.addOverlay(createMarker(point,'St Anns Junior &amp; Infant School',iconRed));

  var point = new GLatLng(53.42142557050563,-1.3293671607971191);
  map.addOverlay(createMarker(point,'Herringthorpe Junior School',iconRed));

  var point = new GLatLng(53.42089540108988,-1.328595092010498);
  map.addOverlay(createMarker(point,'Herringthorpe Infant School',iconRed));
 }
}