// JavaScript Document

//hide any currently displayed picture
//show the picture for which the corresponding thumbnail has been clicked

function switchPic(nextPic) {
	var nextPic = $(nextPic);
	$('pic1').hide();
	$('pic2').hide();
	$('pic3').hide();
	$('pic4').hide();
	$('pic5').hide();
	nextPic.show();
}
