function showPic (whichpic) {
	if (document.getElementById) {

		document.getElementById('placeholder').src = whichpic.href;
		document.getElementById('placeholderLink').href = whichpic.href.replace("-preview", "");
		document.getElementById('caption').childNodes[0].nodeValue = whichpic.title;

		if (whichpic.title) {
			document.getElementById('placeholder').title = whichpic.title;
		} 
		else {
		 	document.getElementById('placeholder').childNodes[0].nodeValue = whichpic.childNodes[0].nodeValue;
		}
		return false;

		if (whichpic.alt) {
			document.getElementById('placeholder').alt = whichpic.alt;
		} 
		else {
		 	document.getElementById('placeholder').childNodes[0].nodeValue = whichpic.childNodes[0].nodeValue;
		}
		return false;
	}
	else {
		return true;
	}
}
