// JavaScript Document

function show_image(option){
	var pics = Array("images/tour_bar.jpg","images/tour_big_bite.jpg","images/tour_boy.jpg","images/tour_busy.jpg","images/tour_dinner_table.jpg","images/tour_flattop.jpg","images/tour_girl.jpg","images/tour_good_time.jpg","images/tour_happy_cust.jpg","images/tour_host.jpg","images/tour_outside.jpg","images/tour_parmesian.jpg","images/tour_pastapie.jpg","images/tour_shirt.jpg","images/tour_toast.jpg");
	var text = Array("1",
					 "2",
					 "3",
					 "4",
					 "5",
					 "6",
					 "7",
					 "8",
					 "9",
					 "10",
					 "11",
					 "12",
					 "13",
					 "14",
					 "15");

	if(option.getAttribute("id") == "bar"){
		
		/***** sets display image *****/
		document.getElementById("big_pic").setAttribute("src",pics[0]);
		document.getElementById("big_pic").setAttribute("style", "");
		
		/***** sets display text *****/
		var divcap = document.getElementById("caption");
		divcap.firstChild.nodeValue = text[0];
		
		/***** the following changes the selected image for *****/ 
		/***** positional awareness and changes back *****/
		/***** all other unselected images *****/
		option.firstChild.setAttribute("src","images/tour_thumb_bar_over.jpg");		
		document.getElementById("big_bite").firstChild.setAttribute("src","images/tour_thumb_big_bite.jpg");
		document.getElementById("boy").firstChild.setAttribute("src","images/tour_thumb_boy.jpg");
		document.getElementById("busy").firstChild.setAttribute("src","images/tour_thumb_busy.jpg");
		document.getElementById("dinner_table").firstChild.setAttribute("src","images/tour_thumb_dinner_table.jpg");
		document.getElementById("flattop").firstChild.setAttribute("src","images/tour_thumb_flattop.jpg");
		document.getElementById("girl").firstChild.setAttribute("src","images/tour_thumb_girl.jpg");
		document.getElementById("good_time").firstChild.setAttribute("src","images/tour_thumb_good_time.jpg");
		document.getElementById("happy_cust").firstChild.setAttribute("src","images/tour_thumb_happy_cust.jpg");
		document.getElementById("host").firstChild.setAttribute("src","images/tour_thumb_host.jpg");
		document.getElementById("outside").firstChild.setAttribute("src","images/tour_thumb_outside.jpg");
		document.getElementById("parmesian").firstChild.setAttribute("src","images/tour_thumb_parmesian.jpg");
		document.getElementById("pastapie").firstChild.setAttribute("src","images/tour_thumb_pastapie.jpg");
		document.getElementById("shirt").firstChild.setAttribute("src","images/tour_thumb_shirt.jpg");
		document.getElementById("toast").firstChild.setAttribute("src","images/tour_thumb_toast.jpg");
	}else if(option.getAttribute("id") == "big_bite"){
		
		/***** sets display image *****/
		document.getElementById("big_pic").setAttribute("src",pics[1]);
		document.getElementById("big_pic").setAttribute("style", "");
		
		/***** sets display text *****/
		var divcap = document.getElementById("caption");
		divcap.firstChild.nodeValue = text[1];
		
		/***** the following changes the selected image for *****/ 
		/***** positional awareness and changes back *****/
		/***** all other unselected images *****/
		option.firstChild.setAttribute("src","images/tour_thumb_big_bite_over.jpg");		
		document.getElementById("bar").firstChild.setAttribute("src","images/tour_thumb_bar.jpg");
		document.getElementById("boy").firstChild.setAttribute("src","images/tour_thumb_boy.jpg");
		document.getElementById("busy").firstChild.setAttribute("src","images/tour_thumb_busy.jpg");
		document.getElementById("dinner_table").firstChild.setAttribute("src","images/tour_thumb_dinner_table.jpg");
		document.getElementById("flattop").firstChild.setAttribute("src","images/tour_thumb_flattop.jpg");
		document.getElementById("girl").firstChild.setAttribute("src","images/tour_thumb_girl.jpg");
		document.getElementById("good_time").firstChild.setAttribute("src","images/tour_thumb_good_time.jpg");
		document.getElementById("happy_cust").firstChild.setAttribute("src","images/tour_thumb_happy_cust.jpg");
		document.getElementById("host").firstChild.setAttribute("src","images/tour_thumb_host.jpg");
		document.getElementById("outside").firstChild.setAttribute("src","images/tour_thumb_outside.jpg");
		document.getElementById("parmesian").firstChild.setAttribute("src","images/tour_thumb_parmesian.jpg");
		document.getElementById("pastapie").firstChild.setAttribute("src","images/tour_thumb_pastapie.jpg");
		document.getElementById("shirt").firstChild.setAttribute("src","images/tour_thumb_shirt.jpg");
		document.getElementById("toast").firstChild.setAttribute("src","images/tour_thumb_toast.jpg");
	}else if(option.getAttribute("id") == "boy"){
		
		/***** sets display image *****/
		document.getElementById("big_pic").setAttribute("src",pics[2]);
		document.getElementById("big_pic").setAttribute("style", "");
		
		/***** sets display text *****/
		var divcap = document.getElementById("caption");
		divcap.firstChild.nodeValue = text[2];
		
		/***** the following changes the selected image for *****/ 
		/***** positional awareness and changes back *****/
		/***** all other unselected images *****/
		option.firstChild.setAttribute("src","images/tour_thumb_boy_over.jpg");		
		document.getElementById("bar").firstChild.setAttribute("src","images/tour_thumb_bar.jpg");
		document.getElementById("big_bite").firstChild.setAttribute("src","images/tour_thumb_big_bite.jpg");
		document.getElementById("busy").firstChild.setAttribute("src","images/tour_thumb_busy.jpg");
		document.getElementById("dinner_table").firstChild.setAttribute("src","images/tour_thumb_dinner_table.jpg");
		document.getElementById("flattop").firstChild.setAttribute("src","images/tour_thumb_flattop.jpg");
		document.getElementById("girl").firstChild.setAttribute("src","images/tour_thumb_girl.jpg");
		document.getElementById("good_time").firstChild.setAttribute("src","images/tour_thumb_good_time.jpg");
		document.getElementById("happy_cust").firstChild.setAttribute("src","images/tour_thumb_happy_cust.jpg");
		document.getElementById("host").firstChild.setAttribute("src","images/tour_thumb_host.jpg");
		document.getElementById("outside").firstChild.setAttribute("src","images/tour_thumb_outside.jpg");
		document.getElementById("parmesian").firstChild.setAttribute("src","images/tour_thumb_parmesian.jpg");
		document.getElementById("pastapie").firstChild.setAttribute("src","images/tour_thumb_pastapie.jpg");
		document.getElementById("shirt").firstChild.setAttribute("src","images/tour_thumb_shirt.jpg");
		document.getElementById("toast").firstChild.setAttribute("src","images/tour_thumb_toast.jpg");
	}else if(option.getAttribute("id") == "busy"){
		
		/***** sets display image *****/
		document.getElementById("big_pic").setAttribute("src",pics[3]);
		document.getElementById("big_pic").setAttribute("style", "");
		
		/***** sets display text *****/
		var divcap = document.getElementById("caption");
		divcap.firstChild.nodeValue = text[3];
		
		/***** the following changes the selected image for *****/ 
		/***** positional awareness and changes back *****/
		/***** all other unselected images *****/
		option.firstChild.setAttribute("src","images/tour_thumb_busy_over.jpg");		
		document.getElementById("bar").firstChild.setAttribute("src","images/tour_thumb_bar.jpg");
		document.getElementById("big_bite").firstChild.setAttribute("src","images/tour_thumb_big_bite.jpg");
		document.getElementById("boy").firstChild.setAttribute("src","images/tour_thumb_boy.jpg");
		document.getElementById("dinner_table").firstChild.setAttribute("src","images/tour_thumb_dinner_table.jpg");
		document.getElementById("flattop").firstChild.setAttribute("src","images/tour_thumb_flattop.jpg");
		document.getElementById("girl").firstChild.setAttribute("src","images/tour_thumb_girl.jpg");
		document.getElementById("good_time").firstChild.setAttribute("src","images/tour_thumb_good_time.jpg");
		document.getElementById("happy_cust").firstChild.setAttribute("src","images/tour_thumb_happy_cust.jpg");
		document.getElementById("host").firstChild.setAttribute("src","images/tour_thumb_host.jpg");
		document.getElementById("outside").firstChild.setAttribute("src","images/tour_thumb_outside.jpg");
		document.getElementById("parmesian").firstChild.setAttribute("src","images/tour_thumb_parmesian.jpg");
		document.getElementById("pastapie").firstChild.setAttribute("src","images/tour_thumb_pastapie.jpg");
		document.getElementById("shirt").firstChild.setAttribute("src","images/tour_thumb_shirt.jpg");
		document.getElementById("toast").firstChild.setAttribute("src","images/tour_thumb_toast.jpg");
	}else if(option.getAttribute("id") == "dinner_table"){
		
		/***** sets display image *****/
		document.getElementById("big_pic").setAttribute("src",pics[4]);
		document.getElementById("big_pic").setAttribute("style", "");
		
		/***** sets display text *****/
		var divcap = document.getElementById("caption");
		divcap.firstChild.nodeValue = text[4];
		
		/***** the following changes the selected image for *****/ 
		/***** positional awareness and changes back *****/
		/***** all other unselected images *****/
		option.firstChild.setAttribute("src","images/tour_thumb_dinner_table_over.jpg");		
		document.getElementById("bar").firstChild.setAttribute("src","images/tour_thumb_bar.jpg");
		document.getElementById("big_bite").firstChild.setAttribute("src","images/tour_thumb_big_bite.jpg");
		document.getElementById("boy").firstChild.setAttribute("src","images/tour_thumb_boy.jpg");
		document.getElementById("big_bite").firstChild.setAttribute("src","images/tour_thumb_big_bite.jpg");
		document.getElementById("busy").firstChild.setAttribute("src","images/tour_thumb_busy.jpg");
		document.getElementById("flattop").firstChild.setAttribute("src","images/tour_thumb_flattop.jpg");
		document.getElementById("girl").firstChild.setAttribute("src","images/tour_thumb_girl.jpg");
		document.getElementById("good_time").firstChild.setAttribute("src","images/tour_thumb_good_time.jpg");
		document.getElementById("happy_cust").firstChild.setAttribute("src","images/tour_thumb_happy_cust.jpg");
		document.getElementById("host").firstChild.setAttribute("src","images/tour_thumb_host.jpg");
		document.getElementById("outside").firstChild.setAttribute("src","images/tour_thumb_outside.jpg");
		document.getElementById("parmesian").firstChild.setAttribute("src","images/tour_thumb_parmesian.jpg");
		document.getElementById("pastapie").firstChild.setAttribute("src","images/tour_thumb_pastapie.jpg");
		document.getElementById("shirt").firstChild.setAttribute("src","images/tour_thumb_shirt.jpg");
		document.getElementById("toast").firstChild.setAttribute("src","images/tour_thumb_toast.jpg");
	}else if(option.getAttribute("id") == "flattop"){
		
		/***** sets display image *****/
		document.getElementById("big_pic").setAttribute("src",pics[5]);
		document.getElementById("big_pic").setAttribute("style", "");
		
		/***** sets display text *****/
		var divcap = document.getElementById("caption");
		divcap.firstChild.nodeValue = text[5];
		
		/***** the following changes the selected image for *****/ 
		/***** positional awareness and changes back *****/
		/***** all other unselected images *****/
		option.firstChild.setAttribute("src","images/tour_thumb_flattop_over.jpg");		
		document.getElementById("bar").firstChild.setAttribute("src","images/tour_thumb_bar.jpg");
		document.getElementById("big_bite").firstChild.setAttribute("src","images/tour_thumb_big_bite.jpg");
		document.getElementById("boy").firstChild.setAttribute("src","images/tour_thumb_boy.jpg");
		document.getElementById("big_bite").firstChild.setAttribute("src","images/tour_thumb_big_bite.jpg");
		document.getElementById("busy").firstChild.setAttribute("src","images/tour_thumb_busy.jpg");
		document.getElementById("dinner_table").firstChild.setAttribute("src","images/tour_thumb_dinner_table.jpg");
		document.getElementById("girl").firstChild.setAttribute("src","images/tour_thumb_girl.jpg");
		document.getElementById("good_time").firstChild.setAttribute("src","images/tour_thumb_good_time.jpg");
		document.getElementById("happy_cust").firstChild.setAttribute("src","images/tour_thumb_happy_cust.jpg");
		document.getElementById("host").firstChild.setAttribute("src","images/tour_thumb_host.jpg");
		document.getElementById("outside").firstChild.setAttribute("src","images/tour_thumb_outside.jpg");
		document.getElementById("parmesian").firstChild.setAttribute("src","images/tour_thumb_parmesian.jpg");
		document.getElementById("pastapie").firstChild.setAttribute("src","images/tour_thumb_pastapie.jpg");
		document.getElementById("shirt").firstChild.setAttribute("src","images/tour_thumb_shirt.jpg");
		document.getElementById("toast").firstChild.setAttribute("src","images/tour_thumb_toast.jpg");
	}else if(option.getAttribute("id") == "girl"){
		
		/***** sets display image *****/
		document.getElementById("big_pic").setAttribute("src",pics[6]);
		document.getElementById("big_pic").setAttribute("style", "");
		
		/***** sets display text *****/
		var divcap = document.getElementById("caption");
		divcap.firstChild.nodeValue = text[6];
		
		/***** the following changes the selected image for *****/ 
		/***** positional awareness and changes back *****/
		/***** all other unselected images *****/
		option.firstChild.setAttribute("src","images/tour_thumb_girl_over.jpg");		
		document.getElementById("bar").firstChild.setAttribute("src","images/tour_thumb_bar.jpg");
		document.getElementById("big_bite").firstChild.setAttribute("src","images/tour_thumb_big_bite.jpg");
		document.getElementById("boy").firstChild.setAttribute("src","images/tour_thumb_boy.jpg");
		document.getElementById("big_bite").firstChild.setAttribute("src","images/tour_thumb_big_bite.jpg");
		document.getElementById("busy").firstChild.setAttribute("src","images/tour_thumb_busy.jpg");
		document.getElementById("dinner_table").firstChild.setAttribute("src","images/tour_thumb_dinner_table.jpg");
		document.getElementById("flattop").firstChild.setAttribute("src","images/tour_thumb_flattop.jpg");
		document.getElementById("good_time").firstChild.setAttribute("src","images/tour_thumb_good_time.jpg");
		document.getElementById("happy_cust").firstChild.setAttribute("src","images/tour_thumb_happy_cust.jpg");
		document.getElementById("host").firstChild.setAttribute("src","images/tour_thumb_host.jpg");
		document.getElementById("outside").firstChild.setAttribute("src","images/tour_thumb_outside.jpg");
		document.getElementById("parmesian").firstChild.setAttribute("src","images/tour_thumb_parmesian.jpg");
		document.getElementById("pastapie").firstChild.setAttribute("src","images/tour_thumb_pastapie.jpg");
		document.getElementById("shirt").firstChild.setAttribute("src","images/tour_thumb_shirt.jpg");
		document.getElementById("toast").firstChild.setAttribute("src","images/tour_thumb_toast.jpg");
	}else if(option.getAttribute("id") == "good_time"){
		
		/***** sets display image *****/
		document.getElementById("big_pic").setAttribute("src",pics[7]);
		document.getElementById("big_pic").setAttribute("style", "");
		
		/***** sets display text *****/
		var divcap = document.getElementById("caption");
		divcap.firstChild.nodeValue = text[7];
		
		/***** the following changes the selected image for *****/ 
		/***** positional awareness and changes back *****/
		/***** all other unselected images *****/
		option.firstChild.setAttribute("src","images/tour_thumb_good_time_over.jpg");		
		document.getElementById("bar").firstChild.setAttribute("src","images/tour_thumb_bar.jpg");
		document.getElementById("big_bite").firstChild.setAttribute("src","images/tour_thumb_big_bite.jpg");
		document.getElementById("boy").firstChild.setAttribute("src","images/tour_thumb_boy.jpg");
		document.getElementById("big_bite").firstChild.setAttribute("src","images/tour_thumb_big_bite.jpg");
		document.getElementById("busy").firstChild.setAttribute("src","images/tour_thumb_busy.jpg");
		document.getElementById("dinner_table").firstChild.setAttribute("src","images/tour_thumb_dinner_table.jpg");
		document.getElementById("flattop").firstChild.setAttribute("src","images/tour_thumb_flattop.jpg");
		document.getElementById("girl").firstChild.setAttribute("src","images/tour_thumb_girl.jpg");
		document.getElementById("happy_cust").firstChild.setAttribute("src","images/tour_thumb_happy_cust.jpg");
		document.getElementById("host").firstChild.setAttribute("src","images/tour_thumb_host.jpg");
		document.getElementById("outside").firstChild.setAttribute("src","images/tour_thumb_outside.jpg");
		document.getElementById("parmesian").firstChild.setAttribute("src","images/tour_thumb_parmesian.jpg");
		document.getElementById("pastapie").firstChild.setAttribute("src","images/tour_thumb_pastapie.jpg");
		document.getElementById("shirt").firstChild.setAttribute("src","images/tour_thumb_shirt.jpg");
		document.getElementById("toast").firstChild.setAttribute("src","images/tour_thumb_toast.jpg");
	}else if(option.getAttribute("id") == "happy_cust"){
		
		/***** sets display image *****/
		document.getElementById("big_pic").setAttribute("src",pics[8]);
		document.getElementById("big_pic").setAttribute("style", "");
		
		/***** sets display text *****/
		var divcap = document.getElementById("caption");
		divcap.firstChild.nodeValue = text[8];
		
		/***** the following changes the selected image for *****/ 
		/***** positional awareness and changes back *****/
		/***** all other unselected images *****/
		option.firstChild.setAttribute("src","images/tour_thumb_happy_cust_over.jpg");		
		document.getElementById("bar").firstChild.setAttribute("src","images/tour_thumb_bar.jpg");
		document.getElementById("big_bite").firstChild.setAttribute("src","images/tour_thumb_big_bite.jpg");
		document.getElementById("boy").firstChild.setAttribute("src","images/tour_thumb_boy.jpg");
		document.getElementById("big_bite").firstChild.setAttribute("src","images/tour_thumb_big_bite.jpg");
		document.getElementById("busy").firstChild.setAttribute("src","images/tour_thumb_busy.jpg");
		document.getElementById("dinner_table").firstChild.setAttribute("src","images/tour_thumb_dinner_table.jpg");
		document.getElementById("flattop").firstChild.setAttribute("src","images/tour_thumb_flattop.jpg");
		document.getElementById("good_time").firstChild.setAttribute("src","images/tour_thumb_good_time.jpg");
		document.getElementById("girl").firstChild.setAttribute("src","images/tour_thumb_girl.jpg");
		document.getElementById("host").firstChild.setAttribute("src","images/tour_thumb_host.jpg");
		document.getElementById("outside").firstChild.setAttribute("src","images/tour_thumb_outside.jpg");
		document.getElementById("parmesian").firstChild.setAttribute("src","images/tour_thumb_parmesian.jpg");
		document.getElementById("pastapie").firstChild.setAttribute("src","images/tour_thumb_pastapie.jpg");
		document.getElementById("shirt").firstChild.setAttribute("src","images/tour_thumb_shirt.jpg");
		document.getElementById("toast").firstChild.setAttribute("src","images/tour_thumb_toast.jpg");
	}else if(option.getAttribute("id") == "host"){
		
		/***** sets display image *****/
		document.getElementById("big_pic").setAttribute("src",pics[9]);
		document.getElementById("big_pic").setAttribute("style", "");
		
		/***** sets display text *****/
		var divcap = document.getElementById("caption");
		divcap.firstChild.nodeValue = text[9];
		
		/***** the following changes the selected image for *****/ 
		/***** positional awareness and changes back *****/
		/***** all other unselected images *****/
		option.firstChild.setAttribute("src","images/tour_thumb_host_over.jpg");		
		document.getElementById("bar").firstChild.setAttribute("src","images/tour_thumb_bar.jpg");
		document.getElementById("big_bite").firstChild.setAttribute("src","images/tour_thumb_big_bite.jpg");
		document.getElementById("boy").firstChild.setAttribute("src","images/tour_thumb_boy.jpg");
		document.getElementById("big_bite").firstChild.setAttribute("src","images/tour_thumb_big_bite.jpg");
		document.getElementById("busy").firstChild.setAttribute("src","images/tour_thumb_busy.jpg");
		document.getElementById("dinner_table").firstChild.setAttribute("src","images/tour_thumb_dinner_table.jpg");
		document.getElementById("flattop").firstChild.setAttribute("src","images/tour_thumb_flattop.jpg");
		document.getElementById("good_time").firstChild.setAttribute("src","images/tour_thumb_good_time.jpg");
		document.getElementById("girl").firstChild.setAttribute("src","images/tour_thumb_girl.jpg");
		document.getElementById("happy_cust").firstChild.setAttribute("src","images/tour_thumb_happy_cust.jpg");
		document.getElementById("outside").firstChild.setAttribute("src","images/tour_thumb_outside.jpg");
		document.getElementById("parmesian").firstChild.setAttribute("src","images/tour_thumb_parmesian.jpg");
		document.getElementById("pastapie").firstChild.setAttribute("src","images/tour_thumb_pastapie.jpg");
		document.getElementById("shirt").firstChild.setAttribute("src","images/tour_thumb_shirt.jpg");
		document.getElementById("toast").firstChild.setAttribute("src","images/tour_thumb_toast.jpg");
	}else if(option.getAttribute("id") == "outside"){
		
		/***** sets display image *****/
		document.getElementById("big_pic").setAttribute("src",pics[10]);
		document.getElementById("big_pic").setAttribute("style", "");
		
		/***** sets display text *****/
		var divcap = document.getElementById("caption");
		divcap.firstChild.nodeValue = text[10];
		
		/***** the following changes the selected image for *****/ 
		/***** positional awareness and changes back *****/
		/***** all other unselected images *****/
		option.firstChild.setAttribute("src","images/tour_thumb_outside_over.jpg");		
		document.getElementById("bar").firstChild.setAttribute("src","images/tour_thumb_bar.jpg");
		document.getElementById("big_bite").firstChild.setAttribute("src","images/tour_thumb_big_bite.jpg");
		document.getElementById("boy").firstChild.setAttribute("src","images/tour_thumb_boy.jpg");
		document.getElementById("big_bite").firstChild.setAttribute("src","images/tour_thumb_big_bite.jpg");
		document.getElementById("dinner_table").firstChild.setAttribute("src","images/tour_thumb_dinner_table.jpg");
		document.getElementById("busy").firstChild.setAttribute("src","images/tour_thumb_busy.jpg");
		document.getElementById("flattop").firstChild.setAttribute("src","images/tour_thumb_flattop.jpg");
		document.getElementById("good_time").firstChild.setAttribute("src","images/tour_thumb_good_time.jpg");
		document.getElementById("girl").firstChild.setAttribute("src","images/tour_thumb_girl.jpg");
		document.getElementById("happy_cust").firstChild.setAttribute("src","images/tour_thumb_happy_cust.jpg");
		document.getElementById("host").firstChild.setAttribute("src","images/tour_thumb_host.jpg");
		document.getElementById("parmesian").firstChild.setAttribute("src","images/tour_thumb_parmesian.jpg");
		document.getElementById("pastapie").firstChild.setAttribute("src","images/tour_thumb_pastapie.jpg");
		document.getElementById("shirt").firstChild.setAttribute("src","images/tour_thumb_shirt.jpg");
		document.getElementById("toast").firstChild.setAttribute("src","images/tour_thumb_toast.jpg");
	}else if(option.getAttribute("id") == "parmesian"){
		
		/***** sets display image *****/
		document.getElementById("big_pic").setAttribute("src",pics[11]);
		document.getElementById("big_pic").setAttribute("style", "");
		
		/***** sets display text *****/
		var divcap = document.getElementById("caption");
		divcap.firstChild.nodeValue = text[11];
		
		/***** the following changes the selected image for *****/ 
		/***** positional awareness and changes back *****/
		/***** all other unselected images *****/
		option.firstChild.setAttribute("src","images/tour_thumb_parmesian_over.jpg");		
		document.getElementById("bar").firstChild.setAttribute("src","images/tour_thumb_bar.jpg");
		document.getElementById("big_bite").firstChild.setAttribute("src","images/tour_thumb_big_bite.jpg");
		document.getElementById("boy").firstChild.setAttribute("src","images/tour_thumb_boy.jpg");
		document.getElementById("big_bite").firstChild.setAttribute("src","images/tour_thumb_big_bite.jpg");
		document.getElementById("busy").firstChild.setAttribute("src","images/tour_thumb_busy.jpg");
		document.getElementById("dinner_table").firstChild.setAttribute("src","images/tour_thumb_dinner_table.jpg");
		document.getElementById("flattop").firstChild.setAttribute("src","images/tour_thumb_flattop.jpg");
		document.getElementById("good_time").firstChild.setAttribute("src","images/tour_thumb_good_time.jpg");
		document.getElementById("girl").firstChild.setAttribute("src","images/tour_thumb_girl.jpg");
		document.getElementById("happy_cust").firstChild.setAttribute("src","images/tour_thumb_happy_cust.jpg");
		document.getElementById("host").firstChild.setAttribute("src","images/tour_thumb_host.jpg");
		document.getElementById("outside").firstChild.setAttribute("src","images/tour_thumb_outside.jpg");
		document.getElementById("pastapie").firstChild.setAttribute("src","images/tour_thumb_pastapie.jpg");
		document.getElementById("shirt").firstChild.setAttribute("src","images/tour_thumb_shirt.jpg");
		document.getElementById("toast").firstChild.setAttribute("src","images/tour_thumb_toast.jpg");
	}else if(option.getAttribute("id") == "pastapie"){
		
		/***** sets display image *****/
		document.getElementById("big_pic").setAttribute("src",pics[12]);
		document.getElementById("big_pic").setAttribute("style", "");
		
		/***** sets display text *****/
		var divcap = document.getElementById("caption");
		divcap.firstChild.nodeValue = text[12];
		
		/***** the following changes the selected image for *****/ 
		/***** positional awareness and changes back *****/
		/***** all other unselected images *****/
		option.firstChild.setAttribute("src","images/tour_thumb_pastapie_over.jpg");		
		document.getElementById("bar").firstChild.setAttribute("src","images/tour_thumb_bar.jpg");
		document.getElementById("big_bite").firstChild.setAttribute("src","images/tour_thumb_big_bite.jpg");
		document.getElementById("boy").firstChild.setAttribute("src","images/tour_thumb_boy.jpg");
		document.getElementById("big_bite").firstChild.setAttribute("src","images/tour_thumb_big_bite.jpg");
		document.getElementById("busy").firstChild.setAttribute("src","images/tour_thumb_busy.jpg");
		document.getElementById("dinner_table").firstChild.setAttribute("src","images/tour_thumb_dinner_table.jpg");
		document.getElementById("flattop").firstChild.setAttribute("src","images/tour_thumb_flattop.jpg");
		document.getElementById("good_time").firstChild.setAttribute("src","images/tour_thumb_good_time.jpg");
		document.getElementById("girl").firstChild.setAttribute("src","images/tour_thumb_girl.jpg");
		document.getElementById("happy_cust").firstChild.setAttribute("src","images/tour_thumb_happy_cust.jpg");
		document.getElementById("host").firstChild.setAttribute("src","images/tour_thumb_host.jpg");
		document.getElementById("outside").firstChild.setAttribute("src","images/tour_thumb_outside.jpg");
		document.getElementById("parmesian").firstChild.setAttribute("src","images/tour_thumb_parmesian.jpg");
		document.getElementById("shirt").firstChild.setAttribute("src","images/tour_thumb_shirt.jpg");
		document.getElementById("toast").firstChild.setAttribute("src","images/tour_thumb_toast.jpg");
	}else if(option.getAttribute("id") == "shirt"){
		
		/***** sets display image *****/
		document.getElementById("big_pic").setAttribute("src",pics[13]);
		document.getElementById("big_pic").setAttribute("style", "");
		
		/***** sets display text *****/
		var divcap = document.getElementById("caption");
		divcap.firstChild.nodeValue = text[13];
		
		/***** the following changes the selected image for *****/ 
		/***** positional awareness and changes back *****/
		/***** all other unselected images *****/
		option.firstChild.setAttribute("src","images/tour_thumb_shirt_over.jpg");		
		document.getElementById("bar").firstChild.setAttribute("src","images/tour_thumb_bar.jpg");
		document.getElementById("big_bite").firstChild.setAttribute("src","images/tour_thumb_big_bite.jpg");
		document.getElementById("boy").firstChild.setAttribute("src","images/tour_thumb_boy.jpg");
		document.getElementById("big_bite").firstChild.setAttribute("src","images/tour_thumb_big_bite.jpg");
		document.getElementById("dinner_table").firstChild.setAttribute("src","images/tour_thumb_dinner_table.jpg");
		document.getElementById("busy").firstChild.setAttribute("src","images/tour_thumb_busy.jpg");
		document.getElementById("flattop").firstChild.setAttribute("src","images/tour_thumb_flattop.jpg");
		document.getElementById("good_time").firstChild.setAttribute("src","images/tour_thumb_good_time.jpg");
		document.getElementById("girl").firstChild.setAttribute("src","images/tour_thumb_girl.jpg");
		document.getElementById("happy_cust").firstChild.setAttribute("src","images/tour_thumb_happy_cust.jpg");
		document.getElementById("host").firstChild.setAttribute("src","images/tour_thumb_host.jpg");
		document.getElementById("outside").firstChild.setAttribute("src","images/tour_thumb_outside.jpg");
		document.getElementById("parmesian").firstChild.setAttribute("src","images/tour_thumb_parmesian.jpg");
		document.getElementById("pastapie").firstChild.setAttribute("src","images/tour_thumb_pastapie.jpg");
		document.getElementById("toast").firstChild.setAttribute("src","images/tour_thumb_toast.jpg");
	}else if(option.getAttribute("id") == "toast"){
		
		/***** sets display image *****/
		document.getElementById("big_pic").setAttribute("src",pics[14]);
		document.getElementById("big_pic").setAttribute("style", "");
		
		/***** sets display text *****/
		var divcap = document.getElementById("caption");
		divcap.firstChild.nodeValue = text[14];
		
		/***** the following changes the selected image for *****/ 
		/***** positional awareness and changes back *****/
		/***** all other unselected images *****/
		option.firstChild.setAttribute("src","images/tour_thumb_toast_over.jpg");		
		document.getElementById("bar").firstChild.setAttribute("src","images/tour_thumb_bar.jpg");
		document.getElementById("big_bite").firstChild.setAttribute("src","images/tour_thumb_big_bite.jpg");
		document.getElementById("boy").firstChild.setAttribute("src","images/tour_thumb_boy.jpg");
		document.getElementById("big_bite").firstChild.setAttribute("src","images/tour_thumb_big_bite.jpg");
		document.getElementById("busy").firstChild.setAttribute("src","images/tour_thumb_busy.jpg");
		document.getElementById("dinner_table").firstChild.setAttribute("src","images/tour_thumb_dinner_table.jpg");
		document.getElementById("flattop").firstChild.setAttribute("src","images/tour_thumb_flattop.jpg");
		document.getElementById("good_time").firstChild.setAttribute("src","images/tour_thumb_good_time.jpg");
		document.getElementById("girl").firstChild.setAttribute("src","images/tour_thumb_girl.jpg");
		document.getElementById("happy_cust").firstChild.setAttribute("src","images/tour_thumb_happy_cust.jpg");
		document.getElementById("host").firstChild.setAttribute("src","images/tour_thumb_host.jpg");
		document.getElementById("outside").firstChild.setAttribute("src","images/tour_thumb_outside.jpg");
		document.getElementById("parmesian").firstChild.setAttribute("src","images/tour_thumb_parmesian.jpg");
		document.getElementById("pastapie").firstChild.setAttribute("src","images/tour_thumb_pastapie.jpg");
		document.getElementById("shirt").firstChild.setAttribute("src","images/tour_thumb_shirt.jpg");
	}  
	
}