function addLoadEvent(imageGallery){};
function imageGallery() {	
	if 
		(!document.getElementById) return false;	
	if 
		(!document.getElementById('imagegallery')) return false;	
	var gallery = document.getElementById('imagegallery');	
	var lnks = gallery.getElementsByTagName('a');	
	for 
	(i=0;i<lnks.length;i++) 
		{
			lnks[i].onclick = function() 
			{return showPic(this);		
			}
			lnks[i].onkeypress = lnks[i].onclick;	
		}
	}
function showPic (whichpic) { 	
	if 
		(!document.getElementById) return true; 	
	var picture = whichpic.getAttribute('href');	
	if 
		(!document.getElementById('placeholder')) 
	return true;	
	document.getElementById('placeholder').setAttribute('src',picture);	
		if 
			(!document.getElementById('desc')) 
			return false; 	
		if	
			(whichpic.getAttribute('title')) 
		{		
		document.getElementById('desc').childNodes[0].nodeValue = whichpic.getAttribute('title');	
		} 
	else 
		{		
		document.getElementById('desc').childNodes[0].nodeValue = whichpic.childNodes[0].nodeValue;	
		}	
		return false;
	}



