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