function swapPhoto(theTitle,thewww,theCaption,theCaption1,theCaption2,theCaption3,theCaption4,theCaption5,theCaption6,theCaption7) 
	{
	var displayedCaption = document.getElementById("theTitle");
	displayedCaption.firstChild.nodeValue = theTitle;
	
	var displayedCaption = document.getElementById("thewww");
	displayedCaption.firstChild.nodeValue = thewww;

	var displayedCredit = document.getElementById("theCaption");
	displayedCredit.firstChild.nodeValue = theCaption;
	
	var displayedCredit = document.getElementById("theCaption1");
	displayedCredit.firstChild.nodeValue = theCaption1;
	
	var displayedCredit = document.getElementById("theCaption2");
	displayedCredit.firstChild.nodeValue = theCaption2;
	
	var displayedCredit = document.getElementById("theCaption3");
	displayedCredit.firstChild.nodeValue = theCaption3;
	
	var displayedCredit = document.getElementById("theCaption4");
	displayedCredit.firstChild.nodeValue = theCaption4;
	
	var displayedCredit = document.getElementById("theCaption5");
	displayedCredit.firstChild.nodeValue = theCaption5;
	
	var displayedCredit = document.getElementById("theCaption6");
	displayedCredit.firstChild.nodeValue = theCaption6;
		
	var displayedCredit = document.getElementById("theCaption7");
	displayedCredit.firstChild.nodeValue = theCaption7;

    //document.images.imgPhoto.src = "img/" + photoSRC;
	//document.images.theThumbnail.src = "img/" +thumbnailSRC
    }