// JavaScript Document
                var map = null;
                var geocoder = null;
 
                function load() {
                  if (GBrowserIsCompatible()) {
                    geocoder = new GClientGeocoder();
                    
                    function showAddress(address) {
                      if (geocoder) {
                        geocoder.getLatLng(
                          address,
                          function(point) {
                            if (!point) {
                              document.getElementById("map").style.display="none";
                            } else {
                                map = new GMap2(document.getElementById("map"));
                                map.setCenter(new GLatLng(37.4419, -122.1419), 13);
                                map.addControl(new GSmallMapControl());
                            
                              map.setCenter(point, 13);
                            
                              var marker = new GMarker(point);
 
                                var infoTabs = [
                                  new GInfoWindowTab('Address','<div style=width:320px><img id=mapimage src=mapmodule/mapphoto-small.jpg border=0 align=left><b>Tsunami PC Productions</b><br>37040 Garfield Road Suite T-7<br>Clinton Township, Michigan, 48036<br>United States</div>'),                                                        
                                  new GInfoWindowTab('Directions', '<div style=width:320px>Enter your address:<br><form action="http://maps.google.com/maps" method="get" target="_blank"><input type="text" size="40" maxlength="60" name="saddr" id="saddr" value=""><br><input class="button" value="Get Directions" type="submit"><input type="hidden" name="daddr" value="37040 Garfield Road Suite T-7 Clinton Township, Michigan 48036 United States"></form></div>')]; 
                                                                
                                                                      
                              GEvent.addListener(marker, 'click', function() {
                                  marker.openInfoWindowTabsHtml(infoTabs);
                                });
 
                              map.addOverlay(marker);
                              marker.openInfoWindowTabsHtml(infoTabs);
                            }
                          }
                        );
                      }
                    }
                    showAddress("37040 Garfield Road Suite T-7 Clinton Township, Michigan 48036 United States");  
                  }
                } 
