// JavaScript Document
 //<![CDATA[
            
            if (GBrowserIsCompatible()) { 
        
              // A function to create the marker and set up the event window
              // Dont try to unroll this function. It has to be here for the function closure
              // Each instance of the function preserves the contends of a different instance
              // of the "marker" and "html" variables which will be needed later when the event triggers.    
              function createMarker(point,html) {
                var marker = new GMarker(point);
                GEvent.addListener(marker, "click", function() {
                  marker.openInfoWindowHtml(html);
                });
                return marker;
              }
			  
			  function MakeCopyrightSmaller()
				{
				  for(var i = 0; i < map.getContainer().childNodes.length; ++i){
				
				if(map.getContainer().childNodes[i].innerHTML.indexOf(String.fromCharCode(169))
				!== -1){
					  map.getContainer().childNodes[i].style.fontSize = '8px';
					  break;
					}
				  }
				
				} 
        
              // Display the map, with some controls and set the initial location 
              var map = new GMap2(document.getElementById("map"));
              map.addControl(new GSmallMapControl());
              //map.addControl(new GMapTypeControl());
			  map.getContainer().style.overflow="hidden"; 
              map.setCenter(new GLatLng(52.364573,-2.263956 ),14);
			  setTimeout('MakeCopyrightSmaller();', 2000);
            
              // Set up three markers with info windows 
            
              var point = new GLatLng(52.364573,-2.263956);
              var marker = createMarker(point,'<p><strong>Gemini Vehicle Solutions</strong><br>Stourport Road, Kidderminster DY11 7QL<br><br>0845 3373 151<br>info@geminivehiclesolutions.co.uk</p>')
              map.addOverlay(marker);
//        
//              var point = new GLatLng(43.91892,-78.89231);
//              var marker = createMarker(point,'Some stuff to display in the<br>Second Info Window')
//              map.addOverlay(marker);
//        
//              var point = new GLatLng(43.82589,-79.10040);
//              var marker = createMarker(point,'Some stuff to display in the<br>Third Info Window')
//              map.addOverlay(marker);
        
            }
            
            // display a warning if the browser was not compatible
            else {
              alert("Sorry, the Google Maps API is not compatible with this browser");
            }
        
            // This Javascript is based on code provided by the
            // Blackpool Community Church Javascript Team
            // http://www.commchurch.freeserve.co.uk/   
            // http://econym.googlepages.com/index.htm
        
            //]]>