//function showPic(whichpic) {
//var source = whichpic.getAttribute("href");
//var picname = whichpic.getAttribute("title");
//var placeholder = document.getElementById("placeholder");
//placeholder.setAttribute("src",source);
//placeholder.setAttribute("alt",picname);
//var placeholdertitle = document.getElementById("placeholdertitle");
//placeholdertitle.setAttribute("value",picname);
//}


function showPic (whichpic) {
 if (document.getElementById) {
  document.getElementById('placeholder').src = whichpic.href;
  document.getElementById('placeholder').alt = whichpic.title;
  if (whichpic.title) {
   document.getElementById('desc').childNodes[0].nodeValue = whichpic.title;
  } else {
   document.getElementById('desc').childNodes[0].nodeValue = whichpic.childNodes[0].nodeValue;
  }
  return false;
 } else {
  return true;
 }
}
