function cms39_initMap() { function defer(method) { if (window.jQuery) { $('.cms39_gmap_5daa4ddf76ee3') .gmap3({ center:[37.939022, 23.695753], zoom:16, navigationControl: true, mapTypeId: google.maps.MapTypeId.ROADMAP, scrollwheel: false, streetViewControl: true, mapTypeControl: true, draggable: true }) .marker([ {position:[37.939022, 23.695753],animation:'BOUNCE'} ]) } else { setTimeout(function() { defer(method) }, 50); } }; defer(); }