// JavaScript Document
function initialize() {
		var latlng = new google.maps.LatLng(50.7402, -1.68752);
		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">Hoburne Naish Holiday Park</h4>'+
					'<div id="gmapbodycontent">'+
					'<p>St Leonards, Ringwood, hampshire</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/hoburne_naish_holiday_park.htm">From Here</a></p>'+
					'</div>'+
					'</div>';
				var companywindow = new google.maps.InfoWindow({
					content: companyString
				});
				
var riversideString = '<div id="content">'+
					'<div id="sitenotice">'+
					'</div>'+
					'<h4 id="gmapfirstheading" class="firstHeading">Riverside Holiday Park</h4>'+
					'<div id="gmapbodycontent">'+
					'<p>Hamble, Hampshire</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/riverside_holidays_park.htm">From Here</a></p>'+
					'</div>'+
					'</div>';
				var riversidewindow = new google.maps.InfoWindow({
					content: riversideString
				});				

var oakdeneString = '<div id="content">'+
					'<div id="sitenotice">'+
					'</div>'+
					'<h4 id="gmapfirstheading" class="firstHeading">Oakdene Forest Park</h4>'+
					'<div id="gmapbodycontent">'+
					'<p>Ringwood, Hampshire</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 oakdenewindow = new google.maps.InfoWindow({
					content: oakdeneString
				});	
				
var southantsString = '<div id="content">'+
					'<div id="sitenotice">'+
					'</div>'+
					'<h4 id="gmapfirstheading" class="firstHeading">South Hants Country Park</h4>'+
					'<div id="gmapbodycontent">'+
					'<p>Fareham, Hampshire</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/south_hants_country_park.htm">From Here</a></p>'+
					'</div>'+
					'</div>';
				var southantswindow = new google.maps.InfoWindow({
					content: southantsString
				});
				
var haylingString = '<div id="content">'+
					'<div id="sitenotice">'+
					'</div>'+
					'<h4 id="gmapfirstheading" class="firstHeading">Hayling Island Holiday Park</h4>'+
					'<div id="gmapbodycontent">'+
					'<p>Hayling Island, hampshire</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/hampshire/hayling_island_holiday_park.htm">From Here</a></p>'+
					'</div>'+
					'</div>';
				var haylingwindow = new google.maps.InfoWindow({
					content: haylingString
				});				
				
var solentString = '<div id="content">'+
					'<div id="sitenotice">'+
					'</div>'+
					'<h4 id="gmapfirstheading" class="firstHeading">Solent Breeze Holiday Park</h4>'+
					'<div id="gmapbodycontent">'+
					'<p>Fareham, hampshire</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/hampshire/solent_breezes_holiday_park.htm">From Here</a></p>'+
					'</div>'+
					'</div>';
				var solentwindow = new google.maps.InfoWindow({
					content: solentString
				});	
                
var forestString = '<div id="content">'+
					'<div id="sitenotice">'+
					'</div>'+
					'<h4 id="gmapfirstheading" class="firstHeading">Foreset Edge Holiday Park</h4>'+
					'<div id="gmapbodycontent">'+
					'<p>Ringwood, Hampshire</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/hampshire/forest_edge_holiday_park.htm">From Here</a></p>'+
					'</div>'+
					'</div>';
				var forestwindow = new google.maps.InfoWindow({
					content: forestString
				});
                
var shorefieldString = '<div id="content">'+
					'<div id="sitenotice">'+
					'</div>'+
					'<h4 id="gmapfirstheading" class="firstHeading">Shorefield Country Park</h4>'+
					'<div id="gmapbodycontent">'+
					'<p>Milford-on-Sea, Hampshire</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/hampshire/shorefield_country_park.htm">From Here</a></p>'+
					'</div>'+
					'</div>';
				var shorefieldwindow = new google.maps.InfoWindow({
					content: shorefieldString
				});                                			
                		
var bashleyString = '<div id="content">'+
					'<div id="sitenotice">'+
					'</div>'+
					'<h4 id="gmapfirstheading" class="firstHeading">Hoburne Bashley</h4>'+
					'<div id="gmapbodycontent">'+
					'<p>new Milton, Hampshire</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/hampshire/hoburne_bashley.htm">From Here</a></p>'+
					'</div>'+
					'</div>';
				var bashleywindow = new google.maps.InfoWindow({
					content: bashleyString
				});     

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.7402, -1.68752);
 
				var companyMarker = new google.maps.Marker({
					position: companyPos,
					map: map,
					icon: companyImage,
					shadow: companyShadow,
					title:"Hoburne Naish Holiday Park",
					zIndex: 1});
					
					google.maps.event.addListener(companyMarker, 'click', function() {
					companywindow.open(map,companyMarker, {maxWidth: '250'});
				
				});
								
 var riversideImage = 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 riversideShadow = 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 riversidePos = new google.maps.LatLng(50.86889, -1.31355);
 
				var riversideMarker = new google.maps.Marker({
					position: riversidePos,
					map: map,
					icon: riversideImage,
					shadow: riversideShadow,
					title:"Riverside Holiday Park",
					zIndex: 2
				});
                
                google.maps.event.addListener(riversideMarker, 'click', function() {
					riversidewindow.open(map,riversideMarker, {maxWidth: '250'});
				
				});		
				
var oakdeneImage = 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 oakdeneShadow = 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 oakdenePos = new google.maps.LatLng(50.81155, -1.85836);
 
				var oakdeneMarker = new google.maps.Marker({
					position: oakdenePos,
					map: map,
					icon: oakdeneImage,
					shadow: oakdeneShadow,
					title:"Oakdene Forest Park",
					zIndex: 3
				});

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


var southantsImage = 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 southantsShadow = 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 southantsPos = new google.maps.LatLng(50.88771, -1.14777);
 
				var southantsMarker = new google.maps.Marker({
					position: southantsPos,
					map: map,
					icon: southantsImage,
					shadow: southantsShadow,
					title:"South Hants Country Park",
					zIndex: 4
				});

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

var haylingImage = 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 haylingShadow = 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 haylingPos = new google.maps.LatLng(50.7963, -0.98469);
 
				var haylingMarker = new google.maps.Marker({
					position: haylingPos,
					map: map,
					icon: haylingImage,
					shadow: haylingShadow,
					title:"Hayling Island Holiday Park",
					zIndex: 5
				});

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

var solentImage = 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 solentShadow = 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 solentPos = new google.maps.LatLng(50.83288, -1.28373);
 
				var solentMarker = new google.maps.Marker({
					position: solentPos,
					map: map,
					icon: solentImage,
					shadow: solentShadow,
					title:"Solent Breezes Holiday Park",
					zIndex: 6
				});

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

var forestImage = 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 forestShadow = 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 forestPos = new google.maps.LatLng(50.82142, -1.84987);
 
				var forestMarker = new google.maps.Marker({
					position: forestPos,
					map: map,
					icon: forestImage,
					shadow: forestShadow,
					title:"Forest Edge Holiday Park",
					zIndex: 7
				});

google.maps.event.addListener(forestMarker, 'click', function() {
					forestwindow.open(map,forestMarker, {maxWidth: '250'});
				});	  
				
var shorefieldImage = 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 shorefieldShadow = 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 shorefieldPos = new google.maps.LatLng(50.73504, -1.61799);
 
				var shorefieldMarker = new google.maps.Marker({
					position: shorefieldPos,
					map: map,
					icon: shorefieldImage,
					shadow: shorefieldShadow,
					title:"Shorefield Country Park",
					zIndex: 8
				});

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

var bashleyImage = 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 bashleyShadow = 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 bashleyPos = new google.maps.LatLng(50.772743, -1.650173);
 
				var bashleyMarker = new google.maps.Marker({
					position: bashleyPos,
					map: map,
					icon: bashleyImage,
					shadow: bashleyShadow,
					title:"Hoburne Bashley",
					zIndex: 9
				});

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

  }

