/* author: UUconstruct */
/* Creation date: 30/09/2006 */
	var map;
	var estl;
    function load() {
      if (GBrowserIsCompatible() && document.getElementById("map")) {
        map = new GMap2(document.getElementById("map"));
        map.setCenter(new GLatLng(52.830, -1.3), 6);
		map.enableDoubleClickZoom();
		map.enableContinuousZoom();
		map.addControl(new GSmallMapControl());
		map.addControl(new GMapTypeControl());
		map.addControl(new GOverviewMapControl(new GSize(90,90)));
		var heathrow = new GMarker(new GLatLng(51.469, -0.456));
		var luton = new GMarker(new GLatLng(51.875, -0.373));
		var bristol = new GMarker(new GLatLng(51.383, -2.717));
		var gatwick = new GMarker(new GLatLng(51.150, -0.185));
		var eastmidlands = new GMarker(new GLatLng(52.830, -1.332));
		var manchester = new GMarker(new GLatLng(53.357, -2.272));
		var liverpool = new GMarker(new GLatLng(53.333, -2.852));
		var crowneplaza = new GMarker(new GLatLng(53.407, -2.997));
		var limestreet = new GMarker(new GLatLng(53.408, -2.978));
		var stgeorgeshall = new GMarker(new GLatLng(53.409, -2.980));
		var maritimemuseum = new GMarker(new GLatLng(53.401, -2.992));
		var thistlehotel = new GMarker(new GLatLng(53.407, -2.995));
		var expressinn = new GMarker(new GLatLng(53.399, -2.991));
		estl = new GMarker(new GLatLng(53.428, -2.523));
		var stansted = new GMarker(new GLatLng(51.886, 0.233));
//		var birmingham = new GMarker(new GLatLng(52.454, -1.748));
//		var blackpool = new GMarker(new GLatLng(53.772, -3.037));
//		var cardiff = new GMarker(new GLatLng(51.398, -3.347));
//		var sheffield = new GMarker(new GLatLng(53.478, -1.004));
//		var hull = new GMarker(new GLatLng(53.576, -0.349));
//		var leeds = new GMarker(new GLatLng(53.865, -1.658));
		map.addOverlay(heathrow);
		map.addOverlay(luton);
		map.addOverlay(bristol);
		map.addOverlay(gatwick);
		map.addOverlay(eastmidlands);
		map.addOverlay(manchester);
		map.addOverlay(liverpool);
		map.addOverlay(crowneplaza);
		map.addOverlay(limestreet);
		map.addOverlay(stgeorgeshall); 
		map.addOverlay(maritimemuseum);
		map.addOverlay(estl);
		map.addOverlay(stansted);
		map.addOverlay(thistlehotel);
		map.addOverlay(expressinn);
//		map.addOverlay(birmingham);
//		map.addOverlay(blackpool);
//		map.addOverlay(cardiff);
//		map.addOverlay(sheffield);
//		map.addOverlay(hull);
//		map.addOverlay(leeds);
		GEvent.addListener(heathrow, "click", function(){heathrow.openInfoWindowHtml("<b>Heathrow Airport<br />London</b><br />Website: <a href='http://www.heathrowairport.com/'>Heathrow Airport</a>");});
		GEvent.addListener(luton, "click", function(){luton.openInfoWindowHtml("<b>London Luton Airport</b><br />Website: <a href='http://www.london-luton.co.uk/en/'>Luton Airport</a>");});
		GEvent.addListener(eastmidlands, "click", function(){eastmidlands.openInfoWindowHtml("<b>East Midlands Airport</b><br />Website: <a href='http://www.nottinghamema.com/'>East Midlands Airport</a>");});
		GEvent.addListener(manchester, "click", function(){manchester.openInfoWindowHtml("<b>Manchester Airport</b><br />Website: <a href='http://www.manchesterairport.co.uk/'>Manchester<br />International Airport</a>");});
		GEvent.addListener(liverpool, "click", function(){liverpool.openInfoWindowHtml("<b>Liverpool Airport</b><br />Website: <a href='http://www.liverpooljohnlennonairport.com/'>John Lennon Airport</a>");});
		GEvent.addListener(crowneplaza, "click", function(){crowneplaza.openInfoWindowHtml("<b>Crowne Plaza Hotel<br />Symposium location<br />19th - 21st September</b><br /><br />Book accommodation through<br /><a href='http://www.visitliverpool.com/conferences/forthcoming-conferences'>Mersey Partnership</a><br />on-line hotel booking service,<br />which provides delegates with<br/>discounted accommodation<br/>for ESMATS 2007<br />&nbsp;<br/><a href='http://www.cpliverpool.com/'>Crowne Plaza Hotel website</a>");}); 
		GEvent.addListener(limestreet, "click", function(){limestreet.openInfoWindowHtml("<b>Lime Street Railway Station,<br />Liverpool</b>");});
		GEvent.addListener(stgeorgeshall, "click", function(){stgeorgeshall.openInfoWindowHtml("<b>St. Georges Hall, Liverpool<br />Symposium Dinner<br />Thursday 20th September</b><br />&nbsp;<br /><a href='http://www.visitliverpool.com/site/product-p8033'>St. George's Hall website</a>");}); 
		GEvent.addListener(maritimemuseum, "click", function(){maritimemuseum.openInfoWindowHtml("<b>Liverpool Maritime Museum<br />Cocktail reception<br />18th September</b><br />&nbsp;<br /><a href='http://www.liverpoolmuseums.org.uk/maritime/' >Maritime Museum website</a>");});
		GEvent.addListener(estl, "click", function(){estl.openInfoWindowHtml("<b>ESTL – ESR Technology Ltd, Warrington<br />optional industrial visit<br />Friday 21st September</b>");});
		GEvent.addListener(bristol, "click", function(){bristol.openInfoWindowHtml("<b>Bristol Airport</b><br />Website: <a href='http://www.bristolairport.co.uk/'>Bristol Airport</a>");});
		GEvent.addListener(gatwick, "click", function(){gatwick.openInfoWindowHtml("<b>Gatwick Airport</b><br />Website: <a href='http://www.gatwickairport.com/'>Gatwick Airport</a>");});
		GEvent.addListener(stansted, "click", function(){stansted.openInfoWindowHtml("<b>Stansted Airport</b><br />Website: <a href='http://www.stanstedairport.com/'>Stanstead Airport</a>");});
		GEvent.addListener(thistlehotel, "click", function(){thistlehotel.openInfoWindowHtml("<b>Thistle Hotel</b><br />Book through<br /><a href='http://www.visitliverpool.com/conferences/forthcoming-conferences'>Mersey Partnership </a><br />on-line hotel booking service,<br />which provides delegates with<br/>discounted accommodation<br/>for ESMATS 2007<br />&nbsp;");});
		GEvent.addListener(expressinn, "click", function(){expressinn.openInfoWindowHtml("<b>Holiday Inn Express</b><br />Book through<br /><a href='http://www.visitliverpool.com/conferences/forthcoming-conferences'>Mersey Partnership </a><br />on-line hotel booking service,<br />which provides delegates with<br/>discounted accommodation<br/>for ESMATS 2007<br />&nbsp;");});
//		GEvent.addListener(birmingham, "click", function(){birmingham.openInfoWindowHtml("<b>Birmingham Airport</b><br />Website: <a href='http://www.bhx.co.uk/'>Birmingham Airport</a>");});
//		GEvent.addListener(blackpool, "click", function(){blackpool.openInfoWindowHtml("<b>Blackpool Airport</b><br />Website: <a href='http://www.blackpoolinternational.com/'>Blackpool Airport</a>");});
//		GEvent.addListener(cardiff, "click", function(){cardiff.openInfoWindowHtml("<b>Cardiff Airport</b><br />Website: <a href='http://www.cwlfly.com/'>Cardiff Airport</a>");});
//		GEvent.addListener(sheffield, "click", function(){sheffield.openInfoWindowHtml("<b>Doncaster Sheffield Airport</b><br />Website: <a href='http://www.robinhoodairport.com/'>Doncaster Sheffield Airport</a>");});
//		GEvent.addListener(hull, "click", function(){hull.openInfoWindowHtml("<b>Humberside Airport</b><br />Website: <a href='http://www.humberside-airport.co.uk/'>Humberside Airport</a>");});
//		GEvent.addListener(leeds, "click", function(){leeds.openInfoWindowHtml("<b>Leeds Airport</b><br />Website: <a href='http://www.lbia.co.uk/index.php'>Leeds Airport</a>");});
      }
    }