
function initialize(Glat, Glong, map, Ghtml) {
    if (GBrowserIsCompatible()){
        
        // Create our "tiny" marker icon
        var tinyIcon = new GIcon();
        tinyIcon.image = "/assets/layout/map-icon.png";
        tinyIcon.iconSize = new GSize(18, 18);
        tinyIcon.iconAnchor = new GPoint(6, 6);
        tinyIcon.infoWindowAnchor = new GPoint(6, 6);
        
        // Create the marker
        var marker = new GMarker(new GLatLng(Glat, Glong), tinyIcon);
        
        // Set up our GMarkerOptions object literal
        map.addOverlay(marker);
        GEvent.addListener(marker, "click", function(){
            marker.openInfoWindowHtml(document.getElementById(Ghtml).innerHTML)
        });
    }
    else{
        alert('Your browser is not compatible with Google Maps.')
    }
}
