// JavaScript Document

var photos=new Array()
var which=0
var total=8


/*Change the below variables to reference your own images. You may have as many images in the slider as you wish*/
photos[0]="images/gallery/interior_01.jpg"
photos[1]="images/gallery/interior_02.jpg"
photos[2]="images/gallery/interior_03.jpg"
photos[3]="images/gallery/interior_04.jpg"
photos[4]="images/gallery/interior_05.jpg"
photos[5]="images/gallery/interior_06.jpg"
photos[6]="images/gallery/interior_07.jpg"
photos[7]="images/gallery/interior_08.jpg"




function backward(){
if (which>0){
window.status=''
which--
document.images.lgImage.src=photos[which]
/*var userInput = [which+1];
	document.getElementById('imageNumber').innerHTML = userInput+" of "+total;*/

	
}
}

function forward(){
if (which<photos.length-1){
which++
document.images.lgImage.src=photos[which]
/*var userInput = [which+1];
	document.getElementById('imageNumber').innerHTML = userInput+" of "+total;*/
	
}

/*
function changeNumber(){
	//var userInput = [which+1];
	//document.getElementById('imageNumber').innerHTML = userInput+" of "+total;
	alert("shit");
}

function MM_callJS(jsStr) { //v2.0
  return eval(jsStr)
}
*/

}