function initialize_google_map() {
        if (GBrowserIsCompatible()) {
                $("#map_container").css("display","block");
                start_address_text ="Enter your address here, for directions to our office";
                $("#start_address").val(start_address_text);
                google_map =new GMap2(document.getElementById("map_canvas"));
                google_map.setCenter(new GLatLng(41.618586512575995, -72.08081066608429), 10);
                google_map.setUIToDefault();
		google_map.disableScrollWheelZoom();
                google_map.addOverlay(new GMarker(new GLatLng(41.618586512575995, -72.08081066608429)));
        }
}
function get_directions(start_address) {
        if (GBrowserIsCompatible()) {
                $("#map_panel").html("");
                var directions =new GDirections(google_map, document.getElementById("map_panel"));
                directions.load($(start_address).val() + " to 26 Bushnell Hollow Road, Baltic, CT");
        }
}
function clear_field(field) {
        if ($(field).val() == start_address_text) {
                $(field).val("");
        }
}
function print_map() {
        $('head').append('<link href="navigation/css/map_print.css" rel="stylesheet" type="text/css" media="print" />');
        window.print();
}
































