var fotoLink=new Array("Thomas_Strasbourg.jpg*776,900+An der Silbermann-Orgel in St. Thomas-Strasbourg","hinter_der_Orgel.jpg*726,477+Beim Stimmen...hinter der Orgel-Mikl&oacute;s Albert","vor_der_Orgel.jpg*900,675+Beim Stimmen...vor der Orgel","Michiya_Azumi.jpg*900,675+Michiya Azumi an der Dom-B&eacute;dos-Orgel in Bordeaux","Spuren_im_Sand.jpg*900,675+Spuren im Sand...-Auf der Dune de Pyla bei Arcachon","der_Atlantik_ruft.jpg*579,800+Von 120 Meter auf NormalNull-der Atlantik ruft","St_Antoine.jpg*675,900+In St. Antoine l'Abbaye-Is&egrave;re","torsten.jpg*520,668+Torsten Wirth (1980 - 2008)<br>St. Antoine l'Abbye, Juni 2006<p>Karg-Elert: Symphonischer Choral Nr.1 op.87/1<br>Cath&eacute;drale Auxerre 28.6.2002 (Konzertmitschnitt)</p>","Jang.jpg*900,675+Young-Eun Jang<br>B&eacute;thune Mai 2008","labuda.jpg*712,900+Berthold Labuda<br>Bordeaux Juni 2005","Lyon.jpg*900,675+Lyon 2005");function showImage(numb){numb=Number(numb);windName="Fotogalerie";	fileString=fotoLink[numb];docTitle="fotos1";a=fileString.indexOf("*");theFile=docTitle+"/"+fileString.substring(0,a);b=fileString.indexOf("+");SizeString=fileString.substring(a+1,b);c=SizeString.indexOf(",");origHeight=SizeString.substring(0,c);origWidth=SizeString.substring(c+1);theInfoString=fileString.substring(b+1);newWidth=origWidth;newHeight=origHeight;WindoWWidth=screen.width-260;WindowHeight=screen.height-260;if(newHeight>WindowHeight) 	{	newHeight=WindowHeight;	prozent=Math.round(newHeight/(origHeight/100));	newWidth=Math.round((origWidth/100)*prozent);	}if(newWidth>WindoWWidth)	{	newWidth=WindoWWidth;	prozent=Math.round(newWidth/(origWidth/100));	newHeight=Math.round((origHeight/100)*prozent);	}WWidth=Number(newWidth)+100;WHeight=Number(newHeight)+130;x=Math.round(((screen.width)/2) - (WWidth/2));	y=Math.round(((screen.height)/2) - (WHeight/2));y=y-30;	window.open('ImgWind.htm','Fotogalerie','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width='+WWidth+',height='+WHeight+',left='+x+',top='+y);}function writeFotos(){var itemNr;if(window.innerWidth)	itemNr=Math.round((window.innerWidth-160)/120);else		itemNr=Math.round(document.getElementById("WSize").offsetWidth/120);itemNr=Number(itemNr)-1;lineCount=0;imgTable="<table style='padding-left:0px;padding-right:0px' width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";textTable="";for (i=0;i<fotoLink.length;i++)	{	imgSrc=fotoLink[i];	a=imgSrc.indexOf("*");	b=imgSrc.indexOf("+");	txtSrc=imgSrc.substring(b+1);	/*Bildtext ein oder aus*/	txtSrc="";	/********************/	imgSrc="fotos1/thumbnails/"+imgSrc.substring(0,a);		sizeString=fotoLink[i];	c=sizeString.indexOf("*");	d=sizeString.indexOf("+");		imgH_W=sizeString.substring(c+1,d);	e=imgH_W.indexOf(",");	imgH=imgH_W.substring(0,e);	imgW=imgH_W.substring(e+1);		if(Number(imgH)>Number(imgW))		{		imgHeight=108;		prozent=Math.round(imgHeight/(imgH/100));		imgWidth=Math.round((imgW/100)*prozent);		}	else		{		imgWidth=108;		prozent=Math.round(imgWidth/(imgW/100));		imgHeight=Math.round((imgH/100)*prozent);		}		lineCount=lineCount+1;	if(lineCount==itemNr)		{		lineCount=1;		imgTable=imgTable+"<\/tr><tr>";		}				imgTable=imgTable+"<td class='imag' bgcolor='#FFFFFF' width='40' valign='middle' align='center' style='cursor:pointer;padding-bottom:20px'><span style='white-space:nowrap'><IMG SRC="+imgSrc+" border='0' width="+imgWidth+" height="+imgHeight+" alt='Abbildung' onClick='showImage("+i+")' style='vertical-align:top'><img id='sh1' style='vertical-align:top' src='images/S1b.gif' width='8' height="+imgHeight+" alt='Schatten'><\/span><br><span style='white-space:nowrap'><img id='sh2' style='vertical-align:top' src='images/S2b.gif' width="+imgWidth+" height='8' alt='Schatten'><img id='sh3' style='vertical-align:top' src='images/S3b.gif' width='8' height='8' alt='Schatten'><\/span><div style='font-size:10px'>"+txtSrc+"<\/div><\/td>";			if(lineCount!=itemNr-1)		imgTable=imgTable+"<td style='padding-right:20px'>&nbsp;<\/td>";	}img_Layout="<\/tr><\/table>";imgTable=imgTable+img_Layout;	document.write(imgTable);}
