function initialize() {

    // Set latitude and longitude of Creode's office
    var latlng = new google.maps.LatLng(53.7991887, -1.553412);
    var settings = {
    	// how far zoomed into the map we will be
    	zoom: 15,
    	// sets the centre to the latlng variable created earlier
    	center: latlng,
    	// sets visual styles, removes the left menu and replaces it with a drop-down menu
    	mapTypeControl: true,
    	mapTypeControlOptions: {style: google.maps.MapTypeControlStyle.DROPDOWN_MENU},
    	navigationControl: true,
    	navigationControlOptions: {style: google.maps.NavigationControlStyle.SMALL},
    	mapTypeId: google.maps.MapTypeId.ROADMAP
	};
	// creates variable map and makes it use the styles we've created above.
	var map = new google.maps.Map(document.getElementById("map_canvas"), settings);
	var contentString = '<div id="map-content">'+
		'<div id="siteNotice">'+
		'</div>'+
		'<h4 id="firstHeading" class="firstHeading">Creode</h1>'+
		'<div id="bodyContent">'+
		'<p>This is our lovely office, located at 9 Somers Street. Come and join us for a cuppa and a chat about your next project.</p>'+
		'</div>'+
		'</div>';

    var infowindow = new google.maps.InfoWindow({
		content: contentString
    });
	var companyLogo = new google.maps.MarkerImage('http://creode.co.uk/wp-content/themes/creode/images/map-marker.png',
    	new google.maps.Size(100,60),
    	new google.maps.Point(0,0),
    	new google.maps.Point(50,60)
    );
    var companyShadow = new google.maps.MarkerImage('http://creode.co.uk/wp-content/themes/creode/images/map-shadow.png',
    	new google.maps.Size(130,60),
    	new google.maps.Point(0,0),
    	new google.maps.Point(50,60)
    );
	var creodeOffice = new google.maps.LatLng(53.7991887, -1.553412);
    var creodeMarker = new google.maps.Marker({
  		position: creodeOffice,
  		map: map,
  		icon: companyLogo,
  		shadow: companyShadow,
  		title:"Our lovely little office",
  		zIndex: 4
    });
    var parkLogo1m = new google.maps.MarkerImage('http://creode.co.uk/wp-content/themes/creode/images/parking-marker-1.png',
    	new google.maps.Size(40,80),
    	new google.maps.Point(0,0),
    	new google.maps.Point(20,80)
    );
    var parkShadow1m = new google.maps.MarkerImage('http://creode.co.uk/wp-content/themes/creode/images/parking-shadow.png',
    	new google.maps.Size(70,80),
    	new google.maps.Point(0,0),
    	new google.maps.Point(20,80)
    );
	var p1Posm = new google.maps.LatLng(53.79864, -1.55276);
    var p1Markerm = new google.maps.Marker({
  		position: p1Posm,
  		map: map,
  		icon: parkLogo1m,
  		shadow: parkShadow1m,
  		title:"Woodhouse Lane Car Park",
  		zIndex: 2
    });
    var parkLogo2m = new google.maps.MarkerImage('http://creode.co.uk/wp-content/themes/creode/images/parking-marker-2.png',
    	new google.maps.Size(40,80),
    	new google.maps.Point(0,0),
    	new google.maps.Point(20,80)
    );
    var parkShadow2m = new google.maps.MarkerImage('http://creode.co.uk/wp-content/themes/creode/images/parking-shadow.png',
    	new google.maps.Size(70,80),
    	new google.maps.Point(0,0),
    	new google.maps.Point(20,80)
    );
	var p2Posm = new google.maps.LatLng(53.797319, -1.555555);
    var p2Markerm = new google.maps.Marker({
  		position: p2Posm,
  		map: map,
  		icon: parkLogo2m,
  		shadow: parkShadow2m,
  		title:"Rose Bowl Car Park",
  		zIndex: 2
    });
    var parkLogo3m = new google.maps.MarkerImage('http://creode.co.uk/wp-content/themes/creode/images/parking-marker-3.png',
    	new google.maps.Size(40,80),
    	new google.maps.Point(0,0),
    	new google.maps.Point(20,80)
    );
    var parkShadow3m = new google.maps.MarkerImage('http://creode.co.uk/wp-content/themes/creode/images/parking-shadow.png',
    	new google.maps.Size(70,80),
    	new google.maps.Point(0,0),
    	new google.maps.Point(20,80)
    );
	var p3Posm = new google.maps.LatLng(53.798127, -1.551771);
    var p3Markerm = new google.maps.Marker({
  		position: p3Posm,
  		map: map,
  		icon: parkLogo3m,
  		shadow: parkShadow3m,
  		title:"Merrion Centre Car Park",
  		zIndex: 2
    });

    google.maps.event.addListener(creodeMarker, 'click', function() {
    	infowindow.open(map,creodeMarker);
    });
    
    // parking map 1
    var latlngp1 = new google.maps.LatLng(53.79864, -1.55276);
    var settingsp1 = {
    	zoom: 15,
    	center:latlngp1,
    	mapTypeControl: true,
    	mapTypeControlOptions: {style: google.maps.MapTypeControlStyle.DROPDOWN_MENU},
    	navigationControl: true,
    	navigationControlOptions: {style: google.maps.NavigationControlStyle.SMALL},
    	mapTypeId: google.maps.MapTypeId.ROADMAP
    };
    var mapp1 = new google.maps.Map(document.getElementById("park_map_1"), settingsp1);
    var parkLogo1 = new google.maps.MarkerImage('http://creode.co.uk/wp-content/themes/creode/images/parking-marker-1.png',
    	new google.maps.Size(40,80),
    	new google.maps.Point(0,0),
    	new google.maps.Point(20,80)
    );
    var parkShadow1 = new google.maps.MarkerImage('http://creode.co.uk/wp-content/themes/creode/images/parking-shadow.png',
    	new google.maps.Size(70,80),
    	new google.maps.Point(0,0),
    	new google.maps.Point(20,80)
    );
	var p1Pos = new google.maps.LatLng(53.79864, -1.55276);
    var p1Marker = new google.maps.Marker({
  		position: p1Pos,
  		map: mapp1,
  		icon: parkLogo1,
  		shadow: parkShadow1,
  		title:"Woodhouse Lane Car Park"
    });
	var companyLogo = new google.maps.MarkerImage('http://creode.co.uk/wp-content/themes/creode/images/map-marker.png',
    	new google.maps.Size(100,60),
    	new google.maps.Point(0,0),
    	new google.maps.Point(50,60)
    );
    var companyShadow = new google.maps.MarkerImage('http://creode.co.uk/wp-content/themes/creode/images/map-shadow.png',
    	new google.maps.Size(130,60),
    	new google.maps.Point(0,0),
    	new google.maps.Point(50,60)
    );
	var creodeOffice = new google.maps.LatLng(53.7991887, -1.553412);
    var creodeMarker = new google.maps.Marker({
  		position: creodeOffice,
  		map: mapp1,
  		icon: companyLogo,
  		shadow: companyShadow,
  		title:"Our lovely little office",
  		zIndex: 4
    });
  	// parking map 2
    var latlngp2 = new google.maps.LatLng(53.797319, -1.555555);
    var settingsp2 = {
    	zoom: 15,
    	center:latlngp2,
    	mapTypeControl: true,
    	mapTypeControlOptions: {style: google.maps.MapTypeControlStyle.DROPDOWN_MENU},
    	navigationControl: true,
    	navigationControlOptions: {style: google.maps.NavigationControlStyle.SMALL},
    	mapTypeId: google.maps.MapTypeId.ROADMAP
    };
    var mapp2 = new google.maps.Map(document.getElementById("park_map_2"), settingsp2);
    var parkLogo2 = new google.maps.MarkerImage('http://creode.co.uk/wp-content/themes/creode/images/parking-marker-2.png',
    	new google.maps.Size(40,80),
    	new google.maps.Point(0,0),
    	new google.maps.Point(20,80)
    );
    var parkShadow2 = new google.maps.MarkerImage('http://creode.co.uk/wp-content/themes/creode/images/parking-shadow.png',
    	new google.maps.Size(70,80),
    	new google.maps.Point(0,0),
    	new google.maps.Point(20,80)
    );
	var p2Pos = new google.maps.LatLng(53.797319, -1.555555);
    var p2Marker = new google.maps.Marker({
  		position: p2Pos,
  		map: mapp2,
  		icon: parkLogo2,
  		shadow: parkShadow2,
  		title:"Rose Bowl Car Park"
    });
	var companyLogo = new google.maps.MarkerImage('http://creode.co.uk/wp-content/themes/creode/images/map-marker.png',
    	new google.maps.Size(100,60),
    	new google.maps.Point(0,0),
    	new google.maps.Point(50,60)
    );
    var companyShadow = new google.maps.MarkerImage('http://creode.co.uk/wp-content/themes/creode/images/map-shadow.png',
    	new google.maps.Size(130,60),
    	new google.maps.Point(0,0),
    	new google.maps.Point(50,60)
    );
	var creodeOffice = new google.maps.LatLng(53.7991887, -1.553412);
    var creodeMarker = new google.maps.Marker({
  		position: creodeOffice,
  		map: mapp2,
  		icon: companyLogo,
  		shadow: companyShadow,
  		title:"Our lovely little office",
  		zIndex: 4
    });

  	// parking map 3
    var latlngp3 = new google.maps.LatLng(53.798127, -1.551771);
    var settingsp3 = {
    	zoom: 15,
    	center:latlngp3,
    	mapTypeControl: true,
    	mapTypeControlOptions: {style: google.maps.MapTypeControlStyle.DROPDOWN_MENU},
    	navigationControl: true,
    	navigationControlOptions: {style: google.maps.NavigationControlStyle.SMALL},
    	mapTypeId: google.maps.MapTypeId.ROADMAP
    };
    var mapp3 = new google.maps.Map(document.getElementById("park_map_3"), settingsp3);
    var parkLogo3 = new google.maps.MarkerImage('http://creode.co.uk/wp-content/themes/creode/images/parking-marker-3.png',
    	new google.maps.Size(40,80),
    	new google.maps.Point(0,0),
    	new google.maps.Point(20,80)
    );
    var parkShadow3 = new google.maps.MarkerImage('http://creode.co.uk/wp-content/themes/creode/images/parking-shadow.png',
    	new google.maps.Size(70,80),
    	new google.maps.Point(0,0),
    	new google.maps.Point(20,80)
    );
	var p3Pos = new google.maps.LatLng(53.798127, -1.551771);
    var p3Marker = new google.maps.Marker({
  		position: p3Pos,
  		map: mapp3,
  		icon: parkLogo3,
  		shadow: parkShadow3,
  		title:"Merrion Centre Car Park"
    });
	var companyLogo = new google.maps.MarkerImage('http://creode.co.uk/wp-content/themes/creode/images/map-marker.png',
    	new google.maps.Size(100,60),
    	new google.maps.Point(0,0),
    	new google.maps.Point(50,60)
    );
    var companyShadow = new google.maps.MarkerImage('http://creode.co.uk/wp-content/themes/creode/images/map-shadow.png',
    	new google.maps.Size(130,60),
    	new google.maps.Point(0,0),
    	new google.maps.Point(50,60)
    );
	var creodeOffice = new google.maps.LatLng(53.7991887, -1.553412);
    var creodeMarker = new google.maps.Marker({
  		position: creodeOffice,
  		map: mapp3,
  		icon: companyLogo,
  		shadow: companyShadow,
  		title:"Our lovely little office",
  		zIndex: 4
    });


    // Set latitude and longitude of Creode's office
    var latlng4 = new google.maps.LatLng(51.51353089497275, -0.1300310045480);
    var settings4 = {
    	// how far zoomed into the map we will be
    	zoom: 15,
    	// sets the centre to the latlng variable created earlier
    	center: latlng4,
    	// sets visual styles, removes the left menu and replaces it with a drop-down menu
    	mapTypeControl: true,
    	mapTypeControlOptions: {style: google.maps.MapTypeControlStyle.DROPDOWN_MENU},
    	navigationControl: true,
    	navigationControlOptions: {style: google.maps.NavigationControlStyle.SMALL},
    	mapTypeId: google.maps.MapTypeId.ROADMAP
	};
	// creates variable map and makes it use the styles we've created above.
	var map4 = new google.maps.Map(document.getElementById("map_canvas_ldn"), settings4);
	var contentString4 = '<div id="map-content">'+
		'<div id="siteNotice">'+
		'</div>'+
		'<h4 id="firstHeading" class="firstHeading">Creode</h1>'+
		'<div id="bodyContent">'+
		'<p>This is our lovely office, located at 12 Moor Street. Come and join us for a cuppa and a chat about your next project.</p>'+
		'</div>'+
		'</div>';

    var infowindow4 = new google.maps.InfoWindow({
		content: contentString4
    });
	var companyLogo4 = new google.maps.MarkerImage('http://creode.co.uk/wp-content/themes/creode/images/map-marker.png',
    	new google.maps.Size(100,60),
    	new google.maps.Point(0,0),
    	new google.maps.Point(50,60)
    );
    var companyShadow4 = new google.maps.MarkerImage('http://creode.co.uk/wp-content/themes/creode/images/map-shadow.png',
    	new google.maps.Size(130,60),
    	new google.maps.Point(0,0),
    	new google.maps.Point(50,60)
    );
	var creodeOffice4 = new google.maps.LatLng(51.51353089497275, -0.1300310045480);
    var creodeMarker4 = new google.maps.Marker({
  		position: creodeOffice4,
  		map: map4,
  		icon: companyLogo4,
  		shadow: companyShadow4,
  		title:"Our London office",
  		zIndex: 4
    });
  	
}
