	var indI = 1;
	images = new Array();
	images[1] = "photos_santo_003/lounge.jpg";
	images[2] = "photos_santo_003/pousada_front.jpg";
	images[3] = "photos_santo_003/pousada_rear.jpg";
	images[4] = "photos_santo_003/upstairs.jpg";
	images[5] = "photos_santo_003/bathroom.jpg";
	images[6] = "photos_santo_003/bedroom_1.jpg";
	images[7] = "photos_santo_003/bedroom_2.jpg";
	images[8] = "photos_santo_003/entrance_to_bedrooms.jpg";
	images[9] = "photos_santo_003/kitchen.jpg";	

	descript = new Array();
	descript[1] = "Lounge";
	descript[2] = "Pousada Front";
	descript[3] = "Pousada Rear";
	descript[4] = "Upstairs";
	descript[5] = "Bathroom";
	descript[6] = "Bedroom";
	descript[7] = "Bedroom";
	descript[8] = "Entrance to Bedrooms";
	descript[9] = "Kitchen";

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 != 9) 
  {
		indI++;
		document.getElementById("img1").src = images[indI];
		document.getElementById("desc").value = descript[indI];
		document.getElementById("previous").value = "Previous";
  }
	if (indI == 9)
  {
		document.getElementById("next").value = "    ";
  }
}