'; infowindow = new google.maps.InfoWindow({ content: myHtml }); google.maps.event.addListener( infowindow, 'domready', function(){ $( "div.photoslices" ).unveil(0); }); infowindow.open( map, marker ); }); } $(document).ready( function() { $( '#map_canvas' ).lazyLoadGoogleMaps({ key: 'AIzaSyBravF5BY5wfRH_K36T1AF1qfTwVz1tEtU', language: 'ru', callback: initialize }); });