	var indI = 1;
	images = new Array();
	images[1] = "photos_barra_008/living_room_2.jpg";
	images[2] = "photos_barra_008/living_room_1.jpg";
	images[3] = "photos_barra_008/roof_terrace_1.jpg";
	images[4] = "photos_barra_008/roof_terrace_2.jpg";
	images[5] = "photos_barra_008/bathroom_1.jpg";
	images[6] = "photos_barra_008/bathroom_2.jpg";
	images[7] = "photos_barra_008/bathroom_3.jpg";
	images[8] = "photos_barra_008/bedroom_1_1.jpg";
	images[9] = "photos_barra_008/bedroom_1_2.jpg";
	images[10] = "photos_barra_008/bedroom_1_3.jpg";	
	images[11] = "photos_barra_008/bedroom_2_1.jpg";
	images[12] = "photos_barra_008/bedroom_2_2.jpg";
	images[13] = "photos_barra_008/bedroom_2_3.jpg";
	images[14] = "photos_barra_008/bedroom_3_1.jpg";
	images[15] = "photos_barra_008/bedroom_3_2.jpg";
	images[16] = "photos_barra_008/bedroom_3_3.jpg";
	images[17] = "photos_barra_008/dining_area.jpg";
	images[18] = "photos_barra_008/kitchen_1.jpg";
	images[19] = "photos_barra_008/kitchen_2.jpg";
	images[20] = "photos_barra_008/social_bathroom_1.jpg";
	images[21] = "photos_barra_008/social_bathroom_2.jpg";
	images[22] = "photos_barra_008/swimming_pool.jpg";
	images[23] = "photos_barra_008/varanda.jpg";
	images[24] = "photos_barra_008/varanda_view.jpg";
	images[25] = "photos_barra_008/view_roof_1.jpg";
	images[26] = "photos_barra_008/view_roof_2.jpg";

	descript = new Array();
	descript[1] = "Living Room";
	descript[2] = "Living Room";
	descript[3] = "Roof Terrace";
	descript[4] = "Roof Terrace";
	descript[5] = "Bathroom";
	descript[6] = "Bathroom";
	descript[7] = "Bathroom";
	descript[8] = "No.1 Bedroom";
	descript[9] = "No.1 Bedroom";
	descript[10] = "No.1 Bedroom";
	descript[11] = "No.2 Bedroom";
	descript[12] = "No.2 Bedroom";
	descript[13] = "No.2 Bedroom";
	descript[14] = "No.3 Bedroom";
	descript[15] = "No.3 Bedroom Closet";
	descript[16] = "No.3 Bedroom";
	descript[17] = "Dining Area";
	descript[18] = "Kitchen";
	descript[19] = "Kitchen";
	descript[20] = "Social Bathroom";
	descript[21] = "Social Bathroom";
	descript[22] = "Swimming Pool";
	descript[23] = "Varanda";
	descript[24] = "Varanda View";
	descript[25] = "View (Roof)";
	descript[26] = "View (Roof)";

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 != 26) 
  {
		indI++;
		document.getElementById("img1").src = images[indI];
		document.getElementById("desc").value = descript[indI];
		document.getElementById("previous").value = "Previous";
  }
	if (indI == 26)
  {
		document.getElementById("next").value = "    ";
  }
}