if (GBrowserIsCompatible()) {
	
	 
	
	// this variable will collect the html which will eventually be placed in the side_bar
	var side_bar_html = "";

	// arrays to hold copies of the markers and html used by the side_bar
	// because the function closure trick doesnt work there
	var gmarkers = [];
	var i = 0;

	var icon = new GIcon();
		icon.image = "images/google-beach1.png";
		icon.iconSize = new GSize(18, 18);
		icon.iconAnchor = new GPoint(1, 18);
		icon.infoWindowAnchor = new GPoint(1, 18);
		
	var icon2 = new GIcon();
		icon2.image = "images/google-cottage1.png";
		icon2.iconSize = new GSize(18, 18);
		icon2.iconAnchor = new GPoint(1, 18);
		icon2.infoWindowAnchor = new GPoint(1, 18);

	
	
	var icon3 = new GIcon();
		icon3.image = "images/google-golf1.png";
		icon3.iconSize = new GSize(18, 18);
		icon3.iconAnchor = new GPoint(1, 18);
		icon3.infoWindowAnchor = new GPoint(1, 18);

	// A function to create the REGIONAL marker and set up the event window
	function createMarker(point,name,html) {
		var marker = new GMarker(point,icon);
		GEvent.addListener(marker, "click", function() {
			marker.openInfoWindowHtml(html);
		});
		// save the info we need to use later for the side_bar
		gmarkers[i] = marker;
		i++;
		return marker;
	}
	
	// A function to create the CASULTY marker and set up the event window
	function createMarker2(point,name,html) {
		var marker2 = new GMarker(point,icon2);
		GEvent.addListener(marker2, "click", function() {
			marker2.openInfoWindowHtml(html);
		});
		// save the info we need to use later for the side_bar
		gmarkers[i] = marker2;
		i++;
		return marker2;
	}
	
	
	// A function to create the CASULTY marker and set up the event window
	function createMarker3(point,name,html) {
		var marker3 = new GMarker(point,icon3);
		GEvent.addListener(marker3, "click", function() {
			marker3.openInfoWindowHtml(html);
		});
		// save the info we need to use later for the side_bar
		gmarkers[i] = marker3;
		i++;
		return marker3;
	}

	// This function picks up the click and opens the corresponding info window
	function myclick(i) {
	
	if (i=="19142")
	{
		i = "0";
	}
	 if (i=="18757")
	{
		i = "2";
	}
		 if (i=="18743")
	{
		i = "3";
	}
		 if (i=="18745")
	{
		i = "4";
	}
		 if (i=="18749")
	{
		i = "5";
	}
		 if (i=="18219")
	{
		i = "6";
	}
		 if (i=="18755")
	{
		i = "7";
	}
		 if (i=="18759")
	{
		i = "8";
	}
		 if (i=="18751")
	{
		i = "9";
	}
		 if (i=="18747")
	{
		i = "10";
	}
		 if (i=="18753")
	{
		i = "11";
	}
		 if (i=="18761")
	{
		i = "12";
	}
		 if (i=="18213")
	{
		i = "13";
	}
		 if (i=="19140")
	{
		i = "14"
	}
		 if (i=="18217")
	{
		i = "15";
	}
		 if (i=="18211")
	{
		i = "16";
	}
		 if (i=="18215")
	{
		i = "17";
	}
		 if (i=="18205")
	{
		i = "18";
	}
		 if (i=="18253")
	{
		i = "19";
	}
		 if (i=="18175")
	{
		i = "20";
	}
		 if (i=="18169")
	{
		i = "21";
	}
		 if (i=="18161")
	{
		i = "22";
	}
		 if (i=="18173")
	{
		i = "23";
	}
	
	
		GEvent.trigger(gmarkers[i], "click");
	}

	// This function zooms in or out
	// its not necessary to check for out of range zoom numbers, because the API checks
	function myzoom(a) {
		map.setZoom(map.getZoom() + a);
	}

	// create the map
	var map = new GMap2(document.getElementById("map"));
	map.setCenter(new GLatLng( 56.068203,-6.210022), 12);
	map.setMapType((G_HYBRID_MAP));
	map.addControl(new GMapTypeControl());



	// add the points    
	var point = new GLatLng(56.077017,-6.229591);
	var marker2 = createMarker2(point,"Alister Annie's","<div class='regionallogo'><span class='regionaltitle'>Alister Annie's</span><br/><img src='images/cottagetemp.jpg'  width='250' height='123'/><br/><br/>This cottage has views over Loch Fada<br/> and is very comfortable for a couple<br/>or small family.&nbsp;<span class='regional'><a href='holiday-cottages/colonsay/loch-views/alister-annies.aspx'>Discover More >></a></span><br/><br/>&#8226; Sleeps 4<br/>&#8226; 2 Bedrooms<br/>&#8226; Loch views<br/>&#8226; Open fire</div>")
	map.addOverlay(marker2);

	var point = new GLatLng(56.084298,-6.217232);
	var marker2 = createMarker2(point,"School Cottage","<div class='regionallogo'><span class='regionaltitle'>School Cottage</span><br/><img src='images/school-image.jpg'  width='250' height='123'/><br/><br/>This cottage has views over Loch Fada and<br/>is set slightly back from the road.&nbsp;<br/><span class='regional'><a href='holiday-cottages/colonsay/loch-views/school-cottage.aspx'>Discover More >></a></span><br/><br/>&#8226; Sleeps 6<br/>&#8226; 3 Bedrooms<br/>&#8226; Loch views<br/>&#8226; Open fire</div>")
	map.addOverlay(marker2);
	
var point = new GLatLng(56.089469,-6.182041);
	var marker2 = createMarker2(point,"Avenue Cottage","<div class='regionallogo'><span class='regionaltitle'>Avenue Cottage</span><br/><img src='images/avenue-image.jpg'  width='250' height='123'/><br/><br/>This cottage is in the heart of the <br/>rhododendron gardens that surround<br/>Colonsay House in a very sheltered situation<br/> and is accessed along a short track.&nbsp;<br/><span class='regional'><a href='holiday-cottages/colonsay/countryside-views/avenue-cottage.aspx'>Discover More >></a></span><br/><br/>&#8226; Sleeps 4<br/>&#8226; 2 Bedrooms<br/>&#8226; Loch views<br/>&#8226; Open fire</div>")
	map.addOverlay(marker2);
	
var point = new GLatLng(56.09962,-6.191199);
	var marker2 = createMarker2(point,"Kiloran Bay Cottage","<div class='regionallogo'><span class='regionaltitle'>Kiloran Bay Cottage</span><br/><img src='images/kil-image.jpg'  width='250' height='123'/><br/><br/>Adjacent to Uragaig cottage, these two units <br/>are ideal for larger groups to take together. <br/>There is a short track leading to the <br/>cottages.&nbsp;<span class='regional'><a href='holiday-cottages/colonsay/sea-views/kiloran-bay-cottage.aspx'>Discover More >></a></span><br/><br/>&#8226; Sleeps 6<br/>&#8226; 3 Bedrooms<br/>&#8226; Sea Views<br/>&#8226; Open fire</div>")
	map.addOverlay(marker2);
	

var point = new GLatLng(56.09962,-6.193199);
	var marker2 = createMarker2(point,"Uragaig Cottage","<div class='regionallogo'><span class='regionaltitle'>Uragaig Cottage</span><br/><img src='images/Uragaig-image.jpg'  width='250' height='123'/><br/><br/>This is one of two cottages that look over<br/> spectacular Kiloran Bay. There is a short <br/>track leading to the cottages.&nbsp;<br/><span class='regional'><a href='#'>Discover More >></a></span><br/><br/>&#8226; Sleeps 6<br/>&#8226; 3 Bedrooms<br/>&#8226; Sea views<br/>&#8226; Open fire<br/>&#8226; Dishwasher</div>")
	map.addOverlay(marker2);
	

var point = new GLatLng(56.071461,-6.239891);
	var marker2 = createMarker2(point,"Garta Ghoban","<div class='regionallogo'><span class='regionaltitle'>Garta Ghoban</span><br/><img src='images/garta-image.jpg'  width='250' height='123'/><br/><br/>This is one of two cottages that look over<br/>spectacular Kiloran Bay. There is a short<br/>track leading to the cottages.&nbsp;<br/><span class='regional'><a href='holiday-cottages/colonsay/sea-views/garta-ghoban.aspx'>Discover More >></a></span><br/><br/>&#8226; Sleeps 6<br/>&#8226; 3 Bedrooms<br/>&#8226; Sea views<br/>&#8226; Open fire</div>")
	map.addOverlay(marker2);


var point = new GLatLng(56.072131,-6.187449);
	var marker2 = createMarker2(point,"Tobaroran","<div class='regionallogo'><span class='regionaltitle'>Tobaroran</span><br/><img src='images/Tobaroran-image.jpg'  width='250' height='123'/><br/><br/>The house is situated close to the harbour<br/>with wonderful views toward Jura and Islay <br/>and has its own large garden.&nbsp;<br/><span class='regional'><a href='holiday-cottages/colonsay/sea-views/tobaroran.aspx'>Discover More >></a></span><br/><br/>&#8226; Sleeps 10<br/>&#8226; 4 Bedrooms<br/>&#8226; Dishwasher<br/>&#8226; Sea views<br/>&#8226; Open fire</div>")
	map.addOverlay(marker2);
	
	
var point = new GLatLng(56.087841,-6.193285);
	var marker2 = createMarker2(point,"Kennels","<div class='regionallogo'><span class='regionaltitle'>Kennels</span><br/><img src='images/Kennels-image.jpg'  width='250' height='123'/><br/><br/>This south-facing cottage is in a sunny<br/> position on the edge of the Colonsay House <br/>woodland gardens and is reached via a <br/>short track.&nbsp;<span class='regional'><a href='holiday-cottages/colonsay/countryside-views/kennels.aspx'>Discover More >></a></span><br/><br/>&#8226; Sleeps 4<br/>&#8226; 2 Bedrooms<br/>&#8226; Dishwasher<br/>&#8226; Pets allowed<br/>&#8226; Wood burning stove<br/>&#8226; Countryside views</div>")
	map.addOverlay(marker2);
	
	
var point = new GLatLng(56.055169,-6.197319);
	var marker2 = createMarker2(point,"Baleromindubh Cottage","<div class='regionallogo'><span class='regionaltitle'>Baleromindubh Cottage</span><br/><img src='images/Baleromindubh-image.jpg'  width='250' height='123'/><br/><br/>This cottage is situated on the east side <br/>of the island with stunning views towards<br/> Jura and Islay. It is accessed along a <br/>half-mile rough track.&nbsp;<span class='regional'><a href='holiday-cottages/colonsay/sea-views/baleromindubh-cottage.aspx'>Discover More >></a></span><br/><br/>&#8226; Sleeps 4<br/>&#8226; 2 Bedrooms<br/>&#8226; Dishwasher<br/>&#8226;Sea views<br/>&#8226; Open fire</div>")
	map.addOverlay(marker2);
	
	
var point = new GLatLng(56.084369,-6.227574);
	var marker2 = createMarker2(point,"Sgreadan Cottage","<div class='regionallogo'><span class='regionaltitle'>Sgreadan Cottage</span><br/><img src='images/Sgreadan-image.jpg'  width='250' height='123'/><br/><br/>This stone cottage has wonderful views over<br/> Loch Fada and is set back about 100m<br/> above the road up a short track.&nbsp;<br/><span class='regional'><a href='holiday-cottages/colonsay/loch-views/sgreadan-cottage.aspx'>Discover More >></a></span><br/><br/>&#8226; Sleeps 6<br/>&#8226; 3 Bedrooms<br/>&#8226; Dishwasher<br/>&#8226; Loch Views<br/>&#8226; Open fire/div>")
	map.addOverlay(marker2);
	
var point = new GLatLng(56.068011,-6.242294);
	var marker2 = createMarker2(point,"Port Mhor","<div class='regionallogo'><span class='regionaltitle'>Port Mhor</span><br/><img src='images/port-m-image.jpg'  width='250' height='123'/><br/><br/>This cottage is situated close to the road on <br/>the west side of the island with fantastic sea <br/>views, especially at sunset, over the Atlantic.&nbsp;<br/><span class='regional'><a href='holiday-cottages/colonsay/sea-views/port-mhor.aspx'>Discover More >></a></span><br/><br/>&#8226; Sleeps 6<br/>&#8226; 3 Bedrooms<br/>&#8226; Dishwasher<br/>&#8226; Sea views<br/>&#8226; Open fire</div>")
	map.addOverlay(marker2);
	
var point = new GLatLng(56.081328,-6.230621);
	var marker2 = createMarker2(point,"Gortain","<div class='regionallogo'><span class='regionaltitle'>Gortain</span><br/><img src='images/Gortain2-image.jpg'  width='250' height='123'/><br/><br/>This cottage is larger and more spacious<br/> than the other six-person cottages. It enjoys <br/>superb views over the Atlantic and benefits <br/>from large sliding doors leading from the <br/>sitting room to an outside seating area.&nbsp;<br/><span class='regional'><a href='holiday-cottages/colonsay/sea-views/gortain.aspx'>Discover More >></a></span><br/><br/>&#8226; Sleeps 6<br/>&#8226; 3 Bedrooms<br/>&#8226; Dishwasher<br/>&#8226; Sea views<br/>&#8226; Wood burning stove</div>")
	map.addOverlay(marker2);
	
var point = new GLatLng(56.091768,-6.193027);
	var marker2 = createMarker2(point,"Pondside","<div class='regionallogo'><span class='regionaltitle'>Pondside</span><br/><img src='images/pond-image.jpg'  width='250' height='123'/><br/><br/>This pretty cottage is located near the pond <br/>in the beautiful woodland gardens. It has a <br/>sunny and very sheltered garden, which is <br/>south facing.&nbsp;<span class='regional'><a href='holiday-cottages/colonsay/countryside-views/pondside.aspx'>Discover More >></a></span><br/><br/>&#8226; Sleeps 6<br/>&#8226; 3 Bedrooms<br/>&#8226; Dishwasher<br/>&#8226; Open fire<br/>&#8226; Countryside views</div>")
	map.addOverlay(marker2);
	

var point = new GLatLng(56.041076,-6.230879);
	var marker2 = createMarker2(point,"Garvard","<div class='regionallogo'><span class='regionaltitle'>Garvard</span><br/><img src='images/Garvard-image.jpg'  width='250' height='123'/><br/><br/>In a stunning location at the southern end of<br/> the island, this farmhouse is at the end of a <br/>half-mile-long rough track.&nbsp;<span class='regional'><a href='holiday-cottages/colonsay/sea-views/garvard.aspx'>Discover More >></a></span><br/><br/>&#8226; Sleeps 10<br/>&#8226; 5 Bedrooms<br/>&#8226; Dishwasher<br/>&#8226; Sea views<br/>&#8226; Open fire</div>")
	map.addOverlay(marker2);	
	
	
var point = new GLatLng(56.081232,-6.208477);
	var marker2 = createMarker2(point,"The Mill","<div class='regionallogo'><span class='regionaltitle'>The Mill</span><br/><img src='images/mill-image.jpg'  width='250' height='123'/><br/><br/>The Mill House is a beautifully restored old<br/> corn mill with the original mill wheel and <br/>stream. The house has been furnished to a <br/>very high standard.&nbsp;<span class='regional'><a href='holiday-cottages/colonsay/loch-views/the-mill.aspx'>Discover More >></a></span><br/><br/>&#8226; Sleeps 8<br/>&#8226; 4 Bedrooms<br/>&#8226; Dishwasher<br/>&#8226; Loch views<br/>&#8226; Wood burning stove</div>")
	map.addOverlay(marker2);	
	

var point = new GLatLng(56.068394,-6.202469);
	var marker2 = createMarker2(point,"Scalasaig Farmhouse","<div class='regionallogo'><span class='regionaltitle'>Scalasaig Farmhouse</span><br/><img src='images/Scalasaig-Farmhouse-image.jpg'  width='250' height='123'/><br/><br/>This traditional farmhouse is located down a <br/>short track and is tucked into the hillside<br/> close to the main settlement on the island <br/>near the harbour.&nbsp;<span class='regional'><a href='holiday-cottages/colonsay/countryside-views/scalasaig-farmhouse.aspx'>Discover More >></a></span><br/><br/>&#8226; Sleeps 10<br/>&#8226; 4 Bedrooms<br/>&#8226; Dishwasher<br/>&#8226; Open fire<br/>&#8226; Countryside views</div>")
	map.addOverlay(marker2);	
	

var point = new GLatLng(56.045966,-6.196718);
	var marker2 = createMarker2(point,"Balerominmhor","<div class='regionallogo'><span class='regionaltitle'>Balerominmhor</span><br/><img src='images/Balerominmhor-image.jpg'  width='250' height='123'/><br/><br/>In a spectacular position at the end of a <br/>mile-long rough track. This house has <br/>commanding sea views towards the isles of<br/> Islay and Jura.&nbsp;<span class='regional'><a href='holiday-cottages/colonsay/sea-views/balerominmhor.aspx'>Discover More >></a></span><br/><br/>&#8226; Sleeps 10<br/>&#8226; 4 Bedrooms<br/>&#8226; Dishwasher<br/>&#8226; Sea views<br/>&#8226; Open fire</div>")
	map.addOverlay(marker2);
		

var point = new GLatLng(56.055313,-6.195345);
	var marker2 = createMarker2(point,"Baleromindubh Farmhouse","<div class='regionallogo'><span class='regionaltitle'>Baleromindubh Farmhouse</span><br/><img src='images/Balerominmhor-farm.jpg'  width='250' height='123'/><br/><br/>This Victorian farmhouse is situated at the <br/>end of a mile-long rough track and has <br/>magnificent views across to the Isle of Jura.&nbsp;<br/><span class='regional'><a href='holiday-cottages/colonsay/sea-views/baleromindubh-farmhouse.aspx'>Discover More >></a></span><br/><br/>&#8226; Sleeps 10<br/>&#8226; 5 Bedrooms<br/>&#8226; Dishwasher<br/>&#8226; Sea views<br/>&#8226; Open fire</div>")
	map.addOverlay(marker2);	
	

var point = new GLatLng(56.057709,-6.239204);
	var marker2 = createMarker2(point,"Machrins","<div class='regionallogo'><span class='regionaltitle'>Machrins</span><br/><img src='images/machrins2-image.jpg'  width='250' height='123'/><br/><br/>This large Victorian farmhouse has beautiful<br/> views towards Machrins Bay. It provides <br/>comfortable and spacious accommodation <br/>for up to 3 families.&nbsp;<span class='regional'><a href='holiday-cottages/colonsay/sea-views/machrins.aspx'>Discover More >></a></span><br/><br/>&#8226; Sleeps 12<br/>&#8226; 6 Bedrooms<br/><br/>&#8226; Dishwasher&#8226; Sea views<br/>&#8226; Open fire</div>")
	map.addOverlay(marker2);
	
	
	
	
	
	
	


var point = new GLatLng(56.070407,-6.189594);
	var marker2 = createMarker2(point,"Hotel","<div class='regionallogo'><span class='regionaltitle'>Colonsay Hotel</span><br/><img src='images/hotel.jpg'  width='250' height='123'/><br/><br/>Built in 1750 as an inn for the local <br/>population and the rare visitor, the exterior<br/> of The Colonsay has remained largely <br/>unchanged. Perched on the hillside above<br/> the harbour, the hotel has commanding <br/>views over the sea to the neighbouring <br/>island of Jura.&nbsp;<span class='regional'><a href='Colonsay-Hotel.aspx'>Discover More >></a></span></div>")
	map.addOverlay(marker2);		


var point = new GLatLng(56.085016,-6.193285);
	var marker2 = createMarker2(point,"Backpackers","<div class='regionallogo'><span class='regionaltitle'>Backpackers Lodge</span><br/><img src='images/backpackers-image.jpg'  width='250' height='123'/><br/><br/>The Lodge is located in a peaceful spot in <br/>the centre of the island with commanding<br/> views towards Loch Fada. It is quiet and <br/>peaceful with no other houses close by.&nbsp;<br/><span class='regional'><a href='BackpackerLodge.aspx'>Discover More >></a></span></div>")
	map.addOverlay(marker2);	
	
	
	
	
	
var point = new GLatLng(56.123309,-6.14007);
	var marker = createMarker(point,"beach1","<div class='regionallogo'><span class='regionaltitle'>Balnahard Bay</span><br/><img src='images/Balnahard-image.jpg'  width='250' height='123'/><br/><br/><span class='regional'><a href='About-the-Island/Things-to-do/The-Beaches.aspx'>Discover More >></a></span></div>")
	map.addOverlay(marker);
	
	var point = new GLatLng(56.103713,-6.179209);
	var marker = createMarker(point,"Beach2","<div class='regionallogo'><span class='regionaltitle'>Kiloran Bay</span><br/><img src='images/Kiloran-image.jpg'  width='250' height='123'/><br/><br/><span class='regional'><a href='About-the-Island/Things-to-do/The-Beaches.aspx'>Discover More >></a></span></div>")
	map.addOverlay(marker);
	
	var point = new GLatLng(56.063507,-6.249676);
	var marker = createMarker(point,"Beach3","<div class='regionallogo'><span class='regionaltitle'>Machrins Bay</span><br/><img src='images/machrins-beach.jpg'  width='250' height='123'/><br/><br/><span class='regional'><a href='About-the-Island/Things-to-do/The-Beaches.aspx'>Discover More >></a></span></div>")
	map.addOverlay(marker);
	
	var point = new GLatLng(56.046253,-6.187534);
	var marker = createMarker(point,"Beach4","<div class='regionallogo'><span class='regionaltitle'>Cable Bay</span><br/><img src='images/cable-bay-image.jpg'  width='250' height='123'/><br/><br/><span class='regional'><a href='About-the-Island/Things-to-do/The-Beaches.aspx'>Discover More >></a></span></div>")
	map.addOverlay(marker);
	
	var point = new GLatLng(56.041939,-6.247616);
	var marker = createMarker(point,"Beach5","<div class='regionallogo'><span class='regionaltitle'>Garvard Bay</span><br/><img src='images/garvard-beach.jpg'  width='250' height='123'/><br/><br/><span class='regional'><a href='About-the-Island/Things-to-do/The-Beaches.aspx'>Discover More >></a></span></div>")
	map.addOverlay(marker);
	

	
	var point = new GLatLng(56.024867,-6.210365);
	var marker = createMarker(point,"Beach7","<div class='regionallogo'><span class='regionaltitle'>South East Corner</span><br/><img src='images/sw-image.jpg'  width='250' height='123'/><br/><br/><span class='regional'><a href='About-the-Island/Things-to-do/The-Beaches.aspx'>Discover More >></a></span></div>")
	map.addOverlay(marker);



	
	
	
	
	
	

	
var point = new GLatLng(56.061303,-6.250534);
	var marker3 = createMarker3(point,"Golf","<div class='regionallogo'><span class='regionaltitle'>Isle of Colonsay Golf Course</span><br/><img src='images/golf-image.jpg'  width='250' height='123'/><br/><br/>The 18 hole links (4775 yards) is on the <br/>natural machair and is completely natural. <br/>The course is reputedly over 200 years old, <br/>and although play is restricted to members<br/> only, full membership is open to all.&nbsp;<br/><span class='regional'><a href='About-the-Island/Things-to-do/Golf.aspx'>Discover More >></a></span></div>")
	map.addOverlay(marker3);
	
	
	
var point = new GLatLng(56.057685,-6.242552);
	var marker3 = createMarker3(point,"Airstrip","<div class='regionallogo'><span class='regionaltitle'>Air strip</span><br/><img src='images/air-image.jpg'  width='250' height='123'/></div>")
	map.addOverlay(marker3);
	
	
	var point = new GLatLng(56.092582,-6.189251);
	var marker3 = createMarker3(point,"Colonsay House","<div class='regionallogo'><span class='regionaltitle'>Colonsay House &amp; Gardens</span><br/><img src='images/house-image.jpg'  width='250' height='123'/><br/><br/>The Colonsay House rhododendron and <br/>woodland garden is considered to be one of<br/> the finest rhododendron gardens in Scotland.&nbsp;<br/><span class='regional'><a href='The-Estate/Colonsay-House-And-Garden.aspx'>Discover More >></a></span></div>")
	map.addOverlay(marker3);
	
	
		
	var point = new GLatLng(56.019302,-6.248646);
	var marker3 = createMarker3(point,"oronsay priory","<div class='regionallogo'><span class='regionaltitle'>Oronsay Priory </span><br/><img src='images/pri-image.jpg'  width='250' height='123'/></div>")
	map.addOverlay(marker3);

	
	
	
	
	

	var point = new GLatLng(56.031677,-6.227531);
	var marker = createMarker(point,"Beach8","<div class='regionallogo'><span class='regionaltitle'>The Strand</span><br/><img src='images/strand-beach.jpg'  width='250' height='123'/><br/><br/><span class='regional'><a href='About-the-Island/Things-to-do/The-Beaches.aspx'>Discover More >></a></span></div>")
	map.addOverlay(marker);



	var point = new GLatLng(56.068778,-6.185818);
	var marker3 = createMarker3(point,"Pier","<div class='regionallogo'><span class='regionaltitle'>The Pier &amp; Harbour</span><br/><img src='images/pier-image.jpg'  width='250' height='123'/></div>")
	map.addOverlay(marker3);

	
	
	
	
	
	
	
	
	
	var point = new GLatLng(56.092582,-6.189251);
	var marker2 = createMarker2(point,"Turnigil Appartment","<div class='regionallogo'><span class='regionaltitle'>Turnigil Appartment</span><br/><img src='images/tur-image.jpg'  width='250' height='123'/><br/><br/>This top floor apartment has views over<br/> the garden and is south-facing with a sunny<br/> aspect. There is a sitting room with open <br/>fire, a dining/kitchen area, one double <br/>bedroom, one twin bedded room and a <br/>bathroom.&nbsp;<span class='regional'><a href='holiday-cottages/colonsay/countryside-views/turnigil.aspx'>Discover More >></a></span><br/><br/>&#8226; Sleeps 4<br/>&#8226; 2 Bedrooms<br/>&#8226; Dishwasher<br/>&#8226; Open Fire<br/>&#8226; Countryside Views</div>")
	map.addOverlay(marker2);
	
	

	var point = new GLatLng(56.092582,-6.189251);
	var marker2 = createMarker2(point,"Pig's Paradise Appartments","<div class='regionallogo'><span class='regionaltitle'>Pig's Paradise Appartment</span><br/><img src='images/pig-image.jpg'  width='250' height='123'/><br/><br/>This first floor apartment looks out over the<br/> gardens and benefits from its southerly <br/>aspect. There is a large sitting/dining room<br/> with an open fire and adjoining kitchen.<br/><span class='regional'><a href='holiday-cottages/colonsay/countryside-views/pigs-paradise.aspx'>Discover More >></a></span><br/><br/>&#8226; Sleeps 6<br/>&#8226; 3 Bedrooms<br/>&#8226; Open Fire<br/>&#8226; Countryside Views</div>")
	map.addOverlay(marker2);
	
	
	
	var point = new GLatLng(56.092582,-6.189251);
	var marker2 = createMarker2(point,"Nursery Appartment","<div class='regionallogo'><span class='regionaltitle'>Nursery Appartment</span><br/><img src='images/Nursery-image.jpg'  width='250' height='123'/><br/><br/>This apartment is on the first floor with <br/>beautiful views over the gardens. The <br/>sitting/dining room has a sunny aspect and <br/>has an open fire and adjacent kitchen.<br/><span class='regional'><a href='holiday-cottages/colonsay/countryside-views/nursery.aspx'>Discover More >></a></span><br/><br/>&#8226; Sleeps 2<br/>&#8226; 1 Bedrooms<br/>&#8226; Open Fire<br/>&#8226; Countryside Views</div>")
	map.addOverlay(marker2);
	
	
	
	var point = new GLatLng(56.092582,-6.189251);
	var marker2 = createMarker2(point,"Drumclach Appartments","<div class='regionallogo'><span class='regionaltitle'>Drumclach Appartment</span><br/><img src='images/Drumclach-image.jpg'  width='250' height='123'/><br/><br/>This apartment is on the top floor with lovely<br/> views over the gardens. There is a cosy <br/>sitting/dining room with an open fire and an <br/>adjacent kitchen.&nbsp;<span class='regional'><a href='holiday-cottages/colonsay/countryside-views/drumclach.aspx'>Discover More >></a></span><br/><br/>&#8226; Sleeps 2<br/>&#8226; 1 Bedrooms<br/>&#8226; Open Fire<br/>&#8226; Countryside Views</div>")
	map.addOverlay(marker2);
	
	

	var point = new GLatLng(56.092582,-6.189251);
	var marker2 = createMarker2(point,"Stable Appartments","<div class='regionallogo'><span class='regionaltitle'>Stable Appartment</span><br/><img src='images/Stable-image.jpg'  width='250' height='123'/><br/><br/>This first floor apartment has a sitting room<br/> with some views over the gardens and an<br/>open fire.&nbsp;<span class='regional'><a href='holiday-cottages/colonsay/countryside-views/stable.aspx'>Discover More >></a></span><br/><br/>&#8226; Sleeps 4<br/>&#8226; 2 Bedrooms<br/>&#8226; Open Fire<br/>&#8226; Countryside Views</div>")
	map.addOverlay(marker2);
	
	
	
	
	
		
	
	
	
	
	
	
	
	
	






	


	
	

	// ====== Restricting the range of Zoom Levels =====
	// Get the list of map types      
	var mt = map.getMapTypes();
	// Overwrite the getMinimumResolution() and getMaximumResolution() methods
	for (var i=0; i<mt.length; i++) {
		mt[i].getMinimumResolution = function() {return 2;}
		mt[i].getMaximumResolution = function() {return 18;}
	}
	

	
} else {
	alert("Sorry, the Google Maps API is not compatible with this browser");
}
