function detailbild(oLink) {	
	oImg = oLink.getElementsByTagName('img')[0];
	detailSrc = oImg.src;
	detailSrc = detailSrc.replace(/.jpg/, '_detail.jpg');
	detailAltTile = '';
	if (oImg.alt != '') {
		detailAltTile = oImg.alt;
	}
	
	var detailImg = document.createElement('img');
	detailImg.src = detailSrc;
	detailWidth = detailImg.width;
	detailHeight = detailImg.height;
	if (detailWidth == 0) {
		detailWidth = 600;
		detailHeight = 450;
	}
	detailWidth += 2;
	detailHeight += 2;
	
	window.open('/detailbild.php?src=' + detailSrc + '&altTitle=' + detailAltTile, 'detailbild', 'width=' + detailWidth + ',height=' + detailHeight).focus();
}