var map;
var manager;
var geocode;
var marker;

/* center and load the map */
function load()
{

    if( GBrowserIsCompatible() )
    {
        map = new GMap2( document.getElementById("map") );

        // add the controls
        map.addControl( new GLargeMapControl() );
        map.addControl( new GScaleControl() );
/*        map.enableContinuousZoom();*/
        geocoder = new GClientGeocoder();

        var address = "79 Boundary Rd N, Euroa, VIC 3666, Australia";


        if (geocoder && address)
        {
            geocoder.getLatLng(
                address,
                function(point)
                {
                    if( point )
                    {        
                            marker = new GMarker(point);
                            map.setCenter( point, 15);
						    map.addOverlay(marker);
                            map.openInfoWindow( point  , "<strong>Euroa Butter Factory</strong><br />79 Boundary Rd N, Euroa, VIC 3666<br /> Australia");
                            
                    }        
                }
            );
        
        }



    }
}// end loadMap


