
function callMap( lat, lon, zoom ) {
	 
	 // create the map
      var map = new GMap2(document.getElementById("map"));
      map.addControl(new GLargeMapControl());
      map.addControl(new GMapTypeControl());
      map.setCenter(new GLatLng(lat, lon), zoom);

      // add the points 
	  
	  
	  
	  // ...towns... 


 		  // Airlie Beach
		  var point = new GLatLng(-20.26815543675623,148.71763229370117);
		  var marker = createMarker(point,'<img src="/images/marker_orange_sm.png" height="14" width="14"/>Airlie Beach','<div style="width:218px; padding: 0; margin: 0 0 -30px 0;"><h4>Airlie Beach</h4><p>Airlie Beach, a coastal paradise.</p><a class="arrow" href="hotels_and_accommodation_Airlie_Beach.php">Airlie Beach Accommodation</a></div>', orange)
		  map.addOverlay(marker);
		  
		  // Bowen
		  var point = new GLatLng(-20.010774343712235,148.23509216308594);
		  var marker = createMarker(point,'<img src="/images/marker_orange_sm.png" height="14" width="14"/>Bowen','<div style="width:218px; padding: 0; margin: 0 0 -30px 0;"><h4>Bowen</h4><p>Discover the spectacular beaches of Bowen.</p><a class="arrow" href="/hotel/143080">Bowen Accommodation</a></div>', orange)
		  map.addOverlay(marker);

		  
		  // Cairns
		  var point = new GLatLng(-16.925388363276923,145.77516317367554);
		  var marker = createMarker(point,'<img src="/images/marker_orange_sm.png" height="14" width="14"/>Cairns','<div style="width:218px; padding: 0; margin: 0 0 -30px 0;"><h4>Cairns</h4><p>Cairns, a modern, sophisticated city.</p><a class="arrow" href="hotels_and_accommodation_Cairns.php">Cairns Accommodation</a></div>', orange)
		  map.addOverlay(marker);
		  
		 // Cairns Beaches
		  var point = new GLatLng(-16.807499008627477,145.711669921875);
		  var marker = createMarker(point,'<img src="/images/marker_orange_sm.png" height="14" width="14"/>Cairns Beaches','<div style="width:218px; padding: 0; margin: 0 0 -30px 0;"><h4>Cairns Beaches</h4><p>Beautiful beaches within easy reach of Cairns.</p><a class="arrow" href="hotels_and_accommodation_Cairns_Beaches.php">Cairns Beaches Accommodation</a></div>', orange)
		  map.addOverlay(marker);
		  
		  
		  
		  // Cape Tribulation
		  var point = new GLatLng(-16.10420554556561,145.45795440673828);
		  var marker = createMarker(point,'<img src="/images/marker_orange_sm.png" height="14" width="14"/>Cape Tribulation','<div style="width:218px; padding: 0; margin: 0 0 -30px 0;"><h4>Cape Tribulation</h4><p>Cape Tribulation, where rainforest meets the reef.</p><a class="arrow" href="hotels_and_accommodation_Cape_Tribulation.php">Cape Tribulation Accommodation</a></div>', orange)
		  map.addOverlay(marker);
		  
		  
		  // Daintree
		  var point = new GLatLng(-16.26032805229134,145.34010887145996);
		  var marker = createMarker(point,'<img src="/images/marker_orange_sm.png" height="14" width="14"/>Daintree','<div style="width:218px; padding: 0; margin: 0 0 -30px 0;"><h4>Daintree</h4><p>Daintree, tropical rainforest just two hours from Cairns.</p><a class="arrow" href="/hotel/33891">Daintree Accommodation</a></div>', orange)
		  map.addOverlay(marker);
		  
		  
		   // Gladstone
		  var point = new GLatLng(-23.84627791811337,151.25736236572266);
		  var marker = createMarker(point,'<img src="/images/marker_orange_sm.png" height="14" width="14"/>Gladstone','<div style="width:218px; padding: 0; margin: 0 0 -30px 0;"><h4>Gladstone</h4><p>Gladstone, perfect blend of reef, coast and country.</p><a class="arrow" href="hotels_and_accommodation_Gladstone.php">Gladstone Accommodation</a></div>', orange)
		  map.addOverlay(marker);
		  
		  
    
		  
		 
		  // Mackay
		  var point = new GLatLng(-21.147913381670975,149.21424865722656);
		  var marker = createMarker(point,'<img src="images/marker_orange_sm.png" height="14" width="14"/>Mackay','<div style="width:218px; padding: 0; margin: 0 0 -30px 0;"><h4>Mackay</h4><p>A tropical paradise where you will be captivated.</p><a class="arrow" href="hotels_and_accommodation_Mackay.php">Mackay Accommodation</a></div>', orange)
		  map.addOverlay(marker);
		  
	// Mission Beach
		  var point = new GLatLng(-17.867301,146.107146);
		  var marker = createMarker(point,'<img src="/images/marker_orange_sm.png" height="14" width="14"/>Mission Beach','<div style="width:218px; padding: 0; margin: 0 0 -30px 0;"><h4>Mission Beach</h4><p>Mission Beach, a coastal paradise.</p><a class="arrow" href="hotels_and_accommodation_Mission_Beach.php">Mission Beach Accommodation</a></div>', orange)
		  map.addOverlay(marker);
		  
		  
		  // Port Douglas
		  var point = new GLatLng(-16.483991421072716,145.46581864356995);
		  var marker = createMarker(point,'<img src="images/marker_orange_sm.png" height="14" width="14"/>Port Douglas','<div style="width:218px; padding: 0; margin: 0 0 -30px 0;"><h4>Port Douglas</h4><p>Explore beautiful beaches, the reef and rainforest.</p><a class="arrow" href="hotels_and_accommodation_Port_Douglas.php">Port Douglas Accommodation</a></div>', orange)
		  map.addOverlay(marker);
	  
		  // Rockhampton
		  var point = new GLatLng(-23.37879700488225,150.51226615905762);
		  var marker = createMarker(point,'<img src="images/marker_orange_sm.png" height="14" width="14"/>Rockhampton','<div style="width:218px; padding: 0; margin: 0 0 -30px 0;"><h4>Rockhampton</h4><p>A vibrant, pituresque city.</p><a class="arrow" href="hotels_and_accommodation_Rockhampton.php">Rockhampton Accommodation</a></div>', orange)
		  map.addOverlay(marker);
		  
		 // Townsville
		  var point = new GLatLng(-19.25678227742885, 146.8180274963379);
		  var marker = createMarker(point,'<img src="images/marker_orange_sm.png" height="14" width="14"/>Townsville','<div style="width:218px; padding: 0; margin: 0 0 -30px 0;"><h4>Townsville</h4><p>Access the reef, rainforests and the outback.</p><a class="arrow" href="hotels_and_accommodation_Townsville.php">Townsville Accommodation</a></div>', orange)
		  map.addOverlay(marker);
		  
	   // Yeppoon
		  var point = new GLatLng(-23.131835798366616,150.74237823486328);
		  var marker = createMarker(point,'<img src="/images/marker_orange_sm.png" height="14" width="14"/>Yeppoon','<div style="width:218px; padding: 0; margin: 0 0 -30px 0;"><h4>Yeppoon</h4><p>Yeppoon is the gateway to the Capricorn Coast.</p><a class="arrow" href="/hotel/4495">Yeppoon Accommodation</a></div>', orange)
		  map.addOverlay(marker);
	  
	  
	  // ...Islands...
	  
		  // Bedarra Island
		  var point = new GLatLng(-18.003631439844625, 146.14839792251587);
		  var marker = createMarker(point,'<img src="images/marker_yellow_sm.png" height="14" width="14"/>Bedarra Island','<div style="width:218px; padding: 0; margin: 0 0 -30px 0;"><h4>Bedarra Island</h4><p>A romantic hideaway on the Great Barrier Reef.</p><a class="arrow" href="islands_Bedarra.php">Bedarra Island Accommodation</a></div>', yellow)
		  map.addOverlay(marker);
		  
		  // Brampton Island
		  var point = new GLatLng(-20.80410176339276, 149.27398681640625);
		  var marker = createMarker(point,'<img src="images/marker_yellow_sm.png" height="14" width="14"/>Brampton Island','<div style="width:218px; padding: 0; margin: 0 0 -30px 0;"><h4>Brampton Island</h4><p>A haven for romantic escapes.</p><a class="arrow" href="islands_Brampton.php">Brampton Island Accommodation</a></div>', yellow)
		  map.addOverlay(marker);
		  
		  // Daydream Island
		  var point = new GLatLng(-20.25503074269368, 148.81389141082764);
		  var marker = createMarker(point,'<img src="images/marker_yellow_sm.png" height="14" width="14"/>Daydream Island','<div style="width:218px; padding: 0; margin: 0 0 -30px 0;"><h4>Daydream Island</h4><p>The jewel of the Whitsunday Islands.</p><a class="arrow" href="islands_Daydream.php">Daydream Island Accommodation</a></div>', yellow)
		  map.addOverlay(marker);
		  
		  // Dunk Island
		  var point = new GLatLng(-17.937010296513456, 146.14288330078125);
		  var marker = createMarker(point,'<img src="images/marker_yellow_sm.png" height="14" width="14"/>Dunk Island','<div style="width:218px; padding: 0; margin: 0 0 -30px 0;"><h4>Dunk Island</h4><p>A palm-fringed tropical paradise.</p><a class="arrow" href="islands_Dunk.php">Dunk Island Accommodation</a></div>', yellow)
		  map.addOverlay(marker);
		  
		  
		  
		  // Hamilton Island
		  var point = new GLatLng(-20.35058208525719, 148.96156311035156);
		  var marker = createMarker(point,'<img src="images/marker_yellow_sm.png" height="14" width="14"/>Hamilton Island','<div style="width:218px; padding: 0; margin: 0 0 -30px 0;"><h4>Hamilton Island</h4><p>The heart of the Whitsundays.</p><a class="arrow" href="islands_Hamilton.php">Hamilton Island Accommodation</a></div>', yellow)
		  map.addOverlay(marker);
		  
		  // Hayman Island
		  var point = new GLatLng(-20.05141615716206, 148.88774871826172);
		  var marker = createMarker(point,'<img src="images/marker_yellow_sm.png" height="14" width="14"/>Hayman Island','<div style="width:218px; padding: 0; margin: 0 0 -30px 0;"><h4>Hayman Island</h4><p>One of the most beautiful Whitsunday islands.</p><a class="arrow" href="islands_Hayman.php">Hayman Island Accommodation</a></div>', yellow)
		  map.addOverlay(marker);
		  
		  // Heron Island
		  var point = new GLatLng(-23.442301470236988, 151.91534042358398);
		  var marker = createMarker(point,'<img src="images/marker_yellow_sm.png" height="14" width="14"/>Heron Island','<div style="width:218px; padding: 0; margin: 0 0 -30px 0;"><h4>Heron Island</h4><p>The beauty of nature with the comforts of a resort.</p><a class="arrow" href="islands_Heron.php">Heron Island Accommodation</a></div>', yellow)
		  map.addOverlay(marker);
		  
		 
		  
		  // Lizard Island
		  var point = new GLatLng(-14.664474209459051, 145.4604434967041);
		  var marker = createMarker(point,'<img src="images/marker_yellow_sm.png" height="14" width="14"/>Lizard Island','<div style="width:218px; padding: 0; margin: 0 0 -30px 0;"><h4>Lizard Island</h4><p>An island of countless tropical delights.</p><a class="arrow" href="islands_Lizard.php">Lizard Island Accommodation</a></div>', yellow)
		  map.addOverlay(marker);
		  
		  
		   // Magnetic Island
		  var point = new GLatLng(-19.136735302010315, 146.83639526367188);
		  var marker = createMarker(point,'<img src="images/marker_yellow_sm.png" height="14" width="14"/>Magnetic Island','<div style="width:218px; padding: 0; margin: 0 0 -30px 0;"><h4>Magnetic Island</h4><p>An island of countless delights.</p><a class="arrow" href="hotels_and_accommodation_Magnetic_Island.php">Magnetic Island Accommodation</a></div>', yellow)
		  map.addOverlay(marker);
		  
		
		  
		  // Whitsunday Islands
		  var point = new GLatLng(-20.25108506558393, 149.0214729309082);
		  var marker = createMarker(point,'<img src="images/marker_yellow_sm.png" height="14" width="14"/>Whitsunday Islands','<div style="width:218px; padding: 0; margin: 0 0 -30px 0;"><h4>Whitsunday Islands</h4><p>A harmonious combination of delights.</p><a class="arrow" href="islands_Whitsunday.php">Whitsunday Islands Accommodation</a></div>', yellow)
		  map.addOverlay(marker);
		  
		            
       // ...Beyond The Reef...
	  
	  
	   // Brisbane
		  var point = new GLatLng(-27.468412, 153.026934);
		  var marker = createMarker(point,'<img src="images/marker_pink_sm.png" height="14" width="14"/>Brisbane','<div style="width:218px; padding: 0; margin: 0 0 -30px 0;"><h4>Brisbane</h4><p> Beyond the reef. Find accommodation in Brisbane.</p><a class="arrow" href="hotels_and_accommodation_Brisbane.php">Brisbane Accommodation</a></div>', pink)
		  map.addOverlay(marker);
		  
		  
		  // Gold Coast
		  var point = new GLatLng(-28.002245,153.430821);
		  var marker = createMarker(point,'<img src="images/marker_pink_sm.png" height="14" width="14"/>Gold Coast','<div style="width:218px; padding: 0; margin: 0 0 -30px 0;"><h4>Gold Coast</h4><p> Beyond the reef. Find accommodation on the Gold Coast.</p><a class="arrow" href="hotels_and_accommodation_Gold_Coast.php">Gold Coast Accommodation</a></div>', pink)
		  map.addOverlay(marker);
		  
		  
		  // Sunshine Coast
		  var point = new GLatLng(-26.642549,153.06839);
		  var marker = createMarker(point,'<img src="images/marker_pink_sm.png" height="14" width="14"/>Sunshine Coast','<div style="width:218px; padding: 0; margin: 0 0 -30px 0;"><h4>Sunshine Coast</h4><p>Beyond the reef. Find accommodation on the Sunshine Coast.</p><a class="arrow" href="hotels_and_accommodation_Sunshine_Coast.php">Sunshine Coast Accommodation</a></div>', pink)
		  map.addOverlay(marker);
			
			
			// Hervey Bay
		  var point = new GLatLng(-25.290336,152.851067);
		  var marker = createMarker(point,'<img src="images/marker_pink_sm.png" height="14" width="14"/>Hervey Bay','<div style="width:218px; padding: 0; margin: 0 0 -30px 0;"><h4>Hervey Bay</h4><p>Beyond the reef. Find accommodation at Hervey Bay.</p><a class="arrow" href="hotels_and_accommodation_Hervey_Bay.php">Hervey Bay Accommodation</a></div>', pink)
		  map.addOverlay(marker);
		  
	
			// Sydney
		  var point = new GLatLng(-33.865106,151.206722);
		  var marker = createMarker(point,'<img src="images/marker_pink_sm.png" height="14" width="14"/>Sydney','<div style="width:218px; padding: 0; margin: 0 0 -30px 0;"><h4>Sydney</h4><p>Beyond the reef. Find accommodation at Sydney.</p><a class="arrow" href="hotels_and_accommodation_Sydney.php">Sydney Accommodation</a></div>', pink)
		  map.addOverlay(marker);
			
			
			// Byron Bay
		  var point = new GLatLng(-28.642088,153.611526);
		  var marker = createMarker(point,'<img src="images/marker_pink_sm.png" height="14" width="14"/>Byron Bay','<div style="width:218px; padding: 0; margin: 0 0 -30px 0;"><h4>Byron Bay</h4><p>Beyond the reef. Find accommodation at Byron Bay.</p><a class="arrow" href="hotels_and_accommodation_Byron_Bay.php">Byron Bay Accommodation</a></div>', pink)
		  map.addOverlay(marker);
			
			
			// Melbourne
		  var point = new GLatLng(-37.819548,144.960995);
		  var marker = createMarker(point,'<img src="images/marker_pink_sm.png" height="14" width="14"/>Melbourne','<div style="width:218px; padding: 0; margin: 0 0 -30px 0;"><h4>Melbourne</h4><p>Beyond the reef. Find accommodation at Melbourne.</p><a class="arrow" href="hotels_and_accommodation_Melbourne.php">Melbourne Accommodation</a></div>', pink)
		  map.addOverlay(marker);
			
			
			// Hobart
		  var point = new GLatLng(-42.880304,147.328377);
		  var marker = createMarker(point,'<img src="images/marker_pink_sm.png" height="14" width="14"/>Hobart','<div style="width:218px; padding: 0; margin: 0 0 -30px 0;"><h4>Hobart</h4><p>Beyond the reef. Find accommodation at Hobart.</p><a class="arrow" href="hotels_and_accommodation_Hobart.php">Hobart Accommodation</a></div>', pink)
		  map.addOverlay(marker);
			
			
			// Alice Springs
		  var point = new GLatLng(-23.704895,133.875961);
		  var marker = createMarker(point,'<img src="images/marker_pink_sm.png" height="14" width="14"/>Alice Springs','<div style="width:218px; padding: 0; margin: 0 0 -30px 0;"><h4>Alice Springs</h4><p>Beyond the reef. Find accommodation in the Red Centre.</p><a class="arrow" href="hotels_and_accommodation_Alice_Springs.php">Alice Springs Accommodation</a></div>', pink)
		  map.addOverlay(marker);
			
			
	  
	  
	  // put the assembled side_bar_html contents into the side_bar div
      document.getElementById("side_bar").innerHTML = side_bar_html;
}


