
/*----------------------------------------------------------
	
	Class ContactsMap
	Author: Sam Soffes
	Date: 01-24-08
	Description:
		This class loads a Google Map for the specified
		campus id.
		
		Note: This class requires that the API already
		be included.
	
----------------------------------------------------------*/
    function initialize() {
if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById("map_canvas"));
map.addControl(new GSmallMapControl());
map.setCenter(new GLatLng(38.727899,-77.265816), 13);

        var myIcon = new GIcon(G_DEFAULT_ICON);
    	myIcon.image = "http://www.christchurchva.org/img/shared/map/marker.png";
		myIcon.shadow = "http://www.christchurchva.org/img/shared/map/shadow.png";
		myIcon.iconSize = new GSize(68, 54);
		myIcon.shadowSize = new GSize(68, 54);
		myIcon.iconAnchor = new GPoint(41, 56);	
        var markerOptions = { icon:myIcon };


var point = new GLatLng(38.727899,-77.265816);
var marker = new GMarker(point, markerOptions);

map.addOverlay(marker);
map.openInfoWindowHtml(point,"<b>Christ Church</b><br><br>8285 Glen Eagles Lane<br>Fairfax Station, VA 22039");





}
}
