﻿// JScript File


    //<script type="text/javascript">
   
    function load() {
    var sPath = window.location.pathname;
    //alert( sPath);
        if (sPath=="/Contacts.aspx") {
          if (GBrowserIsCompatible()) {
            var map = new GMap2(document.getElementById("map"));
            map.removeMapType(G_SATELLITE_MAP);
            map.setCenter(new GLatLng(49.894235, 10.666198), 13);
            
            // Create our "tiny" marker icon
            var blueIcon = new GIcon(G_DEFAULT_ICON);
                           
            // Set up our GMarkerOptions object
            markerOptions = { icon:blueIcon };
            var point = new GLatLng(42.697214, 23.310306);
            map.addOverlay(new GMarker(point, markerOptions));
            
            map.setZoom(3);
            GEvent.addListener(map, "click", function() {  window.open ("Map.aspx", "map", 'width=740, height=530, status=1, resizable=no, scrollbars=1, toolbar=no,location=no,menubar=no');});
          }
      }
    }
   // </script>