function cms39_initMap() { function defer(method) { if (window.jQuery) { $('.cms39_gmap_676ec31b3c624') .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(); }