    function load(location) {
      if (GBrowserIsCompatible()) {
       	var map = new GMap2(document.getElementById("map"));
          map.addControl(new GMapTypeControl());
	  map.disableDragging();
	  map.disableDoubleClickZoom();
          map.disableScrollWheelZoom();
         map.addOverlay(new GLayer("com.panoramio.popular"));


        var markers = new Array();
	var point;

	switch(location){
	 case 'explore':
         	var data = new Array();
		data[0] = new Array("Canaries",-20,25,"On each of the beautiful islands there is plenty of accommodation available and you will find something that will suit every budget. From peaceful intimate bed and breakfasts, to larger All Inclusive resorts, you will find something that caters for your needs. The Canaries enjoy hot sunny weather all year round, duty free prices and are home to some of the best beaches in Europe and are suitable for family, couples and group holidays.");
		data[1] = new Array("Turkey",39.0,36.0,"Holidays to Turkey are becoming increasingly popular year after year and it is easy to understand why, as Turkey has something for families, couples and groups to enjoy. Filled with gorgeous beaches, amazing historical and archaeological sites, spectacular scenery and majestic mountains, Turkey truly does have something for everyone! Imagine a holiday in a place steeped in myths, legends and history but with every modern facility that you may need!");
		data[2] = new Array("Caribbean",-73.0,21.0,"There are more than 7000 islands, islets and reefs in the region of the Caribbean. The typical view of Caribbean holidays is that of beautiful, white sandy beaches, palm trees and coconut cocktails. The immense choice of Caribbean holidays presents you a wide range of activities to keep you entertained, including all the usual water sports and sailing or dancing to true reggae, salsa or calypso.");
        	map.setCenter(new GLatLng(45, 0), 2);
        	window.setInterval (function() { if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(45, 0));}}, 500);

            	for (i=0; i<data.length; i++){

	                desc[data[i][0]] =  data[i][3];
			point = new GLatLng(data[i][2],data[i][1]);
	        	markers[i] = new GMarker(point);
	        	markers[i].title = data[i][0];
	            	markers[i].clickable = false;	
        		GEvent.addListener(markers[i], "mouseover", function() {
		         show_details(this.title);
			 dpinitlists(this.title,'','','');
		          });
		        GEvent.addListener(markers[i], "click", function() {
		         document.location.href = this.title.toLowerCase().replace(" ","_")+'.phtml';
		          });
		        map.addOverlay(markers[i]);
		}
	 break;
	 case 'Rixos':
	        map.setCenter(new GLatLng(37.05, 27.45),11);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(37.05, 27.45));}
		}, 500);
		point = new GLatLng(37.08, 27.45);
        	markers[0] = new GMarker(point);
            	markers[0].clickable = false;
		map.addOverlay(markers[0]);
		map.addOverlay(new GLayer("com.panoramio.all"));
	 break;
	 case 'GOS':
	        map.setCenter(new GLatLng(37.35, 27.33),11);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(37.35, 27.33));}
		}, 500);
		point = new GLatLng(37.35, 27.27);
        	markers[0] = new GMarker(point);
            	markers[0].clickable = false;
		map.addOverlay(markers[0]);
		map.addOverlay(new GLayer("com.panoramio.all"));
	 break;
	 case 'canaries':
	        map.setCenter(new GLatLng(28.5,-15.5),7);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(28.5, -15.5));}
		}, 500);
		point = new GLatLng(28.2,-14.1);
        	markers[0] = new GMarker(point);
            	markers[0].clickable = false;
	        GEvent.addListener(markers[0], "click", function() { document.location.href = 'fuerteventura.phtml';});
		map.addOverlay(markers[0]);
		point = new GLatLng(29.0,-13.7);
        	markers[1] = new GMarker(point);
            	markers[1].clickable = false;
	        GEvent.addListener(markers[1], "click", function() { document.location.href = 'lanzarote.phtml';});
		map.addOverlay(markers[1]);
		point = new GLatLng(27.8,-15.6);
        	markers[2] = new GMarker(point);
            	markers[2].clickable = false;
	        GEvent.addListener(markers[2], "click", function() { document.location.href = 'gran_canaria.phtml';});
		map.addOverlay(markers[2]);
		point = new GLatLng(28.17,-16.4);
        	markers[3] = new GMarker(point);
            	markers[3].clickable = false;
	        GEvent.addListener(markers[3], "click", function() { document.location.href = 'tenerife.phtml';});
		map.addOverlay(markers[3]);
	 break;
	 case 'lanzarote':
	        map.setCenter(new GLatLng(29,-13.7),10);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(29, -13.7));}
		}, 500);
		point = new GLatLng(28.85,-13.8);
        	markers[0] = new GMarker(point);
            	markers[0].clickable = false;
	        GEvent.addListener(markers[0], "click", function() { document.location.href = 'playa_blanca.phtml';});
		map.addOverlay(markers[0]);
		point = new GLatLng(28.93,-13.65);
        	markers[1] = new GMarker(point);
            	markers[1].clickable = false;
	        GEvent.addListener(markers[1], "click", function() { document.location.href = 'puerto_del_carmen.phtml';});
		map.addOverlay(markers[1]);
		point = new GLatLng(28.99,-13.5);
        	markers[2] = new GMarker(point);
            	markers[2].clickable = false;
	        GEvent.addListener(markers[2], "click", function() { document.location.href = 'costa_teguise.phtml';});
		map.addOverlay(markers[2]);
	 break;
	 case 'fuerteventura':
	        map.setCenter(new GLatLng(28.45,-14),9);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(28.45,-14));}
		}, 500);
		point = new GLatLng(28.7,-13.9);
        	markers[0] = new GMarker(point);
            	markers[0].clickable = false;
	        GEvent.addListener(markers[0], "click", function() { document.location.href = 'corralejo.phtml';});
		map.addOverlay(markers[0]);
		point = new GLatLng(28.35,-13.87);
        	markers[1] = new GMarker(point);
            	markers[1].clickable = false;
	        GEvent.addListener(markers[1], "click", function() { document.location.href = 'costa_caleta.phtml';});
		map.addOverlay(markers[1]);
		point = new GLatLng(28.28,-14);
        	markers[2] = new GMarker(point);
            	markers[2].clickable = false;
	        GEvent.addListener(markers[2], "click", function() { document.location.href = 'jandia.phtml';});
		map.addOverlay(markers[2]);
	 break;
	 case 'gran_canaria':
	        map.setCenter(new GLatLng(28,-15.6),9);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(28,-15.6));}
		}, 500);
		point = new GLatLng(27.8,-15.7);
        	markers[0] = new GMarker(point);
            	markers[0].clickable = false;
	        GEvent.addListener(markers[0], "click", function() { document.location.href = 'puerto_rico.phtml';});
		map.addOverlay(markers[0]);
		point = new GLatLng(27.8,-15.5);
        	markers[1] = new GMarker(point);
            	markers[1].clickable = false;
	        GEvent.addListener(markers[1], "click", function() { document.location.href = 'san_augustin.phtml';});
		map.addOverlay(markers[1]);
		point = new GLatLng(27.76,-15.6);
        	markers[1] = new GMarker(point);
            	markers[1].clickable = false;
	        GEvent.addListener(markers[1], "click", function() { document.location.href = 'playa_del_ingles.phtml';});
		map.addOverlay(markers[1]);
	 break;
	 case 'tenerife':
	        map.setCenter(new GLatLng(28.3,-16.4),9);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(28.3,-16.4));}
		}, 500);
		point = new GLatLng(28,-16.65);
        	markers[0] = new GMarker(point);
            	markers[0].clickable = false;
	        GEvent.addListener(markers[0], "click", function() { document.location.href = 'los_cristianos.phtml';});
		map.addOverlay(markers[0]);
		point = new GLatLng(28.13,-16.78);
        	markers[1] = new GMarker(point);
            	markers[1].clickable = false;
	        GEvent.addListener(markers[1], "click", function() { document.location.href = 'playa_de_las_americas.phtml';});
		map.addOverlay(markers[1]);
		point = new GLatLng(28.4,-16.5);
        	markers[2] = new GMarker(point);
            	markers[2].clickable = false;
	        GEvent.addListener(markers[2], "click", function() { document.location.href = 'puerto_de_la_cruz.phtml';});
		map.addOverlay(markers[2]);
	 break;
	 case 'turkey':
	        map.setCenter(new GLatLng(39,33),5);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(39,33));}
		}, 500);
		point = new GLatLng(37.02,27.26);
        	markers[0] = new GMarker(point);
            	markers[0].clickable = false;
	        GEvent.addListener(markers[0], "click", function() { document.location.href = 'bodrum.phtml';});
		map.addOverlay(markers[0]);
		point = new GLatLng(36.54,30.41);
        	markers[1] = new GMarker(point);
            	markers[1].clickable = false;
	        GEvent.addListener(markers[1], "click", function() { document.location.href = 'antalya.phtml';});
		map.addOverlay(markers[1]);
		point = new GLatLng(41.01,28.97);
		point = new GLatLng(36.46,28.48);
        	markers[2] = new GMarker(point);
            	markers[2].clickable = false;
	        GEvent.addListener(markers[2], "click", function() { document.location.href = 'dalaman.phtml';});
		map.addOverlay(markers[2]);
	 break;
	 case 'bodrum':
	        map.setCenter(new GLatLng(37.4,27.26),8);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(37.4,27.26));}
		}, 500);
		point = new GLatLng(37.02,27.4);
        	markers[0] = new GMarker(point);
            	markers[0].clickable = false;
	        GEvent.addListener(markers[0], "click", function() { document.location.href = 'gumbet.phtml';});
		map.addOverlay(markers[0]);
		point = new GLatLng(37.8,27.4);
        	markers[1] = new GMarker(point);
            	markers[1].clickable = false;
	        GEvent.addListener(markers[1], "click", function() { document.location.href = 'kusadasi.phtml';});
		map.addOverlay(markers[1]);
	 break;
	 case 'antalya':
	        map.setCenter(new GLatLng(36.8,30.8),9);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(36.8,30.8));}
		}, 500);
	 break;
	 case 'istanbul':
	        map.setCenter(new GLatLng(41.01,28.97),9);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(41.01,28.97));}
		}, 500);
	 break;
	 case 'dalaman':
	        map.setCenter(new GLatLng(36.8,28.65),9);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(36.8,28.65));}
		}, 500);
		point = new GLatLng(36.85, 28.25);
        	markers[0] = new GMarker(point);
            	markers[0].clickable = false;
	        GEvent.addListener(markers[0], "click", function() { document.location.href = 'marmaris.phtml';});
		map.addOverlay(markers[0]);
		point = new GLatLng(36.6, 29.1);
        	markers[1] = new GMarker(point);
            	markers[1].clickable = false;
	        GEvent.addListener(markers[1], "click", function() { document.location.href = 'olu_deniz.phtml';});
		map.addOverlay(markers[1]);
	 break;
	 case 'egypt':
	        map.setCenter(new GLatLng(28,31.14),5);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(28,31.13));}
		}, 500);
		point = new GLatLng(28,34);
        	markers[0] = new GMarker(point);
            	markers[0].clickable = false;
	        GEvent.addListener(markers[0], "click", function() { document.location.href = 'sharm_el_sheikh.phtml';});
		map.addOverlay(markers[0]);
		point = new GLatLng(25.5,33);
        	markers[1] = new GMarker(point);
            	markers[1].clickable = false;
	        GEvent.addListener(markers[1], "click", function() { document.location.href = 'luxor.phtml';});
		map.addOverlay(markers[1]);
		point = new GLatLng(27,33.5);
        	markers[2] = new GMarker(point);
            	markers[2].clickable = false;
	        GEvent.addListener(markers[2], "click", function() { document.location.href = 'el_gouna.phtml';});
		map.addOverlay(markers[2]);
		point = new GLatLng(26.5,33.7);
        	markers[3] = new GMarker(point);
            	markers[3].clickable = false;
	        GEvent.addListener(markers[3], "click", function() { document.location.href = 'hurghada.phtml';});
		map.addOverlay(markers[3]);
		point = new GLatLng(25,34.8);
        	markers[4] = new GMarker(point);
            	markers[4].clickable = false;
	        GEvent.addListener(markers[4], "click", function() { document.location.href = 'marsa_alam.phtml';});
		map.addOverlay(markers[4]);
		point = new GLatLng(29.5,35);
        	markers[5] = new GMarker(point);
            	markers[5].clickable = false;
	        GEvent.addListener(markers[5], "click", function() { document.location.href = 'taba.phtml';});
		map.addOverlay(markers[5]);
		point = new GLatLng(29.8,31.2);
        	markers[6] = new GMarker(point);
            	markers[6].clickable = false;
	        GEvent.addListener(markers[6], "click", function() { document.location.href = 'cairo.phtml';});
		map.addOverlay(markers[6]);
	 break;
	 case 'croatia':
	        map.setCenter(new GLatLng(44.5,16),6);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(44.5,16));}
		}, 500);
		point = new GLatLng(43.3,16.4);
        	markers[0] = new GMarker(point);
            	markers[0].clickable = false;
	        GEvent.addListener(markers[0], "click", function() { document.location.href = 'bol.phtml';});
		map.addOverlay(markers[0]);
		point = new GLatLng(42.7,18);
        	markers[1] = new GMarker(point);
            	markers[1].clickable = false;
	        GEvent.addListener(markers[1], "click", function() { document.location.href = 'dubrovnik.phtml';});
		map.addOverlay(markers[1]);
		point = new GLatLng(43.3,16.9);
        	markers[2] = new GMarker(point);
            	markers[2].clickable = false;
	        GEvent.addListener(markers[2], "click", function() { document.location.href = 'makarksa.phtml';});
		map.addOverlay(markers[2]);
		point = new GLatLng(45,13.7);
        	markers[3] = new GMarker(point);
            	markers[3].clickable = false;
	        GEvent.addListener(markers[3], "click", function() { document.location.href = 'porec.phtml';});
		map.addOverlay(markers[3]);
		point = new GLatLng(45.2,13.6);
        	markers[4] = new GMarker(point);
            	markers[4].clickable = false;
	        GEvent.addListener(markers[4], "click", function() { document.location.href = 'rovinj.phtml';});
		map.addOverlay(markers[4]);
		point = new GLatLng(43.6,16.4);
        	markers[5] = new GMarker(point);
            	markers[5].clickable = false;
	        GEvent.addListener(markers[5], "click", function() { document.location.href = 'split.phtml';});
		map.addOverlay(markers[5]);
		point = new GLatLng(43.6,16.1);
        	markers[6] = new GMarker(point);
            	markers[6].clickable = false;
	        GEvent.addListener(markers[6], "click", function() { document.location.href = 'trogir.phtml';});
		map.addOverlay(markers[6]);
		point = new GLatLng(42.8,17);
        	markers[7] = new GMarker(point);
            	markers[7].clickable = false;
	        GEvent.addListener(markers[7], "click", function() { document.location.href = 'korcula.phtml';});
		map.addOverlay(markers[7]);
		point = new GLatLng(45.2,14.2);
        	markers[8] = new GMarker(point);
            	markers[8].clickable = false;
	        GEvent.addListener(markers[8], "click", function() { document.location.href = 'opatija.phtml';});
		map.addOverlay(markers[8]);
	 break;
	 case 'playa_blanca':
	        map.setCenter(new GLatLng(28.85,-13.8),11);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(28.85,-13.8));}
		}, 500);
	 break;
	 case 'puerto_del_carmen':
	        map.setCenter(new GLatLng(28.93,-13.65),12);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(28.93,-13.65));}
		}, 500);
	 break;
	 case 'costa_teguise':
	        map.setCenter(new GLatLng(28.99,-13.5),12);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(28.99,-13.5));}
		}, 500);
	 break;
	 case 'puerto_rico':
	        map.setCenter(new GLatLng(27.8,-15.7),12);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(27.8,-15.7));}
		}, 500);
	 break;
	 case 'san_augustin':
	        map.setCenter(new GLatLng(27.8,-15.5),12);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(27.8,-15.5));}
		}, 500);
	 break;
	 case 'playa_del_ingles':
	        map.setCenter(new GLatLng(27.76,-15.6),12);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(27.76,-15.6));}
		}, 500);
	 break;
	 case 'corralejo':
	        map.setCenter(new GLatLng(28.75,-13.9),12);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(28.75,-13.9));}
		}, 500);
	 break;
	 case 'costa_caleta':
	        map.setCenter(new GLatLng(28.38,-13.87),12);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(28.38,-13.87));}
		}, 500);
	 break;
	 case 'jandia':
	        map.setCenter(new GLatLng(28.28,-14),12);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(28.28,-14));}
		}, 500);
	 break;
	 case 'los_cristianos':
	        map.setCenter(new GLatLng(28,-16.65),12);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(28,-16.65));}
		}, 500);
	 break;
	 case 'playa_de_las_americas':
	        map.setCenter(new GLatLng(28.13,-16.78),12);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(28.13,-16.78));}
		}, 500);
	 break;
	 case 'puerto_de_la_cruz':
	        map.setCenter(new GLatLng(28.4,-16.55),12);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(28.4,-16.55));}
		}, 500);
	 break;
	 case 'gumbet': 
	        map.setCenter(new GLatLng(37.02,27.4),12);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(37.02,27.4));}
		}, 500);
	 break;
	 case 'kusadasi': 
	        map.setCenter(new GLatLng(37.85,27.3),12);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(37.85,27.3));}
		}, 500);
	 break;
	 case 'belek': 
	        map.setCenter(new GLatLng(36.85,31.1),12);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(36.85,31.1));}
		}, 500);
	 break;
	 case 'side': 
	        map.setCenter(new GLatLng(36.78,31.4),12);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(36.78,31.4));}
		}, 500);
	 break;
	 case 'hisaronu': 
	        map.setCenter(new GLatLng(36.8,28.12),12);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(36.8,28.12));}
		}, 500);
	 break;
	 case 'icemeler': 
	        map.setCenter(new GLatLng(36.8,28.23),13);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(36.8,28.23));}
		}, 500);
	 break;
	 case 'marmaris': 
	        map.setCenter(new GLatLng(36.85, 28.25),13);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(36.85, 28.25));}
		}, 500);
	 break;
	 case 'olu_deniz': 
	        map.setCenter(new GLatLng(36.58, 29.15),13);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(36.58, 29.15));}
		}, 500);
	 break;
	 case 'sharm_el_sheikh': 
	        map.setCenter(new GLatLng(27.85,34.25),11);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(27.85,34.25));}
		}, 500);
	 break;
	 case 'luxor': 
	        map.setCenter(new GLatLng(25.5,33),8);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(25.5,33));}
		}, 500);
	 break;
	 case 'el_gouna': 
	        map.setCenter(new GLatLng(27.5,33.5),9);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(27.5,33.5));}
		}, 500);
	 break;
	 case 'hurghada': 
	        map.setCenter(new GLatLng(27.3,33.7),10);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(27.3,33.7));}
		}, 500);
	 break;
	 case 'marsa_alam': 
	        map.setCenter(new GLatLng(25,34.8),10);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(25,34.8));}
		}, 500);
	 break;
	 case 'taba': 
	        map.setCenter(new GLatLng(29.5,35),10);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(29.5,35));}
		}, 500);
	 break;
	 case 'cairo': 
	        map.setCenter(new GLatLng(30,31.2),10);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(30,31.2));}
		}, 500);
	 break;
	 case 'bol': 
	        map.setCenter(new GLatLng(43.3,16.5),10);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(43.3,16.5));}
		}, 500);
	 break;
	 case 'dubrovnik': 
	        map.setCenter(new GLatLng(42.7,18),10);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(42.7,18));}
		}, 500);
	 break;
	 case 'makarksa': 
	        map.setCenter(new GLatLng(43.3,16.9),10);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(43.3,16.9));}
		}, 500);
	 break;
	 case 'porec': 
	        map.setCenter(new GLatLng(45.3,13.7),10);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(45.3,13.7));}
		}, 500);
	 break;
	 case 'rovinj': 
	        map.setCenter(new GLatLng(45.1,13.6),10);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(45.1,13.6));}
		}, 500);
	 break;
	 case 'split': 
	        map.setCenter(new GLatLng(43.6,16.4),10);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(43.6,16.4));}
		}, 500);
	 break;
	 case 'trogir': 
	        map.setCenter(new GLatLng(43.6,16.2),10);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(43.6,16.2));}
		}, 500);
	 break;
	 case 'korcula': 
	        map.setCenter(new GLatLng(42.9,17),10);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(42.9,17));}
		}, 500);
	 break;
	 case 'opatija': 
	        map.setCenter(new GLatLng(45.3,14.2),10);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(45.3,14.2));}
		}, 500);
	 break;
	 case 'caribbean': 
	        map.setCenter(new GLatLng(19,-68),5);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(19,-68));}
		}, 500);
		point = new GLatLng(13,-59.32);
        	markers[0] = new GMarker(point);
            	markers[0].clickable = false;
	        GEvent.addListener(markers[0], "click", function() { document.location.href = 'barbados.phtml';});
		map.addOverlay(markers[0]);
		point = new GLatLng(22,-79);
        	markers[1] = new GMarker(point);
            	markers[1].clickable = false;
	        GEvent.addListener(markers[1], "click", function() { document.location.href = 'cuba.phtml';});
		map.addOverlay(markers[1]);
		point = new GLatLng(18.3,-69.59);
        	markers[2] = new GMarker(point);
            	markers[2].clickable = false;
	        GEvent.addListener(markers[2], "click", function() { document.location.href = 'dominican_republic.phtml';});
		map.addOverlay(markers[2]);
		point = new GLatLng(14.1,-60.59);
        	markers[3] = new GMarker(point);
            	markers[3].clickable = false;
	        GEvent.addListener(markers[3], "click", function() { document.location.href = 'st_lucia.phtml';});
		map.addOverlay(markers[3]);
		point = new GLatLng(17.5,-61.48);
        	markers[4] = new GMarker(point);
            	markers[4].clickable = false;
	        GEvent.addListener(markers[4], "click", function() { document.location.href = 'antigua.phtml';});
		map.addOverlay(markers[4]);
	 break;
	 case 'antigua': 
	        map.setCenter(new GLatLng(17.08,-61.8),11);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(17.08,-61.8));}
		}, 500);
	 break;
	 case 'barbados': 
	        map.setCenter(new GLatLng(13.2,-59.55),10);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(13.2,-59.55));}
		}, 500);
	 break;
	 case 'cuba': 
	        map.setCenter(new GLatLng(21.9,-79),6);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(21.9,-79));}
		}, 500);
	 break;
	 case 'dominican_republic': 
	        map.setCenter(new GLatLng(18.7,-70.5),7);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(18.7,-70.5));}
		}, 500);
	 break;
	 case 'st_lucia': 
	        map.setCenter(new GLatLng(13.9,-60.98),10);
        	window.setInterval (function() {
		  if(map.getInfoWindow().isHidden()){map.panTo(new GLatLng(13.9,-60.98));}
		}, 500);
	 break;
	}
      }
    }


