function load() {
    // Check Browser is compatible.
    if (GBrowserIsCompatible()) {
        // Create new map; add controls.
        var map = new GMap2(document.getElementById("map"));
        map.addControl(new GSmallMapControl());
        map.addControl(new GMapTypeControl());

        // Set center of map.
        map.setCenter(new GLatLng(52.089471,-0.266547), 16);

        // Set to use Hybrid maps.
        map.setMapType(G_HYBRID_MAP);

        // Create a marker
        var marker = new GMarker(new GLatLng(52.089471,-0.266547));
        GEvent.addListener(marker, "click", function() {
            marker.openInfoWindowHtml("<b>BATS</b><br/>Trinity Methodist Church Hall<br/>Shortmead Street<br/>Biggleswade");
        });
        map.addOverlay(marker);
        marker.openInfoWindowHtml("<b>BATS</b><br/>Trinity Methodist Church Hall<br/>Shortmead Street<br/>Biggleswade");
    }
}

