// CSS and DHTML powered ImageGallery
// Created in April 2004 by Dasme - dasme *at* dasme.org
//  - http://dasme.org/imagegal/
//
// Script based on ideas from Jeremy Keith and AListApart.com
// http://www.alistapart.com/articles/imagegallery/
//
// If you use this code in your page, please leave these comments in.
// A quick email with the location of your gallery would be cool to. Always
// like to see what others have done with my scripts.
//
// Kleine Aenderung von Manfred Gerber

function DOMCall(name) {
	if (document.layers)
		return document.layers[name];
	else if (document.all)
		return document.all[name];
	else if (document.getElementById)
		return document.getElementById(name);
}
function showPic (whichpic) {
	DOMCall('placeholder').src = whichpic.href;
     if (whichpic.title) {
		DOMCall('imageCaption').innerHTML = whichpic.title;
	} else {
		DOMCall('imageCaption').innerHTML = "&nbsp;";
	}
 	return false;
}

