// JavaScript Document var styleArray = [ { "featureType": "water", "stylers": [ { "visibility": "on" }, { "color": "#efece3" } ] },{ "featureType": "landscape", "stylers": [ { "visibility": "on" }, { "color": "#408080" } ] },{ "elementType": "geometry.stroke", "stylers": [ { "visibility": "on" }, { "color": "#efece3" }, { "weight": "1" } ] },{ "elementType": "labels", "stylers": [ { "visibility": "simplified" } ] } ]; function initialize() { var myCenter = new google.maps.LatLng(23.4905831 , 90.1002603); var mapOptions = { zoom: 3, center: myCenter, disableDefaultUI: true, scrollwheel: false, mapTypeId: google.maps.MapTypeId.ROADMAP }; var map = new google.maps.Map(document.getElementById("mod-map"), mapOptions); map.infobubble = new google.maps.InfoWindow({ content:"info window" }); map.setOptions({styles: styleArray}); var sidebar_html = ''; var markers = new Array();; var myLatlng185 = new google.maps.LatLng(0.2136715,16.98485); var image = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_pointer.png', new google.maps.Size(13,13), null, new google.maps.Point(6,6)); var image = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_pointer_blank.png', new google.maps.Size(13,13), null, new google.maps.Point(6,6));var marker185 = new MarkerWithLabel({ position: myLatlng185, map: map, icon:image, title:"Africa" }); markers.push('marker185'); google.maps.event.addListener(marker185, 'click', function(e) { map.panTo(myLatlng185); map.panBy(50,0); toggleMarkers('marker'+185); marker185.setZIndex(google.maps.Marker.MAX_ZINDEX + 1); toggleMarkers('marker'+185); highlightLabel(185); marker185.setIcon(radar); }); sidebar_html += '
  • Africa
  • '; var myLatlng82 = new google.maps.LatLng(13.03659,101.4925); var image = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_pointer.png', new google.maps.Size(13,13), null, new google.maps.Point(6,6)); var image = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_pointer_blank.png', new google.maps.Size(13,13), null, new google.maps.Point(6,6));var marker82 = new MarkerWithLabel({ position: myLatlng82, map: map, icon:image, title:"Asia" }); markers.push('marker82'); google.maps.event.addListener(marker82, 'click', function(e) { map.panTo(myLatlng82); map.panBy(50,0); toggleMarkers('marker'+82); marker82.setZIndex(google.maps.Marker.MAX_ZINDEX + 1); toggleMarkers('marker'+82); highlightLabel(82); marker82.setIcon(radar); }); sidebar_html += '
  • Asia
  • '; var myLatlng191 = new google.maps.LatLng(23.4905831,90.1002603); var image = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_pointer.png', new google.maps.Size(13,13), null, new google.maps.Point(6,6)); var marker191 = new MarkerWithLabel({ position: myLatlng191, map: map, icon:image, title:"Bangladesh" }); markers.push('marker191'); google.maps.event.addListener(marker191, 'click', function(e) { map.panTo(myLatlng191); map.panBy(50,0); toggleMarkers('marker'+191); marker191.setZIndex(google.maps.Marker.MAX_ZINDEX + 1); toggleMarkers('marker'+191); highlightLabel(191); marker191.setIcon(radar); }); sidebar_html += '
  • Bangladesh
  • '; var myLatlng189 = new google.maps.LatLng(12.2472489,-1.55568); var image = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_pointer.png', new google.maps.Size(13,13), null, new google.maps.Point(6,6)); var marker189 = new MarkerWithLabel({ position: myLatlng189, map: map, icon:image, title:"Burkina Faso" }); markers.push('marker189'); google.maps.event.addListener(marker189, 'click', function(e) { map.panTo(myLatlng189); map.panBy(50,0); toggleMarkers('marker'+189); marker189.setZIndex(google.maps.Marker.MAX_ZINDEX + 1); toggleMarkers('marker'+189); highlightLabel(189); marker189.setIcon(radar); }); sidebar_html += '
  • Burkina Faso
  • '; var myLatlng183 = new google.maps.LatLng(11.9879666,104.9806145); var image = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_pointer.png', new google.maps.Size(13,13), null, new google.maps.Point(6,6)); var marker183 = new MarkerWithLabel({ position: myLatlng183, map: map, icon:image, title:"Cambodia" }); markers.push('marker183'); google.maps.event.addListener(marker183, 'click', function(e) { map.panTo(myLatlng183); map.panBy(50,0); toggleMarkers('marker'+183); marker183.setZIndex(google.maps.Marker.MAX_ZINDEX + 1); toggleMarkers('marker'+183); highlightLabel(183); marker183.setIcon(radar); }); sidebar_html += '
  • Cambodia
  • '; var myLatlng187 = new google.maps.LatLng(15.4461015,18.7350005); var image = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_pointer.png', new google.maps.Size(13,13), null, new google.maps.Point(6,6)); var marker187 = new MarkerWithLabel({ position: myLatlng187, map: map, icon:image, title:"Chad" }); markers.push('marker187'); google.maps.event.addListener(marker187, 'click', function(e) { map.panTo(myLatlng187); map.panBy(50,0); toggleMarkers('marker'+187); marker187.setZIndex(google.maps.Marker.MAX_ZINDEX + 1); toggleMarkers('marker'+187); highlightLabel(187); marker187.setIcon(radar); }); sidebar_html += '
  • Chad
  • '; var myLatlng76 = new google.maps.LatLng(9.1473,40.49305); var image = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_pointer.png', new google.maps.Size(13,13), null, new google.maps.Point(6,6)); var marker76 = new MarkerWithLabel({ position: myLatlng76, map: map, icon:image, title:"Ethiopia" }); markers.push('marker76'); google.maps.event.addListener(marker76, 'click', function(e) { map.panTo(myLatlng76); map.panBy(50,0); toggleMarkers('marker'+76); marker76.setZIndex(google.maps.Marker.MAX_ZINDEX + 1); toggleMarkers('marker'+76); highlightLabel(76); marker76.setIcon(radar); }); sidebar_html += '
  • Ethiopia
  • '; var myLatlng77 = new google.maps.LatLng(-18.67028,35.530151); var image = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_pointer.png', new google.maps.Size(13,13), null, new google.maps.Point(6,6)); var marker77 = new MarkerWithLabel({ position: myLatlng77, map: map, icon:image, title:"Mozambique" }); markers.push('marker77'); google.maps.event.addListener(marker77, 'click', function(e) { map.panTo(myLatlng77); map.panBy(50,0); toggleMarkers('marker'+77); marker77.setZIndex(google.maps.Marker.MAX_ZINDEX + 1); toggleMarkers('marker'+77); highlightLabel(77); marker77.setIcon(radar); }); sidebar_html += '
  • Mozambique
  • '; var myLatlng182 = new google.maps.LatLng(19.0734474,96.6710399); var image = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_pointer.png', new google.maps.Size(13,13), null, new google.maps.Point(6,6)); var marker182 = new MarkerWithLabel({ position: myLatlng182, map: map, icon:image, title:"Myanmar" }); markers.push('marker182'); google.maps.event.addListener(marker182, 'click', function(e) { map.panTo(myLatlng182); map.panBy(50,0); toggleMarkers('marker'+182); marker182.setZIndex(google.maps.Marker.MAX_ZINDEX + 1); toggleMarkers('marker'+182); highlightLabel(182); marker182.setIcon(radar); }); sidebar_html += '
  • Myanmar
  • '; var myLatlng78 = new google.maps.LatLng(9.08457,8.67425); var image = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_pointer.png', new google.maps.Size(13,13), null, new google.maps.Point(6,6)); var marker78 = new MarkerWithLabel({ position: myLatlng78, map: map, icon:image, title:"Nigeria" }); markers.push('marker78'); google.maps.event.addListener(marker78, 'click', function(e) { map.panTo(myLatlng78); map.panBy(50,0); toggleMarkers('marker'+78); marker78.setZIndex(google.maps.Marker.MAX_ZINDEX + 1); toggleMarkers('marker'+78); highlightLabel(78); marker78.setIcon(radar); }); sidebar_html += '
  • Nigeria
  • '; var myLatlng79 = new google.maps.LatLng(7.7,28); var image = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_pointer.png', new google.maps.Size(13,13), null, new google.maps.Point(6,6)); var marker79 = new MarkerWithLabel({ position: myLatlng79, map: map, icon:image, title:"South Sudan" }); markers.push('marker79'); google.maps.event.addListener(marker79, 'click', function(e) { map.panTo(myLatlng79); map.panBy(50,0); toggleMarkers('marker'+79); marker79.setZIndex(google.maps.Marker.MAX_ZINDEX + 1); toggleMarkers('marker'+79); highlightLabel(79); marker79.setIcon(radar); }); sidebar_html += '
  • South Sudan
  • '; var myLatlng184 = new google.maps.LatLng(13.03887,101.490104); var image = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_pointer.png', new google.maps.Size(13,13), null, new google.maps.Point(6,6)); var marker184 = new MarkerWithLabel({ position: myLatlng184, map: map, icon:image, title:"Thailand" }); markers.push('marker184'); google.maps.event.addListener(marker184, 'click', function(e) { map.panTo(myLatlng184); map.panBy(50,0); toggleMarkers('marker'+184); marker184.setZIndex(google.maps.Marker.MAX_ZINDEX + 1); toggleMarkers('marker'+184); highlightLabel(184); marker184.setIcon(radar); }); sidebar_html += '
  • Thailand
  • '; var myLatlng181 = new google.maps.LatLng(1.36519,32.304649); var image = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_pointer.png', new google.maps.Size(13,13), null, new google.maps.Point(6,6)); var marker181 = new MarkerWithLabel({ position: myLatlng181, map: map, icon:image, title:"Uganda" }); markers.push('marker181'); google.maps.event.addListener(marker181, 'click', function(e) { map.panTo(myLatlng181); map.panBy(50,0); toggleMarkers('marker'+181); marker181.setZIndex(google.maps.Marker.MAX_ZINDEX + 1); toggleMarkers('marker'+181); highlightLabel(181); marker181.setIcon(radar); }); sidebar_html += '
  • Uganda
  • '; var myLatlng124 = new google.maps.LatLng(52.028308,-0.8817765); var image = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_pointer.png', new google.maps.Size(13,13), null, new google.maps.Point(6,6)); var image = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_pointer_blank.png', new google.maps.Size(13,13), null, new google.maps.Point(6,6));var marker124 = new MarkerWithLabel({ position: myLatlng124, map: map, icon:image, title:"UK" }); markers.push('marker124'); google.maps.event.addListener(marker124, 'click', function(e) { map.panTo(myLatlng124); map.panBy(50,0); toggleMarkers('marker'+124); marker124.setZIndex(google.maps.Marker.MAX_ZINDEX + 1); toggleMarkers('marker'+124); highlightLabel(124); marker124.setIcon(radar); }); sidebar_html += '
  • UK
  • '; var myLatlng186 = new google.maps.LatLng(35.8954674,-78.6496182); var image = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_pointer.png', new google.maps.Size(13,13), null, new google.maps.Point(6,6)); var image = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_pointer_blank.png', new google.maps.Size(13,13), null, new google.maps.Point(6,6));var marker186 = new MarkerWithLabel({ position: myLatlng186, map: map, icon:image, title:"US" }); markers.push('marker186'); google.maps.event.addListener(marker186, 'click', function(e) { map.panTo(myLatlng186); map.panBy(50,0); toggleMarkers('marker'+186); marker186.setZIndex(google.maps.Marker.MAX_ZINDEX + 1); toggleMarkers('marker'+186); highlightLabel(186); marker186.setIcon(radar); }); sidebar_html += '
  • US
  • '; document.getElementById("where-list").innerHTML = sidebar_html; var toggleMarkers = function(id) { if(id!=marker185) { marker185.setIcon(image); } if(id!=marker82) { marker82.setIcon(image); } if(id!=marker191) { marker191.setIcon(image); } if(id!=marker189) { marker189.setIcon(image); } if(id!=marker183) { marker183.setIcon(image); } if(id!=marker187) { marker187.setIcon(image); } if(id!=marker76) { marker76.setIcon(image); } if(id!=marker77) { marker77.setIcon(image); } if(id!=marker182) { marker182.setIcon(image); } if(id!=marker78) { marker78.setIcon(image); } if(id!=marker79) { marker79.setIcon(image); } if(id!=marker184) { marker184.setIcon(image); } if(id!=marker181) { marker181.setIcon(image); } if(id!=marker124) { marker124.setIcon(image); } if(id!=marker186) { marker186.setIcon(image); } } var highlightLabel = function(id) { $('.map-label').not('#map-label-'+id).animate({width : '0px'},400); $('.map-projects').not('#map-project-'+id).fadeOut(400); $('#map-label-'+id).delay(400).animate({width : '500px'},400, function() { $('#map-projects-'+id).fadeIn();}); $('#where-list li').not('#clicker'+id).removeClass('selected'); $('#clicker'+id).addClass('selected'); } var radar_large = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar_large.png', new google.maps.Size(140,140), null, new google.maps.Point(70,70)); var radar = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar.png', new google.maps.Size(112,113), null, new google.maps.Point(56,56)); var radar_blank = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar_blank.png', new google.maps.Size(140,140), null, new google.maps.Point(70,70)); google.maps.event.addDomListener(document.getElementById("clicker185"), 'click', function(e) { map.panTo(myLatlng185); map.panBy(50,0); marker185.setZIndex(google.maps.Marker.MAX_ZINDEX + 1); toggleMarkers('marker'+185); highlightLabel(185); marker186.setIcon(radar); }); var radar_large = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar_large.png', new google.maps.Size(140,140), null, new google.maps.Point(70,70)); var radar = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar.png', new google.maps.Size(112,113), null, new google.maps.Point(56,56)); var radar_blank = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar_blank.png', new google.maps.Size(140,140), null, new google.maps.Point(70,70)); google.maps.event.addDomListener(document.getElementById("clicker82"), 'click', function(e) { map.panTo(myLatlng82); map.panBy(50,0); marker82.setZIndex(google.maps.Marker.MAX_ZINDEX + 1); toggleMarkers('marker'+82); highlightLabel(82); marker186.setIcon(radar_large); }); var radar_large = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar_large.png', new google.maps.Size(140,140), null, new google.maps.Point(70,70)); var radar = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar.png', new google.maps.Size(112,113), null, new google.maps.Point(56,56)); var radar_blank = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar_blank.png', new google.maps.Size(140,140), null, new google.maps.Point(70,70)); google.maps.event.addDomListener(document.getElementById("clicker191"), 'click', function(e) { map.panTo(myLatlng191); map.panBy(50,0); marker191.setZIndex(google.maps.Marker.MAX_ZINDEX + 1); toggleMarkers('marker'+191); highlightLabel(191); marker186.setIcon(radar); }); var radar_large = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar_large.png', new google.maps.Size(140,140), null, new google.maps.Point(70,70)); var radar = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar.png', new google.maps.Size(112,113), null, new google.maps.Point(56,56)); var radar_blank = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar_blank.png', new google.maps.Size(140,140), null, new google.maps.Point(70,70)); google.maps.event.addDomListener(document.getElementById("clicker189"), 'click', function(e) { map.panTo(myLatlng189); map.panBy(50,0); marker189.setZIndex(google.maps.Marker.MAX_ZINDEX + 1); toggleMarkers('marker'+189); highlightLabel(189); marker186.setIcon(radar); }); var radar_large = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar_large.png', new google.maps.Size(140,140), null, new google.maps.Point(70,70)); var radar = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar.png', new google.maps.Size(112,113), null, new google.maps.Point(56,56)); var radar_blank = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar_blank.png', new google.maps.Size(140,140), null, new google.maps.Point(70,70)); google.maps.event.addDomListener(document.getElementById("clicker183"), 'click', function(e) { map.panTo(myLatlng183); map.panBy(50,0); marker183.setZIndex(google.maps.Marker.MAX_ZINDEX + 1); toggleMarkers('marker'+183); highlightLabel(183); marker186.setIcon(radar); }); var radar_large = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar_large.png', new google.maps.Size(140,140), null, new google.maps.Point(70,70)); var radar = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar.png', new google.maps.Size(112,113), null, new google.maps.Point(56,56)); var radar_blank = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar_blank.png', new google.maps.Size(140,140), null, new google.maps.Point(70,70)); google.maps.event.addDomListener(document.getElementById("clicker187"), 'click', function(e) { map.panTo(myLatlng187); map.panBy(50,0); marker187.setZIndex(google.maps.Marker.MAX_ZINDEX + 1); toggleMarkers('marker'+187); highlightLabel(187); marker186.setIcon(radar); }); var radar_large = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar_large.png', new google.maps.Size(140,140), null, new google.maps.Point(70,70)); var radar = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar.png', new google.maps.Size(112,113), null, new google.maps.Point(56,56)); var radar_blank = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar_blank.png', new google.maps.Size(140,140), null, new google.maps.Point(70,70)); google.maps.event.addDomListener(document.getElementById("clicker76"), 'click', function(e) { map.panTo(myLatlng76); map.panBy(50,0); marker76.setZIndex(google.maps.Marker.MAX_ZINDEX + 1); toggleMarkers('marker'+76); highlightLabel(76); marker186.setIcon(radar); }); var radar_large = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar_large.png', new google.maps.Size(140,140), null, new google.maps.Point(70,70)); var radar = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar.png', new google.maps.Size(112,113), null, new google.maps.Point(56,56)); var radar_blank = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar_blank.png', new google.maps.Size(140,140), null, new google.maps.Point(70,70)); google.maps.event.addDomListener(document.getElementById("clicker77"), 'click', function(e) { map.panTo(myLatlng77); map.panBy(50,0); marker77.setZIndex(google.maps.Marker.MAX_ZINDEX + 1); toggleMarkers('marker'+77); highlightLabel(77); marker186.setIcon(radar); }); var radar_large = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar_large.png', new google.maps.Size(140,140), null, new google.maps.Point(70,70)); var radar = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar.png', new google.maps.Size(112,113), null, new google.maps.Point(56,56)); var radar_blank = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar_blank.png', new google.maps.Size(140,140), null, new google.maps.Point(70,70)); google.maps.event.addDomListener(document.getElementById("clicker182"), 'click', function(e) { map.panTo(myLatlng182); map.panBy(50,0); marker182.setZIndex(google.maps.Marker.MAX_ZINDEX + 1); toggleMarkers('marker'+182); highlightLabel(182); marker186.setIcon(radar); }); var radar_large = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar_large.png', new google.maps.Size(140,140), null, new google.maps.Point(70,70)); var radar = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar.png', new google.maps.Size(112,113), null, new google.maps.Point(56,56)); var radar_blank = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar_blank.png', new google.maps.Size(140,140), null, new google.maps.Point(70,70)); google.maps.event.addDomListener(document.getElementById("clicker78"), 'click', function(e) { map.panTo(myLatlng78); map.panBy(50,0); marker78.setZIndex(google.maps.Marker.MAX_ZINDEX + 1); toggleMarkers('marker'+78); highlightLabel(78); marker186.setIcon(radar); }); var radar_large = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar_large.png', new google.maps.Size(140,140), null, new google.maps.Point(70,70)); var radar = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar.png', new google.maps.Size(112,113), null, new google.maps.Point(56,56)); var radar_blank = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar_blank.png', new google.maps.Size(140,140), null, new google.maps.Point(70,70)); google.maps.event.addDomListener(document.getElementById("clicker79"), 'click', function(e) { map.panTo(myLatlng79); map.panBy(50,0); marker79.setZIndex(google.maps.Marker.MAX_ZINDEX + 1); toggleMarkers('marker'+79); highlightLabel(79); marker186.setIcon(radar); }); var radar_large = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar_large.png', new google.maps.Size(140,140), null, new google.maps.Point(70,70)); var radar = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar.png', new google.maps.Size(112,113), null, new google.maps.Point(56,56)); var radar_blank = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar_blank.png', new google.maps.Size(140,140), null, new google.maps.Point(70,70)); google.maps.event.addDomListener(document.getElementById("clicker184"), 'click', function(e) { map.panTo(myLatlng184); map.panBy(50,0); marker184.setZIndex(google.maps.Marker.MAX_ZINDEX + 1); toggleMarkers('marker'+184); highlightLabel(184); marker186.setIcon(radar); }); var radar_large = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar_large.png', new google.maps.Size(140,140), null, new google.maps.Point(70,70)); var radar = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar.png', new google.maps.Size(112,113), null, new google.maps.Point(56,56)); var radar_blank = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar_blank.png', new google.maps.Size(140,140), null, new google.maps.Point(70,70)); google.maps.event.addDomListener(document.getElementById("clicker181"), 'click', function(e) { map.panTo(myLatlng181); map.panBy(50,0); marker181.setZIndex(google.maps.Marker.MAX_ZINDEX + 1); toggleMarkers('marker'+181); highlightLabel(181); marker186.setIcon(radar); }); var radar_large = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar_large.png', new google.maps.Size(140,140), null, new google.maps.Point(70,70)); var radar = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar.png', new google.maps.Size(112,113), null, new google.maps.Point(56,56)); var radar_blank = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar_blank.png', new google.maps.Size(140,140), null, new google.maps.Point(70,70)); google.maps.event.addDomListener(document.getElementById("clicker124"), 'click', function(e) { map.panTo(myLatlng124); map.panBy(50,0); marker124.setZIndex(google.maps.Marker.MAX_ZINDEX + 1); toggleMarkers('marker'+124); highlightLabel(124); marker186.setIcon(radar); }); var radar_large = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar_large.png', new google.maps.Size(140,140), null, new google.maps.Point(70,70)); var radar = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar.png', new google.maps.Size(112,113), null, new google.maps.Point(56,56)); var radar_blank = new google.maps.MarkerImage('http://www.malariaconsortium.org/website-2013/images_template/google_radar_blank.png', new google.maps.Size(140,140), null, new google.maps.Point(70,70)); google.maps.event.addDomListener(document.getElementById("clicker186"), 'click', function(e) { map.panTo(myLatlng186); map.panBy(50,0); marker186.setZIndex(google.maps.Marker.MAX_ZINDEX + 1); toggleMarkers('marker'+186); highlightLabel(186); marker186.setIcon(radar); }); toggleMarkers('marker'+191); marker191.setIcon(radar_blank); highlightLabel(191); }