//<![CDATA[
		   
		function loadMap() {
		var map = new GMap(document.getElementById("map"));
		map.addControl(new GSmallMapControl() );
		map.addControl(new GMapTypeControl());
		map.centerAndZoom(new GPoint(-105.908, 38.800), 10);   
		   
		var icon = new GIcon();
		icon.image = "img/pin.png";
		icon.shadow = "img/shadow.png";
		icon.iconSize = new GSize(12, 25);
		icon.shadowSize = new GSize(30, 25);
		icon.iconAnchor = new GPoint(6, 20);
		icon.infoWindowAnchor = new GPoint(5, 1);
		
		var DENVER = '<div class="map-info"><h4>Denver</h4>Day 1 : 24th July</div>';
		var BUFFALO_CREEK = '<div class="map-info"><h4>Buffalo Creek</h4>Day 3 : 26th July</div>';
		var BAILEY = '<div class="map-info"><h4>Bailey</h4>Day 4 : 27th July</div>';
		var BRECKENRIDGE = '<div class="map-info"><h4>Breckenridge</h4>Day 4 : 27th July</div>';
		var FRISCO = '<div class="map-info"><h4>Frisco</h4>Day 5 : 28th July</div>';
		var LEADVILLE = '<div class="map-info"><h4>Leadville</h4>Day 6 : 29th July</div>';
		var ASPEN = '<div class="map-info"><h4>Aspen</h4>Day 7 : 30th July</div>';
		var CRESTED_BUTTE = '<div class="map-info"><h4>Crested butte</h4>Day 9 : 1st August</div>';
		var GUNNISON = '<div class="map-info"><h4>Gunnison</h4>Day 10 : 2nd August</div>';
		var LAKE_CITY = '<div class="map-info"><h4>Lake City</h4>Day 11 : 3rd August</div>';
		var TELLURIDE = '<div class="map-info"><h4>Telluride</h4>Day 12 : 4th August</div>';
		var OURAY = '<div class="map-info"><h4>Ouray</h4>Day 15 : 7th August</div>';
		var DOYLEVILLE = '<div class="map-info"><h4>Doyleville</h4>Day 16 : 8th August</div>';
		var BUENA_VISTA = '<div class="map-info"><h4>Buena Vista</h4>Day 18 : 10th August</div>';
		var SEDALIA = '<div class="map-info"><h4>Sedalia</h4>Day 22 : 14th August</div>';

		var markerDENVER = new GMarker(new GPoint(-104.8798, 39.7725), icon);
      	map.addOverlay(markerDENVER);
      	GEvent.addListener(markerDENVER, "click", function() {
        markerDENVER.openInfoWindowHtml(DENVER);
		});
		
		var polyline = new GPolyline([new GPoint(-104.8798, 39.7725), 
		new GPoint(-105.27, 39.39)],"#ff0000", 2); 
		map.addOverlay(polyline); 
		
		var markerBUFFALO = new GMarker(new GPoint(-105.27, 39.39), icon);
      	map.addOverlay(markerBUFFALO);
      	GEvent.addListener(markerBUFFALO, "click", function() {
        markerBUFFALO.openInfoWindowHtml(BUFFALO_CREEK);
      	});
      	
		var polyline = new GPolyline([new GPoint(-105.27, 39.39), 
		new GPoint(-105.4712, 39.4612)],"#ff0000", 2); 
		map.addOverlay(polyline);
		
      	var markerBAILEY = new GMarker(new GPoint(-105.4712, 39.4612), icon);
      	map.addOverlay(markerBAILEY);
      	GEvent.addListener(markerBAILEY, "click", function() {
        markerBAILEY.openInfoWindowHtml(BAILEY);
      	});
		
		var polyline = new GPolyline([new GPoint(-105.4712, 39.4612), 
		new GPoint(-106.0463, 39.4982)],"#ff0000", 2); 
		map.addOverlay(polyline);
      	
      	var markerBRECKENRIDGE = new GMarker(new GPoint(-106.0463, 39.4982), icon);
      	map.addOverlay(markerBRECKENRIDGE);
      	GEvent.addListener(markerBRECKENRIDGE, "click", function() {
        markerBRECKENRIDGE.openInfoWindowHtml(BRECKENRIDGE);
      	});
		
		var polyline = new GPolyline([new GPoint(-106.0463, 39.4982), 
		new GPoint(-106.0965, 39.576)],"#ff0000", 2); 
		map.addOverlay(polyline);
		
		var markerFRISCO = new GMarker(new GPoint(-106.0965, 39.576), icon);
      	map.addOverlay(markerFRISCO);
      	GEvent.addListener(markerFRISCO, "click", function() {
        markerFRISCO.openInfoWindowHtml(FRISCO);
      	});
		
		var polyline = new GPolyline([new GPoint(-106.0965, 39.576), 
		new GPoint(-106.2918, 39.2486)],"#ff0000", 2); 
		map.addOverlay(polyline);
		
		var markerLEADVILLE = new GMarker(new GPoint(-106.2918, 39.2486), icon);
      	map.addOverlay(markerLEADVILLE);
      	GEvent.addListener(markerLEADVILLE, "click", function() {
        markerLEADVILLE.openInfoWindowHtml(LEADVILLE);
      	});
		
		var polyline = new GPolyline([new GPoint(-106.2918, 39.2486), 
		new GPoint(-106.8276, 39.1922)],"#ff0000", 2); 
		map.addOverlay(polyline);
		
		var markerASPEN = new GMarker(new GPoint(-106.8276, 39.1922), icon);
      	map.addOverlay(markerASPEN);
      	GEvent.addListener(markerASPEN, "click", function() {
        markerASPEN.openInfoWindowHtml(ASPEN);
      	});
		
		var polyline = new GPolyline([new GPoint(-106.8276, 39.1922), 
		new GPoint(-106.981, 38.8689)],"#ff0000", 2); 
		map.addOverlay(polyline);
		
		var markerCRESTED = new GMarker(new GPoint(-106.981, 38.8689), icon);
      	map.addOverlay(markerCRESTED);
      	GEvent.addListener(markerCRESTED, "click", function() {
        markerCRESTED.openInfoWindowHtml(CRESTED_BUTTE);
      	});
		
		var polyline = new GPolyline([new GPoint(-106.981, 38.8689), 
		new GPoint(-106.9269, 38.5455)],"#ff0000", 2); 
		map.addOverlay(polyline);
		
		var markerGUNNISON = new GMarker(new GPoint(-106.9269, 38.5455), icon);
      	map.addOverlay(markerGUNNISON);
      	GEvent.addListener(markerGUNNISON, "click", function() {
        markerGUNNISON.openInfoWindowHtml(GUNNISON);
      	});
		
		var polyline = new GPolyline([new GPoint(-106.9269, 38.5455), 
		new GPoint(-107.3154, 38.0299)],"#ff0000", 2); 
		map.addOverlay(polyline);
		
		var markerLAKE_CITY = new GMarker(new GPoint(-107.3154, 38.0299), icon);
      	map.addOverlay(markerLAKE_CITY);
      	GEvent.addListener(markerLAKE_CITY, "click", function() {
        markerLAKE_CITY.openInfoWindowHtml(LAKE_CITY);
      	});
		
		var polyline = new GPolyline([new GPoint(-107.3154, 38.0299), 
		new GPoint(-107.8118, 37.9374)],"#ff0000", 2); 
		map.addOverlay(polyline);
		
		var markerTELLURIDE = new GMarker(new GPoint(-107.8118, 37.9374), icon);
      	map.addOverlay(markerTELLURIDE);
      	GEvent.addListener(markerTELLURIDE, "click", function() {
        markerTELLURIDE.openInfoWindowHtml(TELLURIDE);
      	});
		
		var polyline = new GPolyline([new GPoint(-107.8118, 37.9374), 
		new GPoint(-107.6715, 38.0226)],"#ff0000", 2); 
		map.addOverlay(polyline);
		
		var markerOURAY = new GMarker(new GPoint(-107.6715, 38.0226), icon);
      	map.addOverlay(markerOURAY);
      	GEvent.addListener(markerOURAY, "click", function() {
        markerOURAY.openInfoWindowHtml(OURAY);
      	});
		
		var polyline = new GPolyline([new GPoint(-107.6715, 38.0226), 
		new GPoint(-106.613, 38.4556)],"#ff0000", 2); 
		map.addOverlay(polyline);
		
		var markerDOYLEVILLE = new GMarker(new GPoint(-106.613, 38.4556), icon);
      	map.addOverlay(markerDOYLEVILLE);
      	GEvent.addListener(markerDOYLEVILLE, "click", function() {
        markerDOYLEVILLE.openInfoWindowHtml(DOYLEVILLE);
      	});
		
		var polyline = new GPolyline([new GPoint(-106.613, 38.4556), 
		new GPoint(-106.1326, 38.8418)],"#ff0000", 2); 
		map.addOverlay(polyline);
		
		var markerBUENA_VISTA = new GMarker(new GPoint(-106.1326, 38.8418), icon);
      	map.addOverlay(markerBUENA_VISTA);
      	GEvent.addListener(markerBUENA_VISTA, "click", function() {
        markerBUENA_VISTA.openInfoWindowHtml(BUENA_VISTA);
      	});
		
		var polyline = new GPolyline([new GPoint(-106.1326, 38.8418), 
		new GPoint(-104.9761, 39.4257)],"#ff0000", 2); 
		map.addOverlay(polyline);
		
		var markerSEDALIA = new GMarker(new GPoint(-104.9761, 39.4257), icon);
      	map.addOverlay(markerSEDALIA);
      	GEvent.addListener(markerSEDALIA, "click", function() {
        markerSEDALIA.openInfoWindowHtml(SEDALIA);
      	});
		
		var polyline = new GPolyline([new GPoint(-104.9761, 39.4257), 
		new GPoint(-104.8798, 39.7725)],"#ff0000", 2); 
		map.addOverlay(polyline);
 
    }
    loadMap();
	
 //]]>	
	