// JavaScript Document

// image swapper
function swapphoto(photosrc,theTitle,theCaption) {

	var displayedTitle = document.getElementById("theTitle");
	displayedTitle.firstChild.nodeValue = theTitle;

	var displayedCaption = document.getElementById("caption");
	displayedCaption.firstChild.nodeValue = theCaption;
	
	var displayedphoto = document.getElementById("imgphoto");
	displayedphoto.src = "../images/portfolio/screenshot/" + photosrc;

}