﻿/*
 - - - - - - - - - - - - - - - - - - - - -
Titel: RA Braucks  (JavaScript)
Autor: Dumrath & Fassnacht KG (mh)
URL: http://www.duf-online.de/

Erstellt : 04.03.2008
- - - - - - - - - - - - - - - - - - - - -
*/

window.onload = function() {
	load();
}

window.onunload = function() {
	GUnload();
}

/* - - - - - - - - - - - - - - - - - - - - - */

function load() {
	if (GBrowserIsCompatible()) {
    	var map = new GMap2(document.getElementById("map"));
		map.addControl(new GSmallMapControl());
    	
    	map.setCenter(new GLatLng(53.244365, 10.408773), 15); // Position des Geschäfts
    	

		// Informationsfenster
		var infoTabs = [
			new GInfoWindowTab("Adresse", "<strong>Ricco Bent Braucks, Rechtsanwalt</strong><br />Lindenstr. 29<br />21335 L&uuml;neburg")
		];

		// Marker erzeugen und platzieren

		var marker = new GMarker(map.getCenter());
		GEvent.addListener(marker, "click", function() {
			marker.openInfoWindowTabsHtml(infoTabs);
		});

		map.addOverlay(marker);
		map.setCenter(new GLatLng(53.244365, 10.408773), 15); // Postition der Kamera
		
	}
}

