	var indI = 1;
	images = new Array();
	images[1] = "photos_boipeba/house.jpg";
	images[2] = "photos_boipeba/house_veranda.jpg";
	images[3] = "photos_boipeba/garden_barbecue.jpg";
	images[4] = "photos_boipeba/garden_furniture.jpg";
	images[5] = "photos_boipeba/guest_bathroom.jpg";	
	images[6] = "photos_boipeba/guest_room.jpg";
	images[7] = "photos_boipeba/kitchen.jpg";
	images[8] = "photos_boipeba/kitchen_living_room.jpg";
	images[9] = "photos_boipeba/living_room.jpg";
	images[10] = "photos_boipeba/living_room_1.jpg";
	images[11] = "photos_boipeba/loft_area.jpg";
	images[12] = "photos_boipeba/main_kitchen.jpg";
	images[13] = "photos_boipeba/master_bedroom.jpg";
	images[14] = "photos_boipeba/master_bedroom_1.jpg";
	images[15] = "photos_boipeba/tv_home.jpg";
	images[16] = "photos_boipeba/study_area.jpg";
	images[17] = "photos_boipeba/view_loft_area.jpg";
	images[18] = "photos_boipeba/jetty_river.jpg";
	images[19] = "photos_boipeba/outhouse.jpg";
	images[20] = "photos_boipeba/outside_kitchen.jpg";
	images[21] = "photos_boipeba/path_house_jetty.jpg";
	images[22] = "photos_boipeba/relaxation_area.jpg";
	images[23] = "photos_boipeba/sunset.jpg";

	descript = new Array();
	descript[1] = "House";
	descript[2] = "House Veranda";
	descript[3] = "Garden Barbecue Area";
	descript[4] = "Garden Furniture";
	descript[5] = "En-suite Guest Bathroom";
	descript[6] = "En-suite Guest Room";
	descript[7] = "Kitchen";
	descript[8] = "Kitchen to Living Room";
	descript[9] = "Living Room";
	descript[10] = "Living Room";
	descript[11] = "Loft Area";
	descript[12] = "Main Kitchen";
	descript[13] = "Master Bedroom";
	descript[14] = "Master Bedroom";
	descript[15] = "TV-Home Entertainment Room";
	descript[16] = "Study Area";
	descript[17] = "View from Loft Area";
	descript[18] = "Jetty to River";
	descript[19] = "Outhouse";
	descript[20] = "Outside Kitchen";
	descript[21] = "Path from House to Jetty";
	descript[22] = "Relaxation Area";
	descript[23] = "Sunset";


function gallery()
{
	if (indI == 1)
  {
		document.getElementById("desc").value = descript[1];
		document.getElementById("previous").value="       ";
  }
}
function previmg()
{
	if (indI != 1) 
  {
		indI--;
		document.getElementById("img1").src = images[indI];
		document.getElementById("desc").value = descript[indI];
		document.getElementById("next").value = "Next";
  }
	if (indI == 1) 
  {
		document.getElementById("previous").value = "        ";
  }
}

function nextimg()
{
	if (indI != 23) 
  {
		indI++;
		document.getElementById("img1").src = images[indI];
		document.getElementById("desc").value = descript[indI];
		document.getElementById("previous").value = "Previous";
  }
	if (indI == 23)
  {
		document.getElementById("next").value = "    ";
  }
}