	var i = 1
	images = new Array
	images[1] = "Picture/ResFront1.gif"
	images[2] = "Picture/ResNight1.gif"
	images[3] = "Picture/InsideRestaurant11.gif"
	images[4] = "Picture/InsideRestaurant21.gif"
	images[5] = "Picture/DineTable1.gif"
	images[6] = "Picture/Bar1.gif"
	images[7] = "Picture/culPic11.gif"
	images[8] = "Picture/Culpic21.gif"
	images[9] = "Picture/chef1.gif"
	images[10] = "Picture/meal1.gif"

	Imagedescription = new Array
	Imagedescription[1] = "Khyber Tandoori Restaurant"
	Imagedescription[2] = "At night our restaurant lights up the whole street and dazzles eyes."
	Imagedescription[3] = "It's a pleasent enviroment to eat at."
	Imagedescription[4] = " "
	Imagedescription[5] = "Our table presentation is neat to look at."
	Imagedescription[6] = "We provide all kinds of drinks."
	Imagedescription[7] = "When eating you can also experience the indian culture. "
	Imagedescription[8] = ""
	Imagedescription[9] = "Of course, our chefs are specialized in Indian Cuisine and have high cooking technique."
	Imagedescription[10] = "And we are proud to present first-class and mouth-watering indian food."

function gallery(){
	if (i == 1){
		document.gallery.desc.value = Imagedescription[1]
		}
}
function previmg(){
	if (i != 1) {
		i --
		document.img.src = images[i];
		document.gallery.desc.value = Imagedescription[i];
	   }
	if (i == 1) {
	    i=11
	 }
	
}

function nextimg(){
	if (i != 10) {
		i ++
		image = images[i]
		document.img.src = image
		document.gallery.desc.value = Imagedescription[i];}
	if (i ==10){
		i=0}
}


function firstimg(){
	i = 1
	document.img.src = images[i];
	document.gallery.desc.value = Imagedescription[i];
}
function lastimg(){
	i = 10
	document.img.src = images[i];
	document.gallery.desc.value = Imagedescription[i];
}
