var map; function initialize() { var myLatLng=new google.maps.LatLng(31, 34); var mapOptions = { zoom: 14, center: myLatLng, mapTypeId: google.maps.MapTypeId.ROADMAP } var map = new google.maps.Map(document.getElementById('map-canvas'), mapOptions); var image = 'webimages/logomap.png'; var markers=new Array(); myLatLng=new google.maps.LatLng(31.372199, 34.636292); markers[49]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"צמרת הברוש" }); markers[49].infowindow =new google.maps.InfoWindow({ content: "

צמרת הברוש



", maxWidth: 300, }); google.maps.event.addListener(markers[49], 'click', function() { markers[49].infowindow.open(map,markers[49]); }); window.setTimeout(function(){markers[49].infowindow.open(map,markers[49]);},1000); } google.maps.event.addDomListener(window, 'load', initialize);