    var mapviewerUk;
	var mapviewerLondon;
	var mapviewerEurope;
	
    function onLoad() {
		// check if the browser is supported 
		if ( MMIsSupportedBrowser() )
		{
			switchTabs('Uk');
		}
    }
	
	function boxBirmingham() { markerBirmingham.openInfoBox(); }	// Birmingham
	function boxBristol() { markerBristol.openInfoBox(); }			// Bristol
	function boxCambridge() { markerCambridge.openInfoBox(); }		// Cambridge
	function boxCardiff() { markerCardiff.openInfoBox(); }			// Cardiff
	function boxCroydon() { markerCroydon.openInfoBox(); }			// Croydon
	function boxEdinburgh() { markerEdinburgh.openInfoBox(); }		// Edinburgh
	function boxGlasgow() { markerGlasgow.openInfoBox(); }			// Glasgow
	function boxGuernsey() { markerGuernsey.openInfoBox(); }		// Guernsey
	function boxJersey() { markerJersey.openInfoBox(); }			// Jersey	
	function boxLeeds() { markerLeeds.openInfoBox(); }				// Leeds
	function boxLiverpool() { markerLiverpool.openInfoBox(); }		// Liverpool
	function boxMaidstone() { markerMaidstone.openInfoBox(); }		// Maidstone
	function boxManchester() { markerManchester.openInfoBox(); }	// Manchester
	function boxMiltonKeynes() { markerMiltonKeynes.openInfoBox(); }// Milton Keynes
	function boxNewcastle() { markerNewcastle.openInfoBox(); }		// Newcastle
	function boxNottingham() { markerNottingham.openInfoBox(); }	// Nottingham
	function boxPreston() { markerPreston.openInfoBox(); }			// Preston
	function boxReading() { markerReading.openInfoBox(); }			// Reading
	function boxSheffield() { markerSheffield.openInfoBox(); }		// Sheffield
	function boxSouthampton() { markerSouthampton.openInfoBox(); }	// Southampton
	function boxLondon() { markerLondonGroup.openInfoBox(); }		// London
	function boxIrelandUk() { markerIrelandUk.openInfoBox(); }		// Ireland 1
	function boxIrelandUk2() { markerIrelandUk2.openInfoBox(); }		// Ireland 2
	
	function boxShepherdsBush() { markerShepherdsBush.openInfoBox(); }
	function boxKingsCross() { markerKingsCross.openInfoBox(); }
	function boxHolborn() { markerHolborn.openInfoBox(); }
	function boxLiverpoolStreet() { markerLiverpoolStreet.openInfoBox(); }
	function boxWaterloo() { markerWaterloo.openInfoBox(); }
	function boxFitzwilliamHouse() { markerFitzwilliamHouse.openInfoBox(); }
	
	function boxBulgaria() { markerBulgaria.openInfoBox(); }
	function boxCzechRepublic() { markerCzechRepublic.openInfoBox(); }
	function boxHungary() { markerHungary.openInfoBox(); }
	function boxIreland() { markerIreland.openInfoBox(); }
	function boxIreland2() { markerIreland2.openInfoBox(); }
	function boxMalta() { markerMalta.openInfoBox(); }
	function boxPoland() { markerPoland.openInfoBox(); }
	function boxRomania() { markerRomania.openInfoBox(); }
	function boxSlovakia() { markerSlovakia.openInfoBox(); }
	function boxSlovenia() { markerSlovenia.openInfoBox(); }
	function boxSerbia() { markerSerbia.openInfoBox(); }
	function boxChinaB() { markerChinaB.openInfoBox(); }
	function boxChinaS() { markerChinaS.openInfoBox(); }
	function boxGuernseyEurope() { markerGuernseyEurope.openInfoBox(); }
	function boxJerseyEurope() { markerJerseyEurope.openInfoBox(); }
	function boxNetherlands() { markerNetherlands.openInfoBox(); }
	function boxPoland2() { markerPoland2.openInfoBox(); }
	
	function switchTabs(tabName)
	{
		var icon = new MMIcon('http://www.bpp.com/studycentres/mapmarker.png');
		icon.iconSize = new MMDimensions(20, 23);
		icon.iconAnchor = new MMPoint(10, 23);
		/* this function will switch to the right tab and bring up the corresponding content when user clicks a tab option */
		/* this makes the corresponding <div> for the clicked tab appear */
		document.getElementById("tab"+tabName).style.display = "block";
		/* this line colours the tab border differently from the other tabs */
		document.getElementById("item"+tabName).style.border = "none";
		/* these if statements will make the other tab contents disappear (remember: tab is being switched) */
		if (tabName == "Uk")
		{
			// show the uk study centres list
			document.getElementById("uk-list").style.display = "block";
			// show the uk tab as selected (by selecting the correct css class)
			document.getElementById("itemUk").className = "selected";
			// show the other tabs as deselected (by making the css class null)
			document.getElementById("itemLondon").className = "";
			document.getElementById("itemEurope").className = "";
			// hide the london study centres list
			document.getElementById("london-list").style.display = "none";
			// hide the eu study centres list
			document.getElementById("eu-list").style.display = "none";
			// Add the UK map
			mapviewerUk = new MultimapViewer( document.getElementById( 'mapviewerUk' ) );
			// set the position of the map
			//mapviewerUk.goToPosition(new MMLatLon(52.75766,-1.23187));
			mapviewerUk.goToPosition(new MMLatLon(52.77099,-4.24212));
			// set the zoom level of the map
			mapviewerUk.setZoomFactor(7);
			// add a zoom map control
			pan_zoom_widget = new MMPanZoomWidget();
			mapviewerUk.addWidget(pan_zoom_widget);
			// add overview
			overview_widget = new MMOverviewWidget();
			mapviewerUk.addWidget(overview_widget);
			// declutter the london markers
			mapviewerUk.declutterGroup('London');
			
			// ************************************************** UK Map **************************************************
			// Birmingham
			var posBirmingham = new MMLatLon(52.48295,-1.90413);
			//markerBirmingham = mapviewerUk.createMarker(posBirmingham, {'Birmingham': 'Default marker', 'text':'1'} );
			markerBirmingham = mapviewerUk.createMarker(posBirmingham, {'Birmingham':'', 'icon': icon, 'text':'<span class="mapMarker">1</span>'});
			var tabsBirmingham = [
				new MMInfoBoxTab('Address', '<h6><a href=http://www.bpp.com/studycentres/uk/birmingham/><strong>Birmingham Study Centre</strong></a></h6>' + '<p>Third Floor<br/>Canterbury House<br/>83-85 Newhall Street<br/>Birmingham<br/>B3 1LH<br/><strong>Tel:</strong> +44 (0)845 226 2422<br/><strong>Fax:</strong> +44 (0)161 237 9650<br/><strong>Email:</strong> <a href=mailto:service@bpp.com>service@bpp.com</a></p>'),
				/*new MMInfoBoxTab('Photo', '<h3>Birmingham</h3>'),*/
			];
			markerBirmingham.setInfoBoxContent(tabsBirmingham);
			
			// Bristol
			var posBristol = new MMLatLon(51.44958,-2.59505);
			//markerBristol = mapviewerUk.createMarker(posBristol, {'Bristol': 'Default marker', 'text':'2'} );
			markerBristol = mapviewerUk.createMarker(posBristol, {'Bristol': '', 'icon': icon, 'text':'<span class="mapMarker">2</span>'});
			var tabsBristol = [
				new MMInfoBoxTab('Address', '<h6><a href=http://www.bpp.com/studycentres/uk/bristol/><strong>Bristol Study Centre</strong></a></h6>' + '<p>BPP House<br/>Grove Avenue<br/>Queen Square<br/>Bristol<br/>BS1 4QY<br/><strong>Tel:</strong> +44 (0)845 226 2422<br/><strong>Fax:</strong> +44 (0)161 237 9650<br/><strong>Email:</strong> <a href=mailto:service@bpp.com>service@bpp.com</a></p>'),
				/*new MMInfoBoxTab('Photo', '<h3>Bristol</h3>'),*/
			];
			markerBristol.setInfoBoxContent(tabsBristol);
			
			// Cambridge
			var posCambridge = new MMLatLon(52.2049,0.11997);
			//markerCambridge = mapviewerUk.createMarker(posCambridge, {'Cambridge': 'Default marker', 'text':'3'} );
			markerCambridge = mapviewerUk.createMarker(posCambridge, {'Cambridge': '', 'icon': icon, 'text':'<span class="mapMarker">3</span>'});
			var tabsCambridge = [
				new MMInfoBoxTab('Address', '<h6><a href=http://www.bpp.com/studycentres/uk/cambridge/><strong>Cambridge Study Centre</strong></a></h6>' + '<p>Third Floor<br/>Lion House<br/>Lion Yard<br/>Cambridge<br/>CB2 3NA<br/><strong>Tel:</strong> +44 (0)1223 309292<br/><strong>Fax:</strong> +44 (0)1223 309293<br/><strong>Email:</strong> <a href=mailto:cambridgeinfo@bpp.com>cambridgeinfo@bpp.com</a></p>'),
				/*new MMInfoBoxTab('Photo', '<h3>Cambridge</h3>'),*/
			];
			markerCambridge.setInfoBoxContent(tabsCambridge);
			
			// Cardiff
			var posCardiff = new MMLatLon(51.48505,-3.16585);
			//markerCardiff = mapviewerUk.createMarker(posCardiff, {'Cardiff': 'Default marker', 'text':'4'} );
			markerCardiff = mapviewerUk.createMarker(posCardiff, {'Cardiff':'', 'icon': icon, 'text':'<span class="mapMarker">4</span>'});
			var tabsCardiff = [
				new MMInfoBoxTab('Address', '<h6><a href=http://www.bpp.com/studycentres/uk/cardiff/><strong>Cardiff Study Centre</strong></a></h6>' + '<p>Third Floor<br/>Eastgate House<br/>Newport Road<br/>Cardiff<br/>CF24 0SB<br/><strong>Tel:</strong> +44 (0)845 226 2422<br/><strong>Fax:</strong> +44 (0)161 237 9650<br/><strong>Email:</strong> <a href=mailto:service@bpp.com>service@bpp.com</a></p>'),
				/*new MMInfoBoxTab('Photo', '<h3>Cardiff</h3>'),*/
			];
			markerCardiff.setInfoBoxContent(tabsCardiff);
			
			// Croydon
			var posCroydon = new MMLatLon(51.3767,-0.09581);
			//markerCroydon = mapviewerUk.createMarker(posCroydon, {'Croydon': 'Default marker', 'text':'5'} );
			markerCroydon = mapviewerUk.createMarker(posCroydon, {'Croydon':'', 'icon': icon, 'text':'<span class="mapMarker">5</span>'});
			var tabsCroydon = [
				new MMInfoBoxTab('Address', '<h6><a href=http://www.bpp.com/studycentres/uk/croydon/><strong>Croydon Study Centre</strong></a></h6>' + '<p>Ground Floor<br/>Carolyn House<br/>26 Dingwall Road<br/>Croydon<br/>CR0 9XF<br/><strong>Tel:</strong> +44 (0)845 226 2422<br/><strong>Fax:</strong> +44 (0)161 237 9650<br/><strong>Email:</strong> <a href=mailto:service@bpp.com>service@bpp.com</a></p>'),
				/*new MMInfoBoxTab('Photo', '<h3>Croydon</h3>'),*/
			];
			markerCroydon.setInfoBoxContent(tabsCroydon);
			
			
			
			// Edinburgh
			var posEdinburgh = new MMLatLon(55.95115,-3.18543);
			markerEdinburgh = mapviewerUk.createMarker(posEdinburgh, {'Edinburgh':'', 'icon': icon, 'text':'<span class="mapMarker">7</span>'});
			var tabsEdinburgh = [
				new MMInfoBoxTab('Address', '<h6><a href=http://www.bpp.com/studycentres/uk/edinburgh/><strong>Edinburgh Study Centre</strong></a></h6>' + '<p>Jurys Inn Edinburgh<br/>43 Jeffrey Street<br/>Edinburgh<br/>EH1 1DH</p>'),
			];
			markerEdinburgh.setInfoBoxContent(tabsEdinburgh);
			
			// Glasgow
			var posGlasgow = new MMLatLon(55.86514,-4.25799);
			/*markerGlasgow = mapviewerUk.createMarker(posGlasgow, {'Glasgow': 'Default marker', 'text':'6'} );*/
			markerGlasgow = mapviewerUk.createMarker(posGlasgow, {'Glasgow':'', 'icon': icon, 'text':'<span class="mapMarker">8</span>'});
			var tabsGlasgow = [
				new MMInfoBoxTab('Address', '<h6><a href=http://www.bpp.com/studycentres/uk/glasgow/><strong>Glasgow Study Centre</strong></a></h6>' + '<p>3rd Floor<br/>7-12 West Nile Street<br/>Glasgow<br/>G1 2PR<br/><strong>Tel:</strong> +44 (0)845 226 2422<br/><strong>Fax:</strong> +44 (0)161 237 9650<br/><strong>Email:</strong> <a href=mailto:service@bpp.com>service@bpp.com</a></p>'),
				/*new MMInfoBoxTab('Photo', '<h3>Glasgow</h3>'),*/
			];
			markerGlasgow.setInfoBoxContent(tabsGlasgow);
			
			// Guernsey
			var posGuernsey = new MMLatLon(49.45495, -2.5812);
			/*markerGuernsey = mapviewerUk.createMarker(posGuernsey, {'Guernsey': 'Default marker', 'text':'7'} );*/
			markerGuernsey = mapviewerUk.createMarker(posGuernsey, {'Guernsey':'', 'icon': icon, 'text':'<span class="mapMarker">9</span>'});
			var tabsGuernsey = [
				new MMInfoBoxTab('Address', '<h6><a href=http://www.bpp.com/studycentres/uk/guernsey/><strong>Guernsey Study Centre</strong></a></h6>' + '<p>La Villiaze<br/>Forest<br/>Guernsey<br/>GY8 0HG<br/><strong>Tel:</strong> 01481 266176<br/><strong>Fax:</strong> 01481 265955<br/><strong>Email:</strong> <a href=mailto:guernseyinfo@bpp.com>guernseyinfo@bpp.com</a><p>'),
				/*new MMInfoBoxTab('Photo', '<h3>Guernsey</h3>'),*/
			];
			markerGuernsey.setInfoBoxContent(tabsGuernsey);
			
			// Jersey
			var posJersey = new MMLatLon(49.22185, -2.13179);
			/*markerJersey = mapviewerUk.createMarker(posJersey, {'Jersey': 'Default marker', 'text':'8'} );*/
			markerJersey = mapviewerUk.createMarker(posJersey, {'Jersey':'', 'icon': icon, 'text':'<span class="mapMarker">10</span>'});
			var tabsJersey = [
				new MMInfoBoxTab('Address', '<h6><a href=http://www.bpp.com/studycentres/uk/jersey/><strong>Jersey Study Centre</strong></a></h6>' + '<p>19 Hilary Street<br/>St Helier<br/>Jersey<br/>JE2 4SX<br/><strong>Tel:</strong> 01534 711800<br/><strong>Fax:</strong> 01534 711801<br/><strong>Email:</strong> <a href=mailto:jerseybpp@bpp.com>jerseybpp@bpp.com</a></p>'),
				/*new MMInfoBoxTab('Photo', '<h3>Jersey</h3>'),*/
			];
			markerJersey.setInfoBoxContent(tabsJersey);
			
			// Leeds
			var posLeeds = new MMLatLon(53.79742,-1.54742);
			/*markerLeeds = mapviewerUk.createMarker(posLeeds, {'Leeds': 'Default marker', 'text':'9'} );*/
			markerLeeds = mapviewerUk.createMarker(posLeeds, {'Leeds':'', 'icon': icon, 'text':'<span class="mapMarker">11</span>'});
			var tabsLeeds = [
				new MMInfoBoxTab('Address', '<h6><a href=http://www.bpp.com/studycentres/uk/leeds/><strong>Leeds Study Centre</strong></a></h6>' + '<p>36 Park Row<br/>Leeds<br/>LS1 5JL<br/><strong>Tel:</strong> +44 (0)845 226 2422<br/><strong>Fax:</strong> +44 (0)161 237 9650<br/><strong>Email:</strong> <a href=mailto:leedsinfo@bpp.com>leedsinfo@bpp.com</a></p>'),
				/*new MMInfoBoxTab('Photo', '<h3>Leeds</h3>'),*/
			];
			markerLeeds.setInfoBoxContent(tabsLeeds);
			
			// Liverpool
			//var posLiverpool = new MMLatLon(53.4047,-2.99237);
			var posLiverpool = new MMLatLon(53.40491,-2.9894);
			/*markerLiverpool = mapviewerUk.createMarker(posLiverpool, {'Liverpool': 'Default marker', 'text':'10'} );*/
			markerLiverpool = mapviewerUk.createMarker(posLiverpool, {'Liverpool':'', 'icon': icon, 'text':'<span class="mapMarker">13</span>'});
			var tabsLiverpool = [
				new MMInfoBoxTab('Address', '<h6><a href=http://www.bpp.com/studycentres/uk/liverpool/><strong>Liverpool Study Centre</strong></a></h6>' + '<p>1st Floor<br/>Merchants Court<br/>2 - 12 Lord Street<br/>Liverpool<br/>L2 1TS<br/><strong>Tel:</strong> +44 (0)845 226 2422<br/><strong>Fax:</strong> +44 (0)161 237 9650<br/><strong>Email:</strong> <a href=mailto:service@bpp.com>service@bpp.com</a></p>'),
				/*new MMInfoBoxTab('Photo', '<h3>Liverpool</h3>'),*/
			];
			markerLiverpool.setInfoBoxContent(tabsLiverpool);
			
			// Maidstone
			var posMaidstone = new MMLatLon(51.27313,0.52137);
			/*markerMaidstone = mapviewerUk.createMarker(posMaidstone, {'Maidstone': 'Default marker', 'text':'12'} );*/
			markerMaidstone = mapviewerUk.createMarker(posMaidstone, {'Maidstone':'', 'icon': icon, 'text':'<span class="mapMarker">20</span>'});
			var tabsMaidstone = [
				new MMInfoBoxTab('Address', '<h6><a href=http://www.bpp.com/studycentres/uk/maidstone/><strong>Maidstone Study Centre</strong></a></h6>' + '<p>Sunley House<br/>Middle Row<br/>High Street<br/>Maidstone<br/>ME14 1TG<br/><strong>Tel:</strong> +44 (0)845 226 2422<br/><strong>Fax:</strong> +44 (0)161 237 9650<br/><strong>Email:</strong> <a href=mailto:service@bpp.com>service@bpp.com</a><p>'),
				/*new MMInfoBoxTab('Photo', '<h3>Maidstone</h3>'),*/
			];
			markerMaidstone.setInfoBoxContent(tabsMaidstone);
			
			// Manchester
			var posManchester = new MMLatLon(53.47857,-2.23653);
			/*markerManchester = mapviewerUk.createMarker(posManchester, {'Manchester': 'Default marker', 'text':'13'} );*/
			markerManchester = mapviewerUk.createMarker(posManchester, {'Manchester':'', 'icon': icon, 'text':'<span class="mapMarker">21</span>'});
			var tabsManchester = [
				new MMInfoBoxTab('Address', '<h6><a href=http://www.bpp.com/studycentres/uk/manchester/><strong>Manchester Study Centre</strong></a></h6>' + '<p>Ground Floor<br/>Boulton House<br/>Chorlton Street<br/>Manchester<br/>M1 3HY<br/><strong>Tel:</strong> +44 (0)845 226 2422<br/><strong>Fax:</strong> +44 (0)161 237 9650<br/><strong>Email:</strong> <a href=mailto:service@bpp.com>service@bpp.com</a></p>'),
				/*new MMInfoBoxTab('Photo', '<h3>Manchester</h3>'),*/
			];
			markerManchester.setInfoBoxContent(tabsManchester);
			
			// Milton Keynes
			var posMiltonKeynes = new MMLatLon(52.02988,-0.7435);
			/*markerMiltonKeynes = mapviewerUk.createMarker(posMiltonKeynes, {'MiltonKeynes': 'Default marker', 'text':'14'} );*/
			markerMiltonKeynes = mapviewerUk.createMarker(posMiltonKeynes, {'MiltonKeynes':'', 'icon': icon, 'text':'<span class="mapMarker">22</span>'});
			var tabsMiltonKeynes = [
				new MMInfoBoxTab('Address', '<h6><a href=http://www.bpp.com/studycentres/uk/milton-keynes/><strong>Milton Keynes Study Centre</strong></a></h6>' + '<p>Ground Floor East Wing<br/>401 Grafton Gate<br/>Milton Keynes<br/>MK9 1AQ<br/><strong>Tel:</strong> +44 (0)845 226 2422<br/><strong>Fax:</strong> +44 (0)161 237 9650<br/><strong>Email:</strong> <a href=mailto:service@bpp.com>service@bpp.com</a></p>'),
				/*new MMInfoBoxTab('Photo', '<h3>Milton Keynes</h3>'),*/
			];
			markerMiltonKeynes.setInfoBoxContent(tabsMiltonKeynes);
			
			// Newcastle
			var posNewcastle = new MMLatLon(54.96943,-1.61753);
			/*markerNewcastle = mapviewerUk.createMarker(posNewcastle, {'Newcastle': 'Default marker', 'text':'15'} );*/
			markerNewcastle = mapviewerUk.createMarker(posNewcastle, {'Newcastle':'', 'icon': icon, 'text':'<span class="mapMarker">23</span>'});
			var tabsNewcastle = [
				new MMInfoBoxTab('Address', '<h6><a href=http://www.bpp.com/studycentres/uk/newcastle-upon-tyne/><strong>Newcastle Study Centre</strong></a></h6>' + '<p>Gunner House<br/>Neville Street<br/>NE1 5DF<br/><strong>Tel:</strong> +44 (0)845 226 2422<br/><strong>Fax:</strong> +44 (0)161 237 9650<br/><strong>Email:</strong> <a href=mailto:service@bpp.com>service@bpp.com</a></p>'),
				/*new MMInfoBoxTab('Photo', '<h3>Newcastle</h3>'),*/
			];
			markerNewcastle.setInfoBoxContent(tabsNewcastle);
			
			// Nottingham
			var posNottingham = new MMLatLon(52.95262,-1.15103);
			/*markerNottingham = mapviewerUk.createMarker(posNottingham, {'Nottingham': 'Default marker', 'text':'16'} );*/
			markerNottingham = mapviewerUk.createMarker(posNottingham, {'Nottingham':'', 'icon': icon, 'text':'<span class="mapMarker">24</span>'});
			var tabsNottingham = [
				new MMInfoBoxTab('Address', '<h6><a href=http://www.bpp.com/studycentres/uk/nottingham/><strong>Nottingham Study Centre</strong></a></h6>' + '<p>First Floor<br/>Pearl Assurance House<br/>Friar Lane<br/>Nottingham<br/>NG1 6BT<br/><strong>Tel:</strong> +44 (0)845 226 2422<br/><strong>Fax:</strong> +44 (0)161 237 9650<br/><strong>Email:</strong> <a href=mailto:service@bpp.com>service@bpp.com</a></p>'),
				/*new MMInfoBoxTab('Photo', '<h3>Nottingham</h3>'),*/
			];
			markerNottingham.setInfoBoxContent(tabsNottingham);
			
			// Preston
			var posPreston= new MMLatLon(53.75802,-2.70357);
			/*markerPreston = mapviewerUk.createMarker(posPreston, {'Preston': 'Default marker', 'text':'13'} );*/
			markerPreston = mapviewerUk.createMarker(posPreston, {'Preston':'', 'icon': icon, 'text':'<span class="mapMarker">25</span>'});
			var tabsPreston = [
				new MMInfoBoxTab('Address', '<h6><a href=http://www.bpp.com/studycentres/uk/preston/><strong>Courses in Preston are run by our Manchester Study Centre</strong></a></h6>' + '<p>Ground Floor<br/>Boulton House<br/>Chorlton Street<br/>Manchester<br/>M1 3HY<br/><strong>Tel:</strong> +44 (0)161 288 8000<br/><strong>Fax:</strong> +44 (0)161 288 8001<br/><strong>Email:</strong> <a href=mailto:manchesterinfo@bpp.com>manchesterinfo@bpp.com</a></p>'),
				/*new MMInfoBoxTab('Photo', '<h3>Manchester</h3>'),*/
			];
			markerPreston.setInfoBoxContent(tabsPreston);
			
			// Reading
			var posReading = new MMLatLon(51.45762,-0.97125);
			/*markerReading = mapviewerUk.createMarker(posReading, {'Reading': 'Default marker', 'text':'17'} );*/
			markerReading = mapviewerUk.createMarker(posReading, {'Reading':'', 'icon': icon, 'text':'<span class="mapMarker">26</span>'});
			var tabsReading = [
				new MMInfoBoxTab('Address', '<h6><a href=http://www.bpp.com/studycentres/uk/reading/><strong>Reading Study Centre</strong></a></h6>' + '<p>1st floor<br/>Aquis House<br/>49-51 Blagrave Street<br/>Reading<br/>RG1 1PL<br/><strong>Tel:</strong> +44 (0)845 226 2422<br/><strong>Fax:</strong>	+44 (0)161 237 9650<br/><strong>Email:</strong> <a href=mailto:service@bpp.com>service@bpp.com</a><p>'),
				/*new MMInfoBoxTab('Photo', '<h3>Reading</h3>'),*/
			];
			markerReading.setInfoBoxContent(tabsReading);
			
			// Sheffield
			var posSheffield = new MMLatLon(53.38308,-1.46487);
			//markerSheffield = mapviewerUk.createMarker(posSheffield, {'Sheffield': 'Default marker', 'text':'1'} );
			markerSheffield = mapviewerUk.createMarker(posSheffield, {'Sheffield':'', 'icon': icon, 'text':'<span class="mapMarker">27</span>'});
			var tabsSheffield = [
				new MMInfoBoxTab('Address', '<h6><a href=http://www.bpp.com/studycentres/uk/sheffield/><strong>Courses in Sheffield are run by our Leeds Centre</strong></a></h6>' + '<p>36 Park Row,<br/>Leeds<br/>LS1 5JL<br/>Leeds<br/><strong>Tel:</strong> +44 (0)845 226 2422<br/><strong>Email:</strong> <a href=mailto:service@bpp.com>service@bpp.com</a></p>'),
				/*new MMInfoBoxTab('Photo', '<h3>Sheffield</h3>'),*/
			];
			markerSheffield.setInfoBoxContent(tabsSheffield);
			
			
			// Southampton
			var posSouthampton = new MMLatLon(50.90851,-1.41349);
			/*markerSouthampton = mapviewerUk.createMarker(posSouthampton, {'Southampton': 'Default marker', 'text':'18'} );*/
			markerSouthampton = mapviewerUk.createMarker(posSouthampton, {'Southampton':'', 'icon': icon, 'text':'<span class="mapMarker">28</span>'});
			var tabsSouthampton = [
				new MMInfoBoxTab('Address', '<h6><a href=http://www.bpp.com/studycentres/uk/southampton/><strong>Southampton Study Centre</strong></a></h6>' + '<p>Grenville House<br/>Nelson Gate<br/>Southampton<br/>SO15 1GX<br/><strong>Tel:</strong> +44 (0)845 226 2422<br/><strong>Fax:</strong>+44 (0)161 237 9650<br/><strong>Email:</strong> <a href=mailto:service@bpp.com>service@bpp.com</a><p>'),
				/*new MMInfoBoxTab('Photo', '<h3>Southampton</h3>'),*/
			];
			markerSouthampton.setInfoBoxContent(tabsSouthampton);
			
			var posIrelandUk = new MMLatLon(53.336024,-6.24886);
			/*markerIrelandUk = mapviewerUk.createMarker(posIrelandUk, {'Ireland': 'Default marker', 'text': '4'});*/
			markerIrelandUk = mapviewerUk.createMarker(posIrelandUk, {'Ireland':'', 'icon': icon, 'text':'<span class="mapMarker">6</span>'});
			var tabsIrelandUk = [
				new MMInfoBoxTab('Address', '<h6><a href=http://www.bpp.com/page.asp?w=20&Ref=2&usertyperef=2&pagetyperef=12&parentref=2&locationref=14&easyread=-1><strong>Ireland (Dublin) Study Centre</strong></a></h6>' + '<p>5 Lad Lane<br/>Dublin<br/><strong>Tel:</strong> 01-662-3395</p>'),
			];
			markerIrelandUk.setInfoBoxContent(tabsIrelandUk);
			
			var posIrelandUk2 = new MMLatLon(52.660552,-8.630276);
			/*markerIrelandUk2 = mapviewerUk.createMarker(posIrelandUk2, {'Ireland2': 'Default marker', 'text': '5'});*/
			markerIrelandUk2 = mapviewerUk.createMarker(posIrelandUk2, {'Ireland2':'', 'icon': icon, 'text':'<span class="mapMarker">12</span>'});
			var tabsIrelandUk2 = [
				new MMInfoBoxTab('Address', '<h6 style="background-position: 165px 18px"><a href=http://www.bpp.com/page.asp?w=20&Ref=2&usertyperef=2&pagetyperef=12&parentref=2&locationref=14&easyread=-1><strong>Ireland (Limerick) Study Centre</strong></a></h6>' + '<p>89 O\'Connell Street<br/>Limerick<br/><strong>Tel:</strong> 061-310884<br/><strong>Email:</strong> <a href=mailto:limerickreception@bpp.com>limerickreception@bpp.com</a><p>'),
			];
			markerIrelandUk2.setInfoBoxContent(tabsIrelandUk2);
			
			document.getElementById("tabLondon").style.display = "none";
			document.getElementById("tabEurope").style.display = "none";
			document.getElementById("itemLondon").style.border = "none";
			document.getElementById("itemEurope").style.border = "none";
		}
		if (tabName == "London")
		{
			// show the london tab as selected
			document.getElementById("itemLondon").className = "selected";
			// show the other tabs as deselected (by making the css class null)
			document.getElementById("itemUk").className = "";
			document.getElementById("itemEurope").className = "";
			// hide the uk study centres list
			document.getElementById("uk-list").style.display = "none";
			// hide the london study centres list
			document.getElementById("london-list").style.display = "block";
			// hide the eu study centres list
			document.getElementById("eu-list").style.display = "none";
			// Add the London map
			mapviewerLondon = new MultimapViewer(document.getElementById('mapviewerLondon'));
			// set the position of the map
			mapviewerLondon.goToPosition(new MMLatLon(51.51705,-0.14746));
			// set the zoom level of the map
			mapviewerLondon.setZoomFactor(13);
			// add a zoom map control
			pan_zoom_widget2 = new MMPanZoomWidget();
			mapviewerLondon.addWidget(pan_zoom_widget2);
			// add overview
			overview_widget2 = new MMOverviewWidget();
			mapviewerLondon.addWidget(overview_widget2);
			
			// ********************************************** London Map **************************************************
			
			var posShepherdsBush = new MMLatLon(51.50507,-0.2231);
			//markerShepherdsBush = mapviewerLondon.createMarker(posShepherdsBush, {'ShepherdsBush': 'Default marker', 'text':'1'});
			markerShepherdsBush = mapviewerLondon.createMarker(posShepherdsBush, {'ShepherdsBush':'', 'icon': icon, 'text':'<span class="mapMarker">1</span>'});
			var tabsShepherdsBush = [
				new MMInfoBoxTab('Address', '<h6 style="background-position: 165px 18px"><a href=http://www.bpp.com/studycentres/uk/london-shepherds-bush/><strong>Shepherd\'s Bush Study Centre</strong></a></h6>' + '<p>Aldine Place<br/>142-144 Uxbridge Road<br/>Shepherd\'s Bush Green<br/>London<br/>W12 8AA<br/>Tel (within UK): 0845 0751 100</p>'),
				/*new MMInfoBoxTab('Photo', '<h3>Shepherd\'s Bush</h3>'),*/
			];
			markerShepherdsBush.setInfoBoxContent(tabsShepherdsBush);
			
			var posKingsCross = new MMLatLon(51.53116,-0.12021);
			//markerKingsCross = mapviewerLondon.createMarker(posKingsCross, {'KingsCross': 'Default marker', 'text':'2'});
			markerKingsCross = mapviewerLondon.createMarker(posKingsCross, {'KingsCross':'', 'icon': icon, 'text':'<span class="mapMarker">2</span>'});
			var tabsKingsCross = [
				new MMInfoBoxTab('Address', '<h6><a href=http://www.bpp.com/studycentres/uk/london-kings-cross/><strong>King\'s Cross Study Centre</strong></a></h6>' + '<p>236-240 Pentonville Road<br/>King\'s Cross<br/>London<br/>N1 9JY<br/><strong>Tel:</strong> +44 (0)20 7520 7300<br/>Bookings: 0845 075 1100<p>'),
				/*new MMInfoBoxTab('Photo', '<h3>King\'s Cross</h3>'),*/
			];
			markerKingsCross.setInfoBoxContent(tabsKingsCross);
			
			var posHolborn = new MMLatLon(51.51802,-0.11945);
			/*markerHolborn = mapviewerLondon.createMarker(posHolborn, {'Holborn': 'Default marker', 'text':'3'});*/
			markerHolborn = mapviewerLondon.createMarker(posHolborn, {'Holborn':'', 'icon': icon, 'text':'<span class="mapMarker">3</span>'});
			var tabsHolborn = [
				new MMInfoBoxTab('Address', '<h6><a href=http://www.bpp.com/studycentres/uk/london-holborn/><strong>Holborn Study Centre</strong></a></h6>' + '<p>BPP Procter House<br/>1 Procter Street<br/>London<br/>WC1V 6DW<br/><strong>Tel:</strong> 0207 067 2800<br/>Bookings: 0845 075 1100</p>'),
				/*new MMInfoBoxTab('Photo', '<h3>Holborn</h3>'),*/
			];
			markerHolborn.setInfoBoxContent(tabsHolborn);
			
			var posLiverpoolStreet = new MMLatLon(51.51716,-0.08575);
			/*markerLiverpoolStreet = mapviewerLondon.createMarker(posLiverpoolStreet, {'LiverpoolStreet': 'Default marker', 'text':'4'});*/
			markerLiverpoolStreet = mapviewerLondon.createMarker(posLiverpoolStreet, {'LiverpoolStreet':'', 'icon': icon, 'text':'<span class="mapMarker">4</span>'});
			var tabsLiverpoolStreet = [
				new MMInfoBoxTab('Address', '<h6 style="background-position: 165px 18px"><a href=http://www.bpp.com/studycentres/uk/london-liverpool-street/><strong>Liverpool Street Study Centre</strong></a></h6>' + '<p>4th Floor<br/>3 London Wall Buildings<br/>EC2M 5PD<br/><strong>Tel:</strong> +44 (0)20 7786 5900<br/>Bookings: 0845 075 1100<br/><strong>Fax:</strong> +44 (0)20 7374 4008<p>'),
				/*new MMInfoBoxTab('Photo', '<h3>Liverpool Street</h3>'),*/
			];
			markerLiverpoolStreet.setInfoBoxContent(tabsLiverpoolStreet);
			
			var posWaterloo = new MMLatLon(51.50576,-0.11078);
			/*markerWaterloo = mapviewerLondon.createMarker(posWaterloo, {'Waterloo': 'Default marker', 'text':'5'});*/
			markerWaterloo = mapviewerLondon.createMarker(posWaterloo, {'Waterloo':'', 'icon': icon, 'text':'<span class="mapMarker">5</span>'});
			var tabsWaterloo = [
				new MMInfoBoxTab('Address', '<h6><a href=http://www.bpp.com/studycentres/uk/london-waterloo/><strong>Waterloo Study Centre</strong></a></h6>' + '<p>137 Stamford Street<br/>Waterloo<br/>London<br/>SE1 9NN<br/><strong>Tel:</strong> +44 (0)20 7633 4300<br/>Bookings: 0845 075 1100<p>'),
				/*new MMInfoBoxTab('Photo', '<h3>Waterloo</h3>'),*/
			];
			
			
			markerWaterloo.setInfoBoxContent(tabsWaterloo);
			
			var posFitzwilliamHouse = new MMLatLon(51.51446,-0.08034);
			/*markerWaterloo = mapviewerLondon.createMarker(posWaterloo, {'Waterloo': 'Default marker', 'text':'5'});*/
			markerFitzwilliamHouse = mapviewerLondon.createMarker(posFitzwilliamHouse, {'FitzwilliamHouse':'', 'icon': icon, 'text':'<span class="mapMarker">6</span>'});
			var tabsFitzwilliamHouse = [
				new MMInfoBoxTab('Address', '<h6><a href=http://www.bpp.com/studycentres/uk/london-fitzwilliam-house/><strong>BPP Business School</strong></a></h6>' + '<p>2 St Mary Axe,<br/>London<br/>EC3A 8BF <br/><strong>Tel:</strong> 0845 075 1100 </p>'),
				/*new MMInfoBoxTab('Photo', '<h3>Waterloo</h3>'),*/
			];
			markerFitzwilliamHouse.setInfoBoxContent(tabsFitzwilliamHouse);
		
			document.getElementById("tabUk").style.display = "none";
			document.getElementById("tabEurope").style.display = "none";
			document.getElementById("itemUk").style.border = "none";
			document.getElementById("itemEurope").style.border = "none";
		}
		if (tabName == "Europe")
		{
			// show the europe tab as selected
			document.getElementById("itemEurope").className = "selected";
			// show the other tabs as deselected (by making the css class null)
			document.getElementById("itemUk").className = "";
			document.getElementById("itemLondon").className = "";
			// hide the uk study centres list
			document.getElementById("uk-list").style.display = "none";
			// hide the london study centres list
			document.getElementById("london-list").style.display = "none";
			// hide the eu study centres list
			document.getElementById("eu-list").style.display = "block";
			// Add the Europe map
			mapviewerEurope = new MultimapViewer(document.getElementById('mapviewerEurope'));
			// set the position of the map
			mapviewerEurope.goToPosition(new MMLatLon(47.457809,9.140625));
			// set the zoom level of the map
			mapviewerEurope.setZoomFactor(5);
			// add a zoom map control
			pan_zoom_widget3 = new MMPanZoomWidget();
			mapviewerEurope.addWidget(pan_zoom_widget3);
			// add overview
			overview_widget3 = new MMOverviewWidget();
			mapviewerEurope.addWidget(overview_widget3);
			
			// ********************************************** European Map **************************************************
			
			var posBulgaria = new MMLatLon(42.747012,23.115234);
			/*markerBulgaria = mapviewerEurope.createMarker(posBulgaria, {'Bulgaria': 'Default marker', 'text': '1'});*/
			markerBulgaria = mapviewerEurope.createMarker(posBulgaria, {'Bulgaria':'', 'icon': icon, 'text':'<span class="mapMarker">1</span>'});
			var tabsBulgaria = [
				new MMInfoBoxTab('Address', '<h6><a href=http://www.bpp.com/page.asp?w=20&Ref=2&usertyperef=2&pagetyperef=12&parentref=2&locationref=6&easyread=-1><strong>Bulgaria Study Centre</strong></a></h6>' + '<p>Elieff Center for Education and Culture<br/>1 University Park Street<br/>Studentski grad<br/>1700 Sofia<br/><strong>Tel:</strong> +359 (0)2 960 7918<p>'),
			];
			markerBulgaria.setInfoBoxContent(tabsBulgaria);
			
			/* China (Beijing) */
			var posChinaB = new MMLatLon(39.77984,116.47038);
			markerChinaB = mapviewerEurope.createMarker(posChinaB, {'China (Beijing)':'', 'icon': icon, 'text':'<span class="mapMarker">2</span>'});
			var tabsChinaB  = [
				new MMInfoBoxTab('Address', '<h6><a href=http://www.bppchina.com><strong>China (Beijing)</strong></a></h6>' + '<p>Oxford Professional Training<br/>Unit B, 9th Floor<br/>China Merchants Tower<br/>No. 118 Jianguo Road<br/>Chao Yang District<br/>Beijing 100022</p>'),
			];
			markerChinaB.setInfoBoxContent(tabsChinaB);
			
			/* China (Shanghai) */
			var posChinaS = new MMLatLon(31.09323,121.39225);
			markerChinaS = mapviewerEurope.createMarker(posChinaS, {'China (Shanghai)':'', 'icon': icon, 'text':'<span class="mapMarker">3</span>'});
			var tabsChinaS = [
				new MMInfoBoxTab('Address', '<h6><a href=http://www.bppchina.com><strong>China (Shanghai)</strong></a></h6>' + '<p>K. Wah Center<br/>No. 1010 Huai Hai (Central) Road<br/>Room 2767, 27th Floor<br/>Shanghai 200031<br/>People"s Republic of China</p>'),
			];
			markerChinaS.setInfoBoxContent(tabsChinaS);
			
			var posCzechRepublic = new MMLatLon(50.064192,14.370117);
			/*markerCzechRepublic = mapviewerEurope.createMarker(posCzechRepublic, {'CzechRepublic': 'Default marker', 'text': '2'});*/
			markerCzechRepublic = mapviewerEurope.createMarker(posCzechRepublic, {'CzechRepublic':'', 'icon': icon, 'text':'<span class="mapMarker">4</span>'});
			var tabsCzechRepublic = [
				new MMInfoBoxTab('Address', '<h6 style="background-position: 165px 18px"><a href=http://www.bpp.com/page.asp?w=20&Ref=2&usertyperef=2&pagetyperef=12&parentref=2&locationref=3&easyread=-1><strong>Czech Republic Study Centre</strong></a></h6>' + '<p>Andel Business Centre<br/>Radlická 1c<br/>150 00 Prague 5<br/>Second Floor<br/><strong>Tel:</strong> +420 257 533 989<br/><strong>Email:</strong> <a href=mailto:prague@bpp.com>prague@bpp.com</a></p>'),
			];
			markerCzechRepublic.setInfoBoxContent(tabsCzechRepublic);
			
			// Guernsey
			var posGuernseyEurope = new MMLatLon(49.45495, -2.5812);
			markerGuernseyEurope = mapviewerEurope.createMarker(posGuernseyEurope, {'Guernsey':'', 'icon': icon, 'text':'<span class="mapMarker">5</span>'});
			var tabsGuernseyEurope = [
				new MMInfoBoxTab('Address', '<h6><a href=http://www.bpp.com/studycentres/uk/guernsey/><strong>Guernsey Study Centre</strong></a></h6>' + '<p>La Villiaze<br/>Forest<br/>Guernsey<br/>GY8 0HG<br/><strong>Tel:</strong> 01481 266176<br/><strong>Fax:</strong> 01481 265955<br/><strong>Email:</strong> <a href=mailto:guernseyinfo@bpp.com>guernseyinfo@bpp.com</a><p>'),
			];
			markerGuernseyEurope.setInfoBoxContent(tabsGuernseyEurope);
			
			var posHungary = new MMLatLon(47.487513,19.072266);
			/*markerHungary = mapviewerEurope.createMarker(posHungary, {'Hungary': 'Default marker', 'text':'3'});*/
			markerHungary = mapviewerEurope.createMarker(posHungary, {'Hungary':'', 'icon': icon, 'text':'<span class="mapMarker">6</span>'});
			var tabsHungary = [
				new MMInfoBoxTab('Address', '<h6><a href=http://www.bpp.com/page.asp?w=20&Ref=2&usertyperef=2&pagetyperef=12&parentref=2&locationref=2&easyread=-1><strong>Hungary Study Centre</strong></a></h6>' + '<p>Károly krt. 3/A<br/>H-1075 Budapest<br/>Hungary<br/><strong>Tel:</strong> +36 1 483 1220/1221<br/><strong>Email:</strong> <a href=mailto:budapest@bpp.com>budapest@bpp.com</a></p>'),
			];
			markerHungary.setInfoBoxContent(tabsHungary);
			
			var posIreland = new MMLatLon(53.336024,-6.24886);
			/*markerIreland = mapviewerEurope.createMarker(posIreland, {'Ireland': 'Default marker', 'text': '4'});*/
			markerIreland = mapviewerEurope.createMarker(posIreland, {'Ireland':'', 'icon': icon, 'text':'<span class="mapMarker">7</span>'});
			var tabsIreland = [
				new MMInfoBoxTab('Address', '<h6 style="background-position: 165px 18px"><a href=http://www.bpp.com/page.asp?w=20&Ref=2&usertyperef=2&pagetyperef=12&parentref=2&locationref=14&easyread=-1><strong>Ireland (Dublin) Study Centre</strong></a></h6>' + '<p>5 Lad Lane<br/>Dublin<br/><strong>Tel:</strong> 01-662-3395</p>'),
			];
			markerIreland.setInfoBoxContent(tabsIreland);
			
			var posIreland2 = new MMLatLon(52.660552,-8.630276);
			/*markerIreland2 = mapviewerEurope.createMarker(posIreland2, {'Ireland2': 'Default marker', 'text': '5'});*/
			markerIreland2 = mapviewerEurope.createMarker(posIreland2, {'Ireland2':'', 'icon': icon, 'text':'<span class="mapMarker">8</span>'});
			var tabsIreland2 = [
				new MMInfoBoxTab('Address', '<h6 style="background-position: 165px 18px"><a href=http://www.bpp.com/page.asp?w=20&Ref=2&usertyperef=2&pagetyperef=12&parentref=2&locationref=14&easyread=-1><strong>Ireland (Limerick) Study Centre</strong></a></h6>' + '<p>89 O\'Connell Street<br/>Limerick<br/><strong>Tel:</strong> 061-310884<br/><strong>Email:</strong> <a href=mailto:limerickreception@bpp.com>limerickreception@bpp.com</a><p>'),
			];
			markerIreland2.setInfoBoxContent(tabsIreland2);
			
			// Jersey
			var posJerseyEurope = new MMLatLon(49.22185, -2.13179);
			markerJerseyEurope = mapviewerEurope.createMarker(posJerseyEurope, {'Jersey':'', 'icon': icon, 'text':'<span class="mapMarker">9</span>'});
			var tabsJerseyEurope = [
				new MMInfoBoxTab('Address', '<h6><a href=http://www.bpp.com/studycentres/uk/jersey/><strong>Jersey Study Centre</strong></a></h6>' + '<p>19 Hilary Street<br/>St Helier<br/>Jersey<br/>JE2 4SX<br/><strong>Tel:</strong> 01534 711800<br/><strong>Fax:</strong> 01534 711801<br/><strong>Email:</strong> <a href=mailto:jerseybpp@bpp.com>jerseybpp@bpp.com</a></p>'),
			];
			markerJerseyEurope.setInfoBoxContent(tabsJerseyEurope);
			
			var posMalta = new MMLatLon(35.880149,14.447021);
			markerMalta = mapviewerEurope.createMarker(posMalta, {'Malta':'', 'icon': icon, 'text':'<span class="mapMarker">10</span>'});
			
			var tabsMalta = [
							/* new MMInfoBoxTab('Address', '<h6><a href=http://www.bpp.com/studycentres/default.asp><strong>BPP Professional Education Malta Ltd</strong></a></h6><p>Level 1, Tower Business Centre<br/>Tower Street<br/>Swatar BKR 3013<br/>Malta<br/><strong>Tel:</strong> +356 2131 4896<br/><strong>Email:</strong> <a href=mailto:mtabone@bpp.com>mtabone@bpp.com
</a></p>'),
			];*/
							 new MMInfoBoxTab('Address', '<h6><a href=http://www.bppmalta.com><strong>BPP Professional Education<br/> Malta Ltd</strong></a></h6>' + '<p>Level 1, Tower Business Centre<br/>Tower Street<br/>Swatar BKR 3013<br/>Malta<br/><strong>Tel:</strong> +356 2131 4896<br/><strong>Email:</strong> <a href=mailto:mtabone@bpp.com>mtabone@bpp.com</a></p>'),
			];
			
			markerMalta.setInfoBoxContent(tabsMalta);
						
			var posNetherlands = new MMLatLon(52.37272,4.8985);
			markerNetherlands = mapviewerEurope.createMarker(posNetherlands, {'Netherlands':'', 'icon': icon, 'text':'<span class="mapMarker">11</span>'});
			var tabsNetherlands = [
				new MMInfoBoxTab('Address', '<h6><a href=http://www.bpp.com/page.asp?w=20&Ref=2&usertyperef=2&pagetyperef=3&parentref=2&locationref=15&easyread=-1><strong>Netherlands Study Centre</strong></a></h6>' + '<p>Paasheuvelweg 35<br/>1105 BG<br/>Amsterdam-Zuidoost<br/>The Netherlands<br/><strong>Tel:</strong> +31-20-5677812<br/><strong>Email:</strong> <a href=mailto:a.vanraalten@bppnederland.nl>a.vanraalten@bppnederland.nl</a></p>'),
			];
			markerNetherlands.setInfoBoxContent(tabsNetherlands);
			
			var posPoland = new MMLatLon(52.133488,21.049805);
			/*markerPoland = mapviewerEurope.createMarker(posPoland, {'Poland': 'Default marker', 'text':'7'});*/
			markerPoland = mapviewerEurope.createMarker(posPoland, {'Poland':'', 'icon': icon, 'text':'<span class="mapMarker">12</span>'});
			var tabsPoland = [
				new MMInfoBoxTab('Address', '<h6><a href=http://www.bpp.com/page.asp?w=20&Ref=2&usertyperef=2&pagetyperef=12&parentref=2&locationref=4&easyread=-1><strong>Poland Study Centre</strong></a></h6>' + '<p>ul. Chmielna 132/134<br/>Aktyn Business Centre<br/>00-805 Warszawa<br/><strong>Tel:</strong> (+48 22) 65 62 700<br/><strong>Email:</strong> <a href=mailto:students@bpp.pl>students@bpp.pl</a></p>'),
			];
			markerPoland.setInfoBoxContent(tabsPoland);
			
			var posPoland2 = new MMLatLon(50.08333,19.91667);
			markerPoland2 = mapviewerEurope.createMarker(posPoland2, {'Poland':'', 'icon': icon, 'text':'<span class="mapMarker">17</span>'});
			var tabsPoland2 = [
				new MMInfoBoxTab('Address', '<h6><a href=http://www.bpp.com/page.asp?w=20&Ref=2&usertyperef=2&pagetyperef=12&parentref=2&locationref=4&easyread=-1><strong>Poland Study Centre</strong></a></h6>' + '<p>ul. Dietla 93<br />31-031 Krakow<br /><strong>Tel:</strong> (+48 12) 42 85 550<br /><strong>Email:</strong> <a href=mailto:krakow@bpp.pl>krakow@bpp.pl</a></p>'),
			];
			markerPoland2.setInfoBoxContent(tabsPoland2);
			
			var posRomania = new MMLatLon(44.465151,26.103516);
			/*markerRomania = mapviewerEurope.createMarker(posRomania, {'Romania': 'Default marker', 'text':'8'});*/
			markerRomania = mapviewerEurope.createMarker(posRomania, {'Romania':'', 'icon': icon, 'text':'<span class="mapMarker">13</span>'});
			var tabsRomania = [
				new MMInfoBoxTab('Address', '<h6><a href=http://www.bpp.com/page.asp?w=20&Ref=2&usertyperef=2&pagetyperef=12&parentref=2&locationref=7&easyread=-1><strong>Romania Study Centre</strong></a></h6>' + '<p>Bucharest<br/>Blvd. Magheru 32-34<br/><strong>Tel:</strong> +40 21 212 25 91<br/>E-mail: <a href=mailto:bucharest@bpp.com>bucharest@bpp.com<a><p>'),
			];
			markerRomania.setInfoBoxContent(tabsRomania);
			
			var posSlovakia = new MMLatLon(48.148364,17.107344);
			/*markerSlovakia = mapviewerEurope.createMarker(posSlovakia, {'Slovakia': 'Default marker', 'text':'9'});*/
			markerSlovakia = mapviewerEurope.createMarker(posSlovakia, {'Slovakia':'', 'icon': icon, 'text':'<span class="mapMarker">14</span>'});
			var tabsSlovakia = [
				new MMInfoBoxTab('Address', '<h6><a href=http://www.bpp.com/page.asp?w=20&Ref=2&usertyperef=2&pagetyperef=12&parentref=2&locationref=5&easyread=-1><strong>Slovakia Study Centre</strong></a></h6>' + '<p>Apollo Business Centre II<br/>Prievozska 4/B<br/>821 09 Bratislava<br/>Slovakia<br/><strong>Tel:</strong> +421 2 5810 4032<br/><strong>Email:</strong> <a href=mailto:bratislava@bpp.com>bratislava@bpp.com</a></p>'),
			];
			markerSlovakia.setInfoBoxContent(tabsSlovakia);
			
			var posSlovenia = new MMLatLon(46.042736,14.501953);
			/*markerSlovenia = mapviewerEurope.createMarker(posSlovenia, {'Slovenia': 'Default marker', 'text':'10'});*/
			markerSlovenia = mapviewerEurope.createMarker(posSlovenia, {'Slovenia':'', 'icon': icon, 'text':'<span class="mapMarker">15</span>'});
			var tabsSlovenia = [
				new MMInfoBoxTab('Address', '<h6><a href=http://www.bpp.com/page.asp?w=20&Ref=2&usertyperef=2&pagetyperef=12&parentref=2&locationref=10&easyread=-1><strong>Slovenia Study Centre</strong></a></h6>' + '<p>Gospodarsko Razstavisce<br/>Dunajska<br/>cesta 18</p>'),
			];
			markerSlovenia.setInfoBoxContent(tabsSlovenia);
			
			var posSerbia = new MMLatLon(44.804755,20.478101);
			/*markerSerbia = mapviewerEurope.createMarker(posSerbia, {'Serbia': 'Default marker', 'text':'11'});*/
			markerSerbia = mapviewerEurope.createMarker(posSerbia, {'Serbia':'', 'icon': icon, 'text':'<span class="mapMarker">16</span>'});
			var tabsSerbia = [
				new MMInfoBoxTab('Address', '<h6><a href=http://www.bpp.com/page.asp?w=20&Ref=2&usertyperef=2&pagetyperef=3&parentref=2&locationref=9&easyread=-1><strong>Serbia Study Centre</strong></a></h6>' + '<p>Belgrade<br/>Serbia<p>'),
			];
			markerSerbia.setInfoBoxContent(tabsSerbia);
		
			document.getElementById("tabUk").style.display = "none";
			document.getElementById("tabLondon").style.display = "none";
			document.getElementById("itemUk").style.border = "none";
			document.getElementById("itemLondon").style.border = "none";
		}
	}
			
    MMAttachEvent( window, 'load', onLoad );