function initialize(Glat, Glong, w, h, d) {
    if (GBrowserIsCompatible()){
        
        var map = new GMap2(document.getElementById(d), {size: new GSize(w, h)});
        var latlng = new GLatLng(Glat, Glong);
        map.setCenter(latlng, 13);
        
        var customUI = map.getDefaultUI()
        customUI.controls.maptypecontrol = false
        map.setUI(customUI)
        
        // 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(latlng, tinyIcon);
        
        // Set up our GMarkerOptions object literal
        map.addOverlay(marker);
    }
    else{
        alert('Your browser is not compatible with Google Maps.')
    }
}
