// JavaScript Document

$(document).ready(function(){
	load(); // Google-Maps laden
});

function load() {
 if (GBrowserIsCompatible()) {
	 var map = new GMap2(document.getElementById("map"));
 		 map.setCenter(new GLatLng(53.11372, 8.85094), 15);
	
 // Create icon
 var ecotecIcon = new GIcon();
 ecotecIcon.image = "http://www.ecotec-bremen.de/fileadmin/templates/_images/marker.png";
 ecotecIcon.shadow = "http://www.ecotec-bremen.de/fileadmin/templates/_images/markerShadow.png";
 ecotecIcon.iconSize = new GSize(70, 40);
 ecotecIcon.shadowSize = new GSize(90, 40);
 ecotecIcon.iconAnchor = new GPoint(34, 38);

 markerOptions = { icon:ecotecIcon };

 var point = new GLatLng(53.11372, 8.85094);
 var marker = new GMarker(point, markerOptions);

 map.addOverlay(marker);
 

 //map.addControl(new GSmallZoomControl());
 map.addControl(new GMapTypeControl());
 map.addControl(new GSmallMapControl());

 }
 }
	


