﻿/*
 - - - - - - - - - - - - - - - - - - - - -
Titel: Schule für Tanz & Bewegung (JavaScript)
Autor: Dumrath & Fassnacht KG
URL: http://www.duf-online.de/

Erstellt : 2007-11-01
Bearbeitet: 2007-1-01
- - - - - - - - - - - - - - - - - - - - -
*/

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.63476600519691,9.915697574615479), 15); // Position des Geschäfts

        // Informationsfenster
        var infoTabs = [
            new GInfoWindowTab("Adresse", "<strong>Schule für Tanz &amp; Bewegung</strong><br />Riekbornweg 2<br />22457  Hamburg")
        ];

        // 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.63476600519691,9.915697574615479), 15); // Postition der Kamera
        
    }
}
