'; 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: 'AIzaSyDy2ccgXUc3C4jz5CAp9bdSfZxIx7QJe04', language: 'ru', callback: initialize }); });