function showPic(whichpic) {
  var source = whichpic.getAttribute("href");
   var placeholder = document.getElementById("placeholder");
   placeholder.setAttribute("src",source); 
   var text = whichpic.getAttribute("title");
   var description = document.getElementById("description"); description.firstChild.nodeValue = text;

   if(description)
    if( typeof description.innerHTML!='undefined' )
     description.innerHTML=text;
    else 
     description.firstChild.nodeValue = text.replace(/<br>/ig,' ');
  }