// JavaScript Document
function initialize() {
		var latlng = new google.maps.LatLng(51.10002899, 0.838);
		var settings = {
			zoom: 9,
			center: latlng,
			mapTypeControl: true,
                        scrollwheel: false,
			mapTypeControlOptions: {style: google.maps.MapTypeControlStyle.DROPDOWN_MENU},
			navigationControl: true,
			navigationControlOptions: {style: google.maps.NavigationControlStyle.LARGE},
			mapTypeId: google.maps.MapTypeId.ROADMAP
    };

var map = new google.maps.Map(document.getElementById("map_canvas"), settings);
	var companyString = '<div id="content">'+
					'<div id="sitenotice">'+
					'</div>'+
					'<h4 id="gmapfirstheading" class="firstHeading">Ashcroft Coast Holiday Park</h4>'+
					'<div id="gmapbodycontent">'+
					'<p>Minster-on-Sea, Isle of Sheppey</p>'+
					'<p><img src="images/hph_logo.jpg" align="right"></img></p>'+
					'<p>Find more information on the facilities, accommodation and location</p>'+
					'<p><a href="http://www.holidayparkhols.co.uk/kent/ashcroft_coast_holiday_park.htm">From Here</a></p>'+
					'</div>'+
					'</div>';
				var companywindow = new google.maps.InfoWindow({
					content: companyString
				});
				
var kingsdownString = '<div id="content">'+
					'<div id="sitenotice">'+
					'</div>'+
					'<h4 id="gmapfirstheading" class="firstHeading">Kingsdown Park Holiday Park</h4>'+
					'<div id="gmapbodycontent">'+
					'<p>Kingsdown, Kent</p>'+
					'<p><img src="images/hph_logo.jpg" align="right"></img></p>'+
					'<p>Find more information on the facilities, accommodation and location</p>'+
					'<p><a href="http://www.holidayparkhols.co.uk/kent/kingsdown_park_holiday_park.htm">From Here</a></p>'+
					'</div>'+
					'</div>';
				var kingsdownwindow = new google.maps.InfoWindow({
					content: kingsdownString
				});				

var newbeachString = '<div id="content">'+
					'<div id="sitenotice">'+
					'</div>'+
					'<h4 id="gmapfirstheading" class="firstHeading">New Beach Bay Holiday Park</h4>'+
					'<div id="gmapbodycontent">'+
					'<p>Dymchurch, Kent</p>'+
					'<p><img src="images/hph_logo.jpg" align="right"></img></p>'+
					'<p>Find more information on the facilities, accommodation and location</p>'+
					'<p><a href="http://www.holidayparkhols.co.uk/kent/new_beach_holiday_park.htm">From Here</a></p>'+
					'</div>'+
					'</div>';
				var newbeachwindow = new google.maps.InfoWindow({
					content: newbeachString
				});	
				
var eversleighString = '<div id="content">'+
					'<div id="sitenotice">'+
					'</div>'+
					'<h4 id="gmapfirstheading" class="firstHeading">Eversleigh Woodland Lodges Holiday Park</h4>'+
					'<div id="gmapbodycontent">'+
					'<p>Ashford, Kent</p>'+
					'<p><img src="images/hph_logo.jpg" align="right"></img></p>'+
					'<p>Find more information on the facilities, accommodation and location</p>'+
					'<p><a href="http://www.holidayparkhols.co.uk/isleofwight/eversleigh_woodland_lodges.htm">From Here</a></p>'+
					'</div>'+
					'</div>';
				var eversleighwindow = new google.maps.InfoWindow({
					content: eversleighString
				});
				
var hartsString = '<div id="content">'+
					'<div id="sitenotice">'+
					'</div>'+
					'<h4 id="gmapfirstheading" class="firstHeading">Harts Holiday Park</h4>'+
					'<div id="gmapbodycontent">'+
					'<p>Leysdown, Kent</p>'+
					'<p><img src="images/hph_logo.jpg" align="right"></img></p>'+
					'<p>Find more information on the facilities, accommodation and location</p>'+
					'<p><a href="http://www.holidayparkhols.co.uk/kent/harts_holiday_park.htm">From Here</a></p>'+
					'</div>'+
					'</div>';
				var hartswindow = new google.maps.InfoWindow({
					content: hartsString
				});				
				
var romneysandsString = '<div id="content">'+
					'<div id="sitenotice">'+
					'</div>'+
					'<h4 id="gmapfirstheading" class="firstHeading">Romney Sands Holiday Park</h4>'+
					'<div id="gmapbodycontent">'+
					'<p>New Romney, Kent</p>'+
					'<p><img src="images/hph_logo.jpg" align="right"></img></p>'+
					'<p>Find more information on the facilities, accommodation and location</p>'+
					'<p><a href="http://www.holidayparkhols.co.uk/kent/romney_sands_holiday_park.htm">From Here</a></p>'+
					'</div>'+
					'</div>';
				var romneysandswindow = new google.maps.InfoWindow({
					content: romneysandsString
				});	
                
var stmargaretsString = '<div id="content">'+
					'<div id="sitenotice">'+
					'</div>'+
					'<h4 id="gmapfirstheading" class="firstHeading">St Margarets Bay Holiday Park</h4>'+
					'<div id="gmapbodycontent">'+
					'<p>Cliffe, Kent</p>'+
					'<p><img src="images/hph_logo.jpg" align="right"></img></p>'+
					'<p>Find more information on the facilities, accommodation and location</p>'+
					'<p><a href="http://www.holidayparkhols.co.uk/kent/st_margarets_bay_holiday_park.htm">From Here</a></p>'+
					'</div>'+
					'</div>';
				var stmargaretswindow = new google.maps.InfoWindow({
					content: stmargaretsString
				});
                
var marlieString = '<div id="content">'+
					'<div id="sitenotice">'+
					'</div>'+
					'<h4 id="gmapfirstheading" class="firstHeading">Marlie Farm Holiday Park</h4>'+
					'<div id="gmapbodycontent">'+
					'<p>New Romney, Kent</p>'+
					'<p><img src="images/hph_logo.jpg" align="right"></img></p>'+
					'<p>Find more information on the facilities, accommodation and location</p>'+
					'<p><a href="http://www.holidayparkhols.co.uk/kent/marlie_farm_holiday_park.htm">From Here</a></p>'+
					'</div>'+
					'</div>';
				var marliewindow = new google.maps.InfoWindow({
					content: marlieString
				});
                
var waterwaysString = '<div id="content">'+
					'<div id="sitenotice">'+
					'</div>'+
					'<h4 id="gmapfirstheading" class="firstHeading">Waterways Caravan Park</h4>'+
					'<div id="gmapbodycontent">'+
					'<p>Herne Bay, Kent</p>'+
					'<p><img src="images/hph_logo.jpg" align="right"></img></p>'+
					'<p>Find more information on the facilities, accommodation and location</p>'+
					'<p><a href="http://www.holidayparkhols.co.uk/kent/waterways_caravan_park.htm">From Here</a></p>'+
					'</div>'+
					'</div>';
				var waterwayswindow = new google.maps.InfoWindow({
					content: waterwaysString
				});

var twochimneysString = '<div id="content">'+
					'<div id="sitenotice">'+
					'</div>'+
					'<h4 id="gmapfirstheading" class="firstHeading">Two Chimneys Holiday Park</h4>'+
					'<div id="gmapbodycontent">'+
					'<p>Birchington, Kent</p>'+
					'<p><img src="images/hph_logo.jpg" align="right"></img></p>'+
					'<p>Find more information on the facilities, accommodation and location</p>'+
					'<p><a href="http://www.holidayparkhols.co.uk/kent/two_chimneys_holiday_park.htm">From Here</a></p>'+
					'</div>'+
					'</div>';
				var twochimneyswindow = new google.maps.InfoWindow({
					content: twochimneysString
				});                                                  	                                                			

var whitstableString = '<div id="content">'+
					'<div id="sitenotice">'+
					'</div>'+
					'<h4 id="gmapfirstheading" class="firstHeading">Whitstable Seaview Holiday Park</h4>'+
					'<div id="gmapbodycontent">'+
					'<p>Whitstable, Kent</p>'+
					'<p><img src="images/hph_logo.jpg" align="right"></img></p>'+
					'<p>Find more information on the facilities, accommodation and location</p>'+
					'<p><a href="http://www.holidayparkhols.co.uk/kent/whitstable_seaview_holiday_park.htm">From Here</a></p>'+
					'</div>'+
					'</div>';
				var whitstablewindow = new google.maps.InfoWindow({
					content: whitstableString
				});
    
var wardenString = '<div id="content">'+
					'<div id="sitenotice">'+
					'</div>'+
					'<h4 id="gmapfirstheading" class="firstHeading">Warden Springs</h4>'+
					'<div id="gmapbodycontent">'+
					'<p>Isle of Sheppey, Kent</p>'+
					'<p><img src="images/hph_logo.jpg" align="right"></img></p>'+
					'<p>Find more information on the facilities, accommodation and location</p>'+
					'<p><a href="http://www.holidayparkhols.co.uk/kent/warden_springs.htm">From Here</a></p>'+
					'</div>'+
					'</div>';
				var wardenwindow = new google.maps.InfoWindow({
					content: wardenString
				});    
  
var shurlandString = '<div id="content">'+
					'<div id="sitenotice">'+
					'</div>'+
					'<h4 id="gmapfirstheading" class="firstHeading">Shurland Dale</h4>'+
					'<div id="gmapbodycontent">'+
					'<p>Isle of Sheppey, Kent</p>'+
					'<p><img src="images/hph_logo.jpg" align="right"></img></p>'+
					'<p>Find more information on the facilities, accommodation and location</p>'+
					'<p><a href="http://www.holidayparkhols.co.uk/kent/shurland_dale.htm">From Here</a></p>'+
					'</div>'+
					'</div>';
				var shurlandwindow = new google.maps.InfoWindow({
					content: shurlandString
				});  
                                                   		

var companyImage = new google.maps.MarkerImage('images/image.png',
					new google.maps.Size(32,32),
					new google.maps.Point(0,0),
					new google.maps.Point(16,32)
				);
 
				var companyShadow = new google.maps.MarkerImage('images/logo_shadow.png',
					new google.maps.Size(48,32),
					new google.maps.Point(0,0),
					new google.maps.Point(24, 32));
 
				var companyPos = new google.maps.LatLng(51.41677094, 0.848609984);
				var companyMarker = new google.maps.Marker({
					position: companyPos,
					map: map,
					icon: companyImage,
					shadow: companyShadow,
					title:"Ashcroft Coast Holiday Park",
					zIndex: 1});
					
					google.maps.event.addListener(companyMarker, 'click', function() {
					infowindow.open(map,companyMarker, {maxWidth: '250'});
				
				});
								
 var kingsdownImage = new google.maps.MarkerImage('images/image.png',
					new google.maps.Size(32,32),
					new google.maps.Point(0,0),
					new google.maps.Point(16,32)
				);
 
	           var kingsdownShadow = new google.maps.MarkerImage('images/logo_shadow.png',
					new google.maps.Size(48,32),
					new google.maps.Point(0,0),
					new google.maps.Point(24, 32)
				);
 
				var kingsdownPos = new google.maps.LatLng(51.1837883, 1.402089953);
 
				var kingsdownMarker = new google.maps.Marker({
					position: kingsdownPos,
					map: map,
					icon: kingsdownImage,
					shadow: kingsdownShadow,
					title:"kingsdown Park Holiday Park",
					zIndex: 2
				});
                
                google.maps.event.addListener(kingsdownMarker, 'click', function() {
					kingsdownwindow.open(map,kingsdownMarker, {maxWidth: '250'});
				
				});		
				
var newbeachImage = new google.maps.MarkerImage('images/image.png',
					new google.maps.Size(32,32),
					new google.maps.Point(0,0),
					new google.maps.Point(16,32)
				);
 
				var newbeachShadow = new google.maps.MarkerImage('images/logo_shadow.png',
					new google.maps.Size(48,32),
					new google.maps.Point(0,0),
					new google.maps.Point(24, 32)
				);
 
				var newbeachPos = new google.maps.LatLng(51.04426956, 1.028859973);
 
				var newbeachMarker = new google.maps.Marker({
					position: newbeachPos,
					map: map,
					icon: newbeachImage,
					shadow: newbeachShadow,
					title:"New Beach Holiday Park",
					zIndex: 3
				});

google.maps.event.addListener(newbeachMarker, 'click', function() {
					newbeachwindow.open(map,newbeachMarker, {maxWidth: '250'});
				
				});		


var eversleighImage = new google.maps.MarkerImage('images/image.png',
					new google.maps.Size(32,32),
					new google.maps.Point(0,0),
					new google.maps.Point(16,32)
				);
 
				var eversleighShadow = new google.maps.MarkerImage('images/logo_shadow.png',
					new google.maps.Size(48,32),
					new google.maps.Point(0,0),
					new google.maps.Point(24, 32)
				);
 
				var eversleighPos = new google.maps.LatLng(51.10002899, 0.838);
 
				var eversleighMarker = new google.maps.Marker({
					position: eversleighPos,
					map: map,
					icon: eversleighImage,
					shadow: eversleighShadow,
					title:"Eversleigh Country Park",
					zIndex: 4
				});

google.maps.event.addListener(eversleighMarker, 'click', function() {
					eversleighwindow.open(map,eversleighMarker, {maxWidth: '250'});
				});				

var hartsImage = new google.maps.MarkerImage('images/image.png',
					new google.maps.Size(32,32),
					new google.maps.Point(0,0),
					new google.maps.Point(16,32)
				);
 
				var hartsShadow = new google.maps.MarkerImage('images/logo_shadow.png',
					new google.maps.Size(48,32),
					new google.maps.Point(0,0),
					new google.maps.Point(24, 32)
				);
 
				var hartsPos = new google.maps.LatLng(51.39614868, 0.919889987);
 
				var hartsMarker = new google.maps.Marker({
					position: hartsPos,
					map: map,
					icon: hartsImage,
					shadow: hartsShadow,
					title:"Harts Holiday Park",
					zIndex: 5
				});

google.maps.event.addListener(hartsMarker, 'click', function() {
					hartswindow.open(map,hartsMarker, {maxWidth: '250'});
				});	              			

var romneysandsImage = new google.maps.MarkerImage('images/image.png',
					new google.maps.Size(32,32),
					new google.maps.Point(0,0),
					new google.maps.Point(16,32)
				);
 
				var romneysandsShadow = new google.maps.MarkerImage('images/logo_shadow.png',
					new google.maps.Size(48,32),
					new google.maps.Point(0,0),
					new google.maps.Point(24, 32)
				);
 
				var romneysandsPos = new google.maps.LatLng(50.95970154, 0.963440001);
 
				var romneysandsMarker = new google.maps.Marker({
					position: romneysandsPos,
					map: map,
					icon: romneysandsImage,
					shadow: romneysandsShadow,
					title:"Romney Sands Holiday Park",
					zIndex: 6
				});

google.maps.event.addListener(romneysandsMarker, 'click', function() {
					romneysandswindow.open(map,romneysandsMarker, {maxWidth: '250'});
				});	  		

var stmargaretsImage = new google.maps.MarkerImage('images/image.png',
					new google.maps.Size(32,32),
					new google.maps.Point(0,0),
					new google.maps.Point(16,32)
				);
 
				var stmargaretsShadow = new google.maps.MarkerImage('images/logo_shadow.png',
					new google.maps.Size(48,32),
					new google.maps.Point(0,0),
					new google.maps.Point(24, 32)
				);
 
				var stmargaretsPos = new google.maps.LatLng(51.15029907, 1.366260052);
 
				var stmargaretsMarker = new google.maps.Marker({
					position: stmargaretsPos,
					map: map,
					icon: stmargaretsImage,
					shadow: stmargaretsShadow,
					title:"St Margarets Holiday Park",
					zIndex: 7
				});

google.maps.event.addListener(stmargaretsMarker, 'click', function() {
					stmargaretswindow.open(map,stmargaretsMarker, {maxWidth: '250'});
				});	
                
var marlieImage = new google.maps.MarkerImage('images/image.png',
					new google.maps.Size(32,32),
					new google.maps.Point(0,0),
					new google.maps.Point(16,32)
				);
 
				var marlieShadow = new google.maps.MarkerImage('images/logo_shadow.png',
					new google.maps.Size(48,32),
					new google.maps.Point(0,0),
					new google.maps.Point(24, 32)
				);
 
				var marliePos = new google.maps.LatLng(50.99541855, 0.95551002);
 
				var marlieMarker = new google.maps.Marker({
					position: marliePos,
					map: map,
					icon: marlieImage,
					shadow: marlieShadow,
					title:"Marlie Farm Holiday Park",
					zIndex: 8
				});

google.maps.event.addListener(marlieMarker, 'click', function() {
					marliewindow.open(map,marlieMarker, {maxWidth: '250'});
				});	                  
				
var waterwaysImage = new google.maps.MarkerImage('images/image.png',
					new google.maps.Size(32,32),
					new google.maps.Point(0,0),
					new google.maps.Point(16,32)
				);
 
				var waterwaysShadow = new google.maps.MarkerImage('images/logo_shadow.png',
					new google.maps.Size(48,32),
					new google.maps.Point(0,0),
					new google.maps.Point(24, 32)
				);
 
				var waterwaysPos = new google.maps.LatLng(51.37796021, 1.196609974);
 
				var waterwaysMarker = new google.maps.Marker({
					position: waterwaysPos,
					map: map,
					icon: waterwaysImage,
					shadow: waterwaysShadow,
					title:"Waterways Caravan Park",
					zIndex: 9
				});

google.maps.event.addListener(waterwaysMarker, 'click', function() {
					waterwayswindow.open(map,waterwaysMarker, {maxWidth: '250'});
				});			

var twochimneysImage = new google.maps.MarkerImage('images/image.png',
					new google.maps.Size(32,32),
					new google.maps.Point(0,0),
					new google.maps.Point(16,32)
				);
 
				var twochimneysShadow = new google.maps.MarkerImage('images/logo_shadow.png',
					new google.maps.Size(48,32),
					new google.maps.Point(0,0),
					new google.maps.Point(24, 32)
				);
 
				var twochimneysPos = new google.maps.LatLng(51.36474991, 1.332839966);
 
				var twochimneysMarker = new google.maps.Marker({
					position: twochimneysPos,
					map: map,
					icon: twochimneysImage,
					shadow: twochimneysShadow,
					title:"Two Chimneys Holiday Park",
					zIndex: 10
				});

google.maps.event.addListener(twochimneysMarker, 'click', function() {
					twochimneyswindow.open(map,twochimneysMarker, {maxWidth: '250'});
				});			


var whitstableImage = new google.maps.MarkerImage('images/image.png',
					new google.maps.Size(32,32),
					new google.maps.Point(0,0),
					new google.maps.Point(16,32)
				);
 
				var whitstableShadow = new google.maps.MarkerImage('images/logo_shadow.png',
					new google.maps.Size(48,32),
					new google.maps.Point(0,0),
					new google.maps.Point(24, 32)
				);
 
				var whitstablePos = new google.maps.LatLng(51.366829, 1.0767);
 
				var whitstableMarker = new google.maps.Marker({
					position: whitstablePos,
					map: map,
					icon: whitstableImage,
					shadow: whitstableShadow,
					title:"whitstable Seaview Holiday Park",
					zIndex: 11
				});

google.maps.event.addListener(whitstableMarker, 'click', function() {
					whitstablewindow.open(map,whitstableMarker, {maxWidth: '250'});
				});

var wardenImage = new google.maps.MarkerImage('images/image.png',
					new google.maps.Size(32,32),
					new google.maps.Point(0,0),
					new google.maps.Point(16,32)
				);
 
				var wardenShadow = new google.maps.MarkerImage('images/logo_shadow.png',
					new google.maps.Size(48,32),
					new google.maps.Point(0,0),
					new google.maps.Point(24, 32)
				);
 
				var wardenPos = new google.maps.LatLng(51.412609, 0.899394);
 
				var wardenMarker = new google.maps.Marker({
					position: wardenPos,
					map: map,
					icon: wardenImage,
					shadow: wardenShadow,
					title:"Warden Springs Holiday Park",
					zIndex: 12
				});

google.maps.event.addListener(wardenMarker, 'click', function() {
					wardenwindow.open(map,wardenMarker, {maxWidth: '250'});
				});


var shurlandImage = new google.maps.MarkerImage('images/image.png',
					new google.maps.Size(32,32),
					new google.maps.Point(0,0),
					new google.maps.Point(16,32)
				);
 
				var shurlandShadow = new google.maps.MarkerImage('images/logo_shadow.png',
					new google.maps.Size(48,32),
					new google.maps.Point(0,0),
					new google.maps.Point(24, 32)
				);
 
				var shurlandPos = new google.maps.LatLng(51.41206, 0.869458);
 
				var shurlandMarker = new google.maps.Marker({
					position: shurlandPos,
					map: map,
					icon: shurlandImage,
					shadow: shurlandShadow,
					title:"Shurland Dale Holiday Park",
					zIndex: 12
				});

google.maps.event.addListener(shurlandMarker, 'click', function() {
					shurlandwindow.open(map,shurlandMarker, {maxWidth: '250'});
				});

  }

