function createMarker(point, infoTabs) {
	  var marker =
	  new GMarker(point);
	  GEvent.addListener(
	  marker, "click", function() {
		//marker.openInfoWindowTabsHtml(infoTabs);
		marker.openInfoWindowHtml(infoTabs);
	  });
	  
	  return marker;
	}

function load() {
  if (GBrowserIsCompatible()) {
	var map = new GMap2(document.getElementById("mapservices"));
	map.addControl(new GLargeMapControl());
	map.addControl(new GMapTypeControl());
	//map.addControl(new GOverviewMapControl());
	map.setCenter(
	new GLatLng(53.661073,-1.044336), 3);
	loadbranches(map);
  }
}


// JScript File
function loadbranches(map) {
//// Start Markers
		var infoTabs = "<strong>Sweden</strong>";
        var marker = createMarker(
        new GLatLng(59.33293,18.06444),
        infoTabs);
        map.addOverlay(marker);

		var infoTabs = "<strong>Denmark</strong>";
        var marker = createMarker(
        new GLatLng(55.66829,12.58329),   //(51.477641,-0.149689),
        infoTabs);
        map.addOverlay(marker);
        
		var infoTabs = "<strong>Italy</strong>";
        var marker = createMarker(
        new GLatLng(41.89768,12.48236),   //(51.474052,-0.04235),
        infoTabs);
        map.addOverlay(marker);

		var infoTabs = "<strong>Belgium</strong>";
        var marker = createMarker(
        new GLatLng(50.84692,4.3511),   //(52.460298,-1.833086),
        infoTabs);
        map.addOverlay(marker);

		var infoTabs = "<strong>Holland</strong>";
        var marker = createMarker(
        new GLatLng(52.37549,4.89098),
        infoTabs);
        map.addOverlay(marker);

		var infoTabs = "<strong>Spain</strong>";
        var marker = createMarker(
        new GLatLng(40.4331,-3.74805),   //(52.776861,-1.537399),
        infoTabs);
        map.addOverlay(marker);

		var infoTabs = "<strong>France</strong>";
        var marker = createMarker(
        new GLatLng(48.85997,2.3509),
        infoTabs);
        map.addOverlay(marker);
		
		var infoTabs = "<strong>Republic of Ireland</strong>";
        var marker = createMarker(
        new GLatLng(53.34409,-6.26753),   //(51.142646,-2.990212),
        infoTabs);
        map.addOverlay(marker);
        
 		//Darlington
		var infoTabs = "<strong>United Kingdom</strong>";
        var marker = createMarker(
        new GLatLng(51.50319,-0.12617),
        infoTabs);
        map.addOverlay(marker);

        ///END Markers
}
