//<![CDATA[

        function onLoad()
        {
            
            var house_icon = new GIcon();
            house_icon.image = "images/house.png";
            house_icon.shadow = "images/house_shadow.png";
            house_icon.iconSize = new GSize(30, 30);
            house_icon.shadowSize = new GSize(44, 35);
            house_icon.iconAnchor = new GPoint(6, 20);
            house_icon.infoWindowAnchor = new GPoint(5, 1);

            // Display Info Windows Above Markers
            //
            // In this example, we show a custom info window above each marker by
            // listening to the click event for each marker. We take advantage of function
            // closures to customize the info window content for each marker.

            // Center the map on Palo Alto
            var map = new GMap(document.getElementById("map"));
            map.addControl(new GLargeMapControl());
            map.addControl(new GMapTypeControl());
            map.centerAndZoom(new GPoint(-73.98570, 40.74688), 3);

            var point = new GPoint(-73.98570, 40.74688);
            var marker = new GMarker(point, house_icon);

            map.addOverlay(marker);
            
            // for loop would come down here
            
            //var point = Array();
            //var marker = Array();
            
                    }
        
            // Creates a marker whose info window displays the given number
            function createMarker(point, number)
            {
                var marker = new GMarker(point);

                // Show this marker's index in the info window when it is clicked
                var html = "Marker #<b>" + number + "</b>";
                GEvent.addListener(marker, "click", function()
                {
                    marker.openInfoWindowHtml(html);
                });

                return marker;
        }
        //]]>
