// JavaScript Document
function showGalleryImage(elem) {
	if(!document.getElementById) {
		return false;
	} else {
		var bigPic = elem.getAttribute('href');
		var newCaption = elem.firstChild.getAttribute('alt');
		var newDescrp = elem.firstChild.getAttribute('des');
		document.getElementById('mainpic').firstChild.setAttribute('src',bigPic);
		document.getElementById('mainpic').firstChild.setAttribute('alt',newCaption);	//fix added 11-9-07 rmh
		var theCaption = document.getElementById('picCaption');
		theCaption.firstChild.nodeValue = newCaption;
		var theDescrp = document.getElementById('picDescription');
		theDescrp.firstChild.nodeValue = newDescrp;
	}
}
