
	//<![CDATA[

	function onLoad() {
		// Create our "tiny" marker icon

		var gicon = new GIcon();
		gicon.image = "images/alpha.png";
		gicon.shadow = "images/alpha_shadow.png";
		gicon.iconSize = new GSize(12, 20);
		gicon.shadowSize = new GSize(22, 20);
		gicon.iconAnchor = new GPoint(6, 20);
		gicon.infoWindowAnchor = new GPoint(5, 1);

		var ricon = new GIcon();
		ricon.image = "images/alpha.png";
		ricon.shadow = "images/alpha_shadow.png";
		ricon.iconSize = new GSize(12, 20);
		ricon.shadowSize = new GSize(22, 20);
		ricon.iconAnchor = new GPoint(6, 20);
		ricon.infoWindowAnchor = new GPoint(5, 1);

		var yicon = new GIcon();
		yicon.image = "images/alpha.png";
		yicon.shadow = "images/alpha_shadow.png";
		yicon.iconSize = new GSize(12, 20);
		yicon.shadowSize = new GSize(22, 20);
		yicon.iconAnchor = new GPoint(6, 20);
		yicon.infoWindowAnchor = new GPoint(5, 1);

		var bicon = new GIcon();
		bicon.image = "images/alpha.png";
		bicon.shadow = "images/alpha_shadow.png";
		bicon.iconSize = new GSize(12, 20);
		bicon.shadowSize = new GSize(22, 20);
		bicon.iconAnchor = new GPoint(6, 20);
		bicon.infoWindowAnchor = new GPoint(5, 1);

		var wicon = new GIcon();
		wicon.image = "images/alpha.png";
		wicon.shadow = "images/alpha_shadow.png";
		wicon.iconSize = new GSize(12, 20);
		wicon.shadowSize = new GSize(22, 20);
		wicon.iconAnchor = new GPoint(6, 20);
		wicon.infoWindowAnchor = new GPoint(5, 1);

		var picon = new GIcon();
		picon.image = "images/alpha.png";
		picon.shadow = "images/alpha_shadow.png";
		picon.iconSize = new GSize(12, 20);
		picon.shadowSize = new GSize(22, 20);
		picon.iconAnchor = new GPoint(6, 20);
		picon.infoWindowAnchor = new GPoint(5, 1);

		// Center the map on the center of the borough.
		var map = new GMap(document.getElementById("map"));
		map.addControl(new GLargeMapControl());
		map.addControl(new GMapTypeControl());
		map.centerAndZoom(new GPoint(0.04815101623535156, 51.47252225325477), 5);

		// Create one of our tiny markers at the given point.
      function createMarker(point, number) {
if (number == "1") {
        var marker = new GMarker(point, ricon);
	var html = "<font face=verdana size=1><b>Ichthus, Avery Hill</b><br>Southspring,<br>Sidcup,<br>DA15 8EA</font>";
} else {
if (number == "2") {
        var marker = new GMarker(point, gicon);
	var html = "<font face=verdana size=1><b>Blackheath &amp; Charlton Baptist Church</b><br>Corner of Shooters Hill Road and Marlborough Lane</font>";
} else {
if (number == "3") {
        var marker = new GMarker(point, ricon);
	var html = "<font face=verdana size=1><b>Charlton &amp; Blackheath Christian Fellowship</b><br>The Boy's Brigade Hall,<br>Reynolds Place,<br>SE3</font>";
} else {
if (number == "4") {
        var marker = new GMarker(point, picon);
	var html = "<font face=verdana size=1><b>Christian Life Fellowship</b><br>The Forum<br>Trafalgar Road,<br>SE10 9EQ</font>";
} else {
if (number == "5") {
        var marker = new GMarker(point, ricon);
	var html = "<font face=verdana size=1><b>Church of Christ the King, Plumstead</b><br>Church of Christ the King<br>46 Lakedale Road,<br>SE18 1PS</font>";
} else {
if (number == "6") {
        var marker = new GMarker(point, gicon);
	var html = "<font face=verdana size=1><b>East Plumstead Baptist Church</b><br>East Plumstead Baptist Church,<br>Griffin Road,<br>SE18 7PZ</font>";
} else {
if (number == "7") {
        var marker = new GMarker(point, ricon);
	var html = "<font face=verdana size=1><b>Eltham Green Christian Centre</b><br>Eltham Green Christian Centre<br>Westhorne Avenue,<br>SE9 6DH</font>";
} else {
if (number == "8") {
        var marker = new GMarker(point, gicon);
	var html = "<font face=verdana size=1><b>Eltham Park Baptist Church</b><br>Eltham Park Baptist Church<br>Glenure Road,<br>SE9 1UF</font>";
} else {
if (number == "9") {
        var marker = new GMarker(point, ricon);
	var html = "<font face=verdana size=1><b>Greenwich Vineyard Church</b><br>Greenwich School of Management<br>Meridian House<br>SE10 8RD</font>";
} else {
if (number == "10") {
        var marker = new GMarker(point, yicon);
	var html = "<font face=verdana size=1><b>Holy Spirit Church</b><br>Holy Spirit Church<br>The Ferrier Estate,<br>SE3 9YR</font>";
} else {
if (number == "11") {
        var marker = new GMarker(point, picon);
	var html = "<font face=verdana size=1><b>New Testament Church of God</b><br>74-76 Charlton Church Lane,<br>Charlton,<br>SE7 7AB</font>";
} else {
if (number == "12") {
        var marker = new GMarker(point, yicon);
	var html = "<font face=verdana size=1><b>St. James' Church, Kidbrooke</b><br>St. James' Church<br>Kidbrooke Park Road,<br>SE3</font>";
} else {
if (number == "13") {
        var marker = new GMarker(point, yicon);
	var html = "<font face=verdana size=1><b>St. John's Church</b><br>St. John's Church,<br>Earl Rise,<br>SE18</font>";
} else {
if (number == "14") {
        var marker = new GMarker(point, yicon);
	var html = "<font face=verdana size=1><b>St. John the Evangelist</b><br>St. Johns Church,<br>Stratheden Road,<br>SE3 7TH</font>";
} else {
if (number == "15") {
        var marker = new GMarker(point, yicon);
	var html = "<font face=verdana size=1><b>St. Michael &amp; All Angels Church, Blackheath Park</b><br>St. Michael &amp; All Angels Church<br>Blackheath Park,<br>SE3</font>";
} else {
if (number == "16") {
        var marker = new GMarker(point, yicon);
	var html = "<font face=verdana size=1><b>St. Nicholas Church, Kidbrooke</b><br>St. Nicholas Church,<br>Whetstone Road,<br>SE3</font>";
} else {
if (number == "17") {
        var marker = new GMarker(point, gicon);
	var html = "<font face=verdana size=1><b>South Street Baptist Church</b><br>South Street Baptist Church,<br>66-68 Greenwich South Street,<br>SE10 8UN</font>";
} else {
if (number == "18") {
        var marker = new GMarker(point, ricon);
	var html = "<font face=verdana size=1><b>Woolwich Community Church (Ichthus)</b><br>Woolwich Common Community Centre<br>Leslie Smith Square,<br>Woolwich SE18</font>";
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
} 
}
      
        // Show this marker's index in the info window when it is clicked

		GEvent.addListener(marker, 'click', function() {
			marker.openInfoWindowHtml(html);
		});
      
        return marker;
      }


	// Add a marker in the map viewport at a set long & lat using the default icon
	// Ichthus, Avery Hill
        var point = new GPoint(0.08439302444458008, 51.44414459165966);
	var marker = createMarker(point, 1);
        map.addOverlay(marker);

	// Blackheath Charlton Baptist Church
        var point = new GPoint(0.03286242485046387, 51.47505499577988);
	var marker = createMarker(point, 2);
        map.addOverlay(marker);

	// Charlton Blackheath Christian Fellowship
        var point = new GPoint(0.026918649673461914, 51.4759972203029);
	var marker = createMarker(point, 3);
        map.addOverlay(marker);

	// Christian Life Fellowship, Greenwich
        var point = new GPoint(0.0046885013580322265, 51.48526473199558);
	var marker = createMarker(point, 4);
        map.addOverlay(marker);

	// Church of Christ the King, Plumstead
        var point = new GPoint(0.09040117263793945, 51.485572057726124);
	var marker = createMarker(point, 5);
        map.addOverlay(marker);

	// East Plumstead Baptist Church
        var point = new GPoint(0.08404970169067383, 51.485258050978444);
	var marker = createMarker(point, 6);
        map.addOverlay(marker);

	// Eltham Green Christian Centre
        var point = new GPoint(0.03990054130554199, 51.454942883825744);
	var marker = createMarker(point, 7);
        map.addOverlay(marker);

	// Eltham Park Baptist Church
        var point = new GPoint(0.06177663803100586, 51.453090974296245);
	var marker = createMarker(point, 8);
        map.addOverlay(marker);

	// Greenwich Vineyard Church
        var point = new GPoint(-0.010793209075927734, 51.47783483624914);
	var marker = createMarker(point, 9);
        map.addOverlay(marker);

	// Holy Spirit Church
        var point = new GPoint(0.027229785919189453, 51.4614005797771);
	var marker = createMarker(point, 10);
        map.addOverlay(marker);

	// New Testament Church of God
        var point = new GPoint(0.03360271453857422, 51.48394855271953);
	var marker = createMarker(point, 11);
        map.addOverlay(marker);

	// St. James' Church, Kidbrooke
        var point = new GPoint(0.02368927001953125, 51.46970867255566);
	var marker = createMarker(point, 12);
        map.addOverlay(marker);

	// St. John's Church, Plumstead
        var point = new GPoint(0.08137822151184082, 51.48686814780166);
	var marker = createMarker(point, 13);
        map.addOverlay(marker);

	// St. John the Evangelist, Blackheath
        var point = new GPoint(0.01850724220275879, 51.475696512463294);
	var marker = createMarker(point, 14);
        map.addOverlay(marker);

	// St. Michael & All Angels Church, Blackheath Park
        var point = new GPoint(0.013303756713867187, 51.46459566493181);
	var marker = createMarker(point, 15);
        map.addOverlay(marker);

	// St. Nicholas Church, Kidbrooke
        var point = new GPoint(0.03730416297912598, 51.46961510632099);
	var marker = createMarker(point, 16);
        map.addOverlay(marker);

	// South Street Baptist Church
        var point = new GPoint(-0.014290809631347656, 51.47451370906063);
	var marker = createMarker(point, 17);
        map.addOverlay(marker);

	// Woolwich Community Church (Ichthus)
        var point = new GPoint(0.06297826766967773, 51.481362851340386);
	var marker = createMarker(point, 18);
        map.addOverlay(marker);
}
	//]]>


