// JavaScript Documentfunction swapPhoto(photoSRC,theTitle,theCaption){	var displayedTitle = document.getElementById("theTitle");	displayedTitle.firstChild.nodeValue=theTitle;		var displayedCaption = document.getElementById("caption");	displayedCaption.firstChild.nodeValue = theCaption;		document.images.imgPhoto.src = "images/3D/" + photoSRC;}