// JavaScript Document
function showPic(whichpic) 
{
  // hideText();	
  //open my image links into the placeholder spot
  var source = whichpic.getAttribute("href");
  var placeholder = document.getElementById("placeholder");
  placeholder.setAttribute("src",source);
  //put my titles into the choose an image spot
  var text = whichpic.getAttribute("title");
  var description = document.getElementById("description");
  description.firstChild.nodeValue = text;
  var nametext = whichpic.firstChild.nodeValue;
  var thename = document.getElementById("thename");
  thename.firstChild.nodeValue = nametext;
}

function hideText()
{
	var thelist = document.getElementById("firstinfo");
	thelist.setAttribute("style","display:none");
}
