// JavaScript Document
function initialize() {
		var latlng = new google.maps.LatLng(50.65327, -1.27699);
		var settings = {
			zoom: 10,
			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">Cheverton Corpse Holiday Park</h4>'+
					'<div id="gmapbodycontent">'+
					'<p>Sandown    , Isle of Wight</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/cheverton_copse_holiday_park.htm">From Here</a></p>'+
					'</div>'+
					'</div>';
				var companywindow = new google.maps.InfoWindow({
					content: companyString
				});
				

var lowerhydeString = '<div id="content">'+
					'<div id="sitenotice">'+
					'</div>'+
					'<h4 id="gmapfirstheading" class="firstHeading">Lower Hyde Holiday Park</h4>'+
					'<div id="gmapbodycontent">'+
					'<p>Shanklin, Isle of Wight</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/lower_hyde_holiday_park.htm">From Here</a></p>'+
					'</div>'+
					'</div>';
				var lowerhydewindow = new google.maps.InfoWindow({
					content: lowerhydeString
				});				

var thornessString = '<div id="content">'+
					'<div id="sitenotice">'+
					'</div>'+
					'<h4 id="gmapfirstheading" class="firstHeading">Thorness Bay Park</h4>'+
					'<div id="gmapbodycontent">'+
					'<p>Thorness, Isle of Wight</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/thorness_bay_holiday_park.htm">From Here</a></p>'+
					'</div>'+
					'</div>';
				var thornesswindow = new google.maps.InfoWindow({
					content: thornessString
				});	
				
var nodesString = '<div id="content">'+
					'<div id="sitenotice">'+
					'</div>'+
					'<h4 id="gmapfirstheading" class="firstHeading">Nodes Point Holiday Park</h4>'+
					'<div id="gmapbodycontent">'+
					'<p>Ryde, Isle of Wight</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/nodes_point_holiday_park.htm">From Here</a></p>'+
					'</div>'+
					'</div>';
				var nodeswindow = new google.maps.InfoWindow({
					content: nodesString
				});
				
var islandString = '<div id="content">'+
					'<div id="sitenotice">'+
					'</div>'+
					'<h4 id="gmapfirstheading" class="firstHeading">Island View Holiday Park</h4>'+
					'<div id="gmapbodycontent">'+
					'<p>Colwell Bay, Isle of Wight</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/island_view_holiday_park.htm">From Here</a></p>'+
					'</div>'+
					'</div>';
				var islandwindow = new google.maps.InfoWindow({
					content: islandString
				});				
				
var rookleyString = '<div id="content">'+
					'<div id="sitenotice">'+
					'</div>'+
					'<h4 id="gmapfirstheading" class="firstHeading">Rookley Country Park</h4>'+
					'<div id="gmapbodycontent">'+
					'<p>Rookley, Isle of Wight</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/rookley_country_park.htm">From Here</a></p>'+
					'</div>'+
					'</div>';
				var rookleywindow = new google.maps.InfoWindow({
					content: rookleyString
				});	
                
var rivieraString = '<div id="content">'+
					'<div id="sitenotice">'+
					'</div>'+
					'<h4 id="gmapfirstheading" class="firstHeading">Riviera Park Holiday Park</h4>'+
					'<div id="gmapbodycontent">'+
					'<p>Riviera, Isle of Wight</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/riviera_park_holiday_park.htm">From Here</a></p>'+
					'</div>'+
					'</div>';
				var rivierawindow = new google.maps.InfoWindow({
					content: rivieraString
				});
                
var landguardString = '<div id="content">'+
					'<div id="sitenotice">'+
					'</div>'+
					'<h4 id="gmapfirstheading" class="firstHeading">Landguard Holiday Park</h4>'+
					'<div id="gmapbodycontent">'+
					'<p>Shanklin, Isle of Wight</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/oakdene_forest_holiday_park.htm">From Here</a></p>'+
					'</div>'+
					'</div>';
				var landguardwindow = new google.maps.InfoWindow({
					content: landguardString
				});
                
var hillgroveString = '<div id="content">'+
					'<div id="sitenotice">'+
					'</div>'+
					'<h4 id="gmapfirstheading" class="firstHeading">Hillgrove Holiday Park</h4>'+
					'<div id="gmapbodycontent">'+
					'<p>St Helens, Isle of Wight</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/hillgrove_holiday_park.htm">From Here</a></p>'+
					'</div>'+
					'</div>';
				var hillgrovewindow = new google.maps.InfoWindow({
					content: hillgroveString
				});

var fieldlaneString = '<div id="content">'+
					'<div id="sitenotice">'+
					'</div>'+
					'<h4 id="gmapfirstheading" class="firstHeading">Field Lane Holiday Park</h4>'+
					'<div id="gmapbodycontent">'+
					'<p>St Helens, Isle of Wight</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/field_lane_holiday_park.htm">From Here</a></p>'+
					'</div>'+
					'</div>';
				var fieldlanewindow = new google.maps.InfoWindow({
					content: fieldlaneString
				});                                                  	                                                			

var gurnardString = '<div id="content">'+
					'<div id="sitenotice">'+
					'</div>'+
					'<h4 id="gmapfirstheading" class="firstHeading">Gurnard Pines Holiday Park</h4>'+
					'<div id="gmapbodycontent">'+
					'<p>Cowes, Isle of Wight</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/gurnard_bay_holiday_park.htm">From Here</a></p>'+
					'</div>'+
					'</div>';
				var gurnardwindow = new google.maps.InfoWindow({
					content: gurnardString
				});
                
var whitecliffString = '<div id="content">'+
					'<div id="sitenotice">'+
					'</div>'+
					'<h4 id="gmapfirstheading" class="firstHeading">Whitecliff Bay Holiday Park</h4>'+
					'<div id="gmapbodycontent">'+
					'<p>Bembridge, Isle of Wight</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/whitecliff_bay_holiday_park.htm">From Here</a></p>'+
					'</div>'+
					'</div>';
				var whitecliffwindow = new google.maps.InfoWindow({
					content: whitecliffString
				});                                    		

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(50.64886, -1.188140035);
 
				var companyMarker = new google.maps.Marker({
					position: companyPos,
					map: map,
					icon: companyImage,
					shadow: companyShadow,
					title:"Chervton Copse Holiday Park",
					zIndex: 1});
					
					google.maps.event.addListener(companyMarker, 'click', function() {
					infowindow.open(map,companyMarker, {maxWidth: '250'});
				
				});
								
 var lowerhydeImage = 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 lowerhydeShadow = 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 lowerhydePos = new google.maps.LatLng(50.63618, -1.18567);
 
				var lowerhydeMarker = new google.maps.Marker({
					position: lowerhydePos,
					map: map,
					icon: lowerhydeImage,
					shadow: lowerhydeShadow,
					title:"lowerhyde Holiday Park",
					zIndex: 2
				});
                
                google.maps.event.addListener(lowerhydeMarker, 'click', function() {
					lowerhydewindow.open(map,lowerhydeMarker, {maxWidth: '250'});
				
				});		
				
var thornessImage = 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 thornessShadow = 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 thornessPos = new google.maps.LatLng(50.73499, -1.36059);
 
				var thornessMarker = new google.maps.Marker({
					position: thornessPos,
					map: map,
					icon: thornessImage,
					shadow: thornessShadow,
					title:"thorness riviera Park",
					zIndex: 3
				});

google.maps.event.addListener(thornessMarker, 'click', function() {
					thornesswindow.open(map,thornessMarker, {maxWidth: '250'});
				
				});		


var nodesImage = 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 nodesShadow = 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 nodesPos = new google.maps.LatLng(50.70461, -1.10254);
 
				var nodesMarker = new google.maps.Marker({
					position: nodesPos,
					map: map,
					icon: nodesImage,
					shadow: nodesShadow,
					title:"South Hants Country Park",
					zIndex: 4
				});

google.maps.event.addListener(nodesMarker, 'click', function() {
					nodeswindow.open(map,nodesMarker, {maxWidth: '250'});
				});				

var islandImage = 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 islandShadow = 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 islandPos = new google.maps.LatLng(50.68686, -1.53727);
 
				var islandMarker = new google.maps.Marker({
					position: islandPos,
					map: map,
					icon: islandImage,
					shadow: islandShadow,
					title:"island Island Holiday Park",
					zIndex: 5
				});

google.maps.event.addListener(islandMarker, 'click', function() {
					islandwindow.open(map,islandMarker, {maxWidth: '250'});
				});	              			

var rookleyImage = 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 rookleyShadow = 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 rookleyPos = new google.maps.LatLng(50.65327, -1.27699);
 
				var rookleyMarker = new google.maps.Marker({
					position: rookleyPos,
					map: map,
					icon: rookleyImage,
					shadow: rookleyShadow,
					title:"rookley Breezes Holiday Park",
					zIndex: 6
				});

google.maps.event.addListener(rookleyMarker, 'click', function() {
					rookleywindow.open(map,rookleyMarker, {maxWidth: '250'});
				});	  		

var rivieraImage = 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 rivieraShadow = 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 rivieraPos = new google.maps.LatLng(50.59754, -1.19112);
 
				var rivieraMarker = new google.maps.Marker({
					position: rivieraPos,
					map: map,
					icon: rivieraImage,
					shadow: rivieraShadow,
					title:"riviera Edge Holiday Park",
					zIndex: 7
				});

google.maps.event.addListener(rivieraMarker, 'click', function() {
					rivierawindow.open(map,rivieraMarker, {maxWidth: '250'});
				});	
                
var landguardImage = 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 landguardShadow = 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 landguardPos = new google.maps.LatLng(50.63955, -1.18052);
 
				var landguardMarker = new google.maps.Marker({
					position: landguardPos,
					map: map,
					icon: landguardImage,
					shadow: landguardShadow,
					title:"Landguard Holiday Park - Shanklin",
					zIndex: 8
				});

google.maps.event.addListener(landguardMarker, 'click', function() {
					landguardwindow.open(map,landguardMarker, {maxWidth: '250'});
				});	                  
				
var hillgroveImage = 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 hillgroveShadow = 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 hillgrovePos = new google.maps.LatLng(50.6989, -1.11275);
 
				var hillgroveMarker = new google.maps.Marker({
					position: hillgrovePos,
					map: map,
					icon: hillgroveImage,
					shadow: hillgroveShadow,
					title:"Hillgrove Holiday Park",
					zIndex: 9
				});

google.maps.event.addListener(hillgroveMarker, 'click', function() {
					hillgrovewindow.open(map,hillgroveMarker, {maxWidth: '250'});
				});			

var fieldlaneImage = 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 fieldlaneShadow = 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 fieldlanePos = new google.maps.LatLng(50.6989, -1.11275);
 
				var fieldlaneMarker = new google.maps.Marker({
					position: fieldlanePos,
					map: map,
					icon: fieldlaneImage,
					shadow: fieldlaneShadow,
					title:"Field Lane Holiday Park",
					zIndex: 10
				});

google.maps.event.addListener(fieldlaneMarker, 'click', function() {
					fieldlanewindow.open(map,fieldlaneMarker, {maxWidth: '250'});
				});			


var gurnardImage = 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 gurnardShadow = 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 gurnardPos = new google.maps.LatLng(50.7496, -1.32527);
 
				var gurnardMarker = new google.maps.Marker({
					position: gurnardPos,
					map: map,
					icon: gurnardImage,
					shadow: gurnardShadow,
					title:"Gurnard Pines - Cowes",
					zIndex: 11
				});

google.maps.event.addListener(gurnardMarker, 'click', function() {
					gurnardwindow.open(map,gurnardMarker, {maxWidth: '250'});
				});			


var whitecliffImage = 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 whitecliffShadow = 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 whitecliffPos = new google.maps.LatLng(50.67503, -1.09606);
 
				var whitecliffMarker = new google.maps.Marker({
					position: whitecliffPos,
					map: map,
					icon: whitecliffImage,
					shadow: whitecliffShadow,
					title:"Whitecliff Bay Holiday Park - Bembridge",
					zIndex: 12
				});

google.maps.event.addListener(whitecliffMarker, 'click', function() {
					whitecliffwindow.open(map,whitecliffMarker, {maxWidth: '250'});
				});		


  }

