function swapPhoto(photoSRC,theFirstCaption,theSecondCaption,theThirdCaption) {
	var displayedCaption = document.getElementById("firstCaption");
	displayedCaption.firstChild.nodeValue = theFirstCaption;
	var displayedCaption = document.getElementById("secondCaption");
	displayedCaption.firstChild.nodeValue = theSecondCaption;
	var displayedCaption = document.getElementById("thirdCaption");
	displayedCaption.firstChild.nodeValue = theThirdCaption;

	document.images.imgPhoto.src = "assets/gallery/" + photoSRC;

}

