function showPic (whichpic) {
 if (document.getElementById) 
		{document.getElementById('photo').src = whichpic.href;

  if (whichpic.title) 
		{document.getElementById('text').childNodes[0].nodeValue = whichpic.title;} 

  else 
		{document.getElementById('text').childNodes[0].nodeValue = whichpic.childNodes[0].nodeValue;}

  return false; } 

 else {return true;}

}
