	var indI = 1;
	images = new Array();
	images[1] = "photos_007/living_room_view.jpg";
	images[2] = "photos_007/living_room_1.jpg";
	images[3] = "photos_007/living_room.jpg";
	images[4] = "photos_007/bedroom_1.jpg";
	images[5] = "photos_007/bedroom_1_view.jpg";
	images[6] = "photos_007/bedroom_1_wardrobe.jpg";
	images[7] = "photos_007/bedroom_2.jpg";	
	images[8] = "photos_007/bedroom_2_wardrobe.jpg";
	images[9] = "photos_007/bathroom.jpg";
	images[10] = "photos_007/kitchen.jpg";
	images[11] = "photos_007/kitchen_1.jpg";
	images[12] = "photos_007/kitchen_2.jpg";
	images[13] = "photos_007/view_from_varanda.jpg";
	images[14] = "photos_007/view_from_varanda_1.jpg";
	images[15] = "photos_007/view_from_varanda_2.jpg";



	descript = new Array();
	descript[1] = "Living Room";
	descript[2] = "Living Room";
	descript[3] = "Living Room";
	descript[4] = "No.1 Bedroom";
	descript[5] = "No.1 Bedroom";
	descript[6] = "No.1 Bedroom (Wardrobe)";
	descript[7] = "No.2 Bedroom";
	descript[8] = "No.2 Bedroom (Wardrobe)";
	descript[9] = "Bathroom";
	descript[10] = "Kitchen";
	descript[11] = "Kitchen";
	descript[12] = "Kitchen";
	descript[13] = "View from Varanda";
	descript[14] = "View from Varanda";
	descript[15] = "View from Varanda";

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 != 15) 
  {
		indI++;
		document.getElementById("img1").src = images[indI];
		document.getElementById("desc").value = descript[indI];
		document.getElementById("previous").value = "Previous";
  }
	if (indI == 15)
  {
		document.getElementById("next").value = "    ";
  }
}