var WindowHeight;var WindowHeight;var availHeight;var availWidth;if(navigator.appVersion.indexOf("MSIE 6")!="-1"){if(location.href.indexOf("index_IE6.htm")=="-1")	location.href="index_IE6.htm";}function tagundnacht(k){if(k==1)	{	docTitle="tagumtag";	document.getElementById("tg1").style.display="block";	document.getElementById("tg2").style.display="none";	document.getElementById("tgLink2").style.fontWeight="lighter";	document.getElementById("tgLink1").style.fontWeight="bold";	document.getElementById("slShow").href="javascript:startSlideShow('tagumtag')";	}else	{	docTitle="tagumtag_2";	document.getElementById("tg2").style.display="block";	document.getElementById("tg1").style.display="none";	document.getElementById("tgLink1").style.fontWeight="lighter";	document.getElementById("tgLink2").style.fontWeight="bold";	document.getElementById("slShow").href="javascript:startSlideShow('tagumtag_2')";	}}window.onload=function(){if(window.innerHeight)	{	WindowWidth=window.innerWidth;	WindowHeight=window.innerHeight;	}else	{	WindowWidth=document.getElementById("Bildfenster").offsetWidth;	WindowHeight=document.getElementsByTagName('html')[0].offsetHeight;	}if(WindowHeight<659&&location.href.indexOf("dokumentation")=="-1")	{	document.getElementById("navigation2").style.position="absolute";	document.getElementById("navigation3").style.position="absolute";	document.getElementById("navigation3").style.top="220px";	document.getElementById("navigation2").style.top="134px";	document.getElementById("navigation2").style.lineHeight="26px";	document.getElementById("navigation3").style.lineHeight="26px";	}availHeight=WindowHeight-300;availWidth=WindowWidth-800;WindowWidth=WindowWidth-480;WindowHeight=WindowHeight-300;if(location.href.indexOf("dokumentation")!="-1")	loadPicture();}var AnzBer;var imgW;var imH;var theFile;var theFileString;var fileName;var folderName;var arrNum;var themenBereiche= new Array ("exhibitions","tagumtag","blumen","interieurs","tagumtag2","einzelbildfilme","akte","seascapes","aqua","totenkoepfe","landschaften","puppenkoepfe","aquarelle","stadtansichten","stilleben","grafik","fotos","tagumtag1","abstrakt","kunstambau","tagumtag_2");/*******************************************/function showThumbnail(fName,folder)	{	if(!fName)	{	n=Math.floor (Math.random() *tagumtag2.length);	thisText=tagumtag2[n];	a=thisText.indexOf("*");	thisFile="pictures/tagumtag2/"+thisText.substring(0,a);		th_ber=themenBereiche[4];	}	else	{		n=Math.floor (Math.random() *fName.length);	thisText=fName[n];	a=thisText.indexOf("*");	thisFile="pictures/"+folder+"/"+thisText.substring(0,a);	th_ber=folder;	}		if(document.getElementById("text1"))	{	if(document.getElementById("text1").style.display=="block")		{		thisText=exhibitions[8];		a=thisText.indexOf("*");		thisFile="pictures/exhibitions/"+thisText.substring(0,a);		th_ber=themenBereiche[0];n=8;		}	}	b=thisText.indexOf("+");	thestring=thisText.substring(a+1,b);	a=thestring.indexOf(",");	imgHeight=thestring.substring(0,a);	imgWidth=thestring.substring(a+1);	imgW=Number(imgWidth);	imgH=Number(imgHeight);	thestring=thisText.substring(b+1);					imgHW="";		if(imgW>imgH)		{		if(imgW>availWidth)			imgWidth=availWidth;		else imgWidth=imgW;		prozent=Math.round(imgWidth/(imgW/100));		imgHeight=Math.round((imgH/100)*prozent);		}	if(imgH>imgW)		{		if(imgH>availHeight)			imgHeight=availHeight;		else imgHeight=imgH;		/*if(imgH<400)imgHeight=259;*/		prozent=Math.round(imgHeight/(imgH/100));		imgWidth=Math.round((imgW/100)*prozent);		}	if(imgH==imgW)		{		imgHeight=availHeight;		imgWidth=availWidth;		}		imgHW="height="+imgHeight+" width="+imgWidth;		/*mit Schlagschatten*/	document.getElementById("Ausstellungsbild").innerHTML="<span style='white-space:nowrap'><IMG SRC="+thisFile+" border='0' onclick='javascript:showSingleImage(th_ber,n)' onmouseover='showStatus();' onmouseout='hideStatus();return true;' style='vertical-align:top;cursor:pointer' "+imgHW+" alt='Abbildung'><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='margin-right:8px;margin-top:8px'>"+thestring+"<\/div>";	/*document.getElementById("Vorschau").innerHTML="<IMG SRC="+thisImage[n].src+" border='0' onclick='showThumbImage(this.src,num)' onmouseover='showStatus();' onmouseout='hideStatus();return true;' style='cursor:pointer' "+imgHW+" alt="+thisText[n].substring(a+1,b)+">";*/			}/******************************************/function hideText(){document.getElementById("infoText").innerHTML="";}/******Bild platzieren/home-Seite****************/function placeRandomImage(){b=fileName.indexOf("+");theFileString=fileName.substring(b+1);imgH_W=fileName.substring(a+1,b);a=imgH_W.indexOf(",");imgH=imgH_W.substring(0,a);imgW=imgH_W.substring(a+1);	if(!window.innerHeight)		{		availHeight=document.getElementsByTagName('html')[0].offsetHeight-240;		availWidth=document.getElementById("Bildfenster").offsetWidth-280;		}	else		{		availHeight=window.innerHeight-240;		availWidth=window.innerWidth-260;		}		imgHeight=imgH;imgWidth=imgW;	if(imgHeight>availHeight||imgWidth>availWidth)	{	if (imgHeight>availHeight)		{		imgHeight=availHeight;		prozent=Math.round(imgHeight/(imgH/100));		imgWidth=Math.round((imgW/100)*prozent);				}	if (imgWidth>availWidth)		{		imgWidth=availWidth;		prozent=Math.round(imgWidth/(imgW/100));		imgHeight=Math.round((imgH/100)*prozent);		}	}a=theFileString.indexOf(" ");/*mit Schlagschatten*/document.write("<span style='white-space:nowrap'><img id='frontImage'src="+theFile+" height="+imgHeight+" width="+imgWidth+" onclick='showImage(this.src,theFile)' onmouseover='showStatus();' onmouseout='hideStatus();return true;' onload='showAllImages()' style='vertical-align:top;cursor:pointer;visibility:hidden' alt='"+convertAlternate(theFileString)+"'><img id='sh1' style='visibility:hidden;vertical-align:top' src='../images/S1b.gif' width='8' height="+imgHeight+" alt='Schatten' onload='showAllImages()'><\/span><br><span style='white-space:nowrap'><img id='sh2' style='visibility:hidden;vertical-align:top' src='../images/S2b.gif' width="+imgWidth+" height='8' alt='Schatten' onload='showAllImages()'><img id='sh3' style='visibility:hidden;vertical-align:top' src='../images/S3b.gif' width='8' height='8' alt='Schatten' onload='showAllImages()'><\/span><p style='padding-right:8px'>"+theFileString+"<\/p>");/*document.write("<img src="+theFile+" height="+imgHeight+" width="+imgWidth+" onclick='showImage(this.src,theFile)' onmouseover='showStatus();' onmouseout='hideStatus();return true;' style='cursor:pointer' alt="+theFileString.substring(0,a)+"><p>"+theFileString+"<\/p>");*/}var L_ctrl=1;function showAllImages(){L_ctrl++;if(L_ctrl==5)	{	document.getElementById("sh1").style.visibility="visible";	document.getElementById("sh2").style.visibility="visible";	document.getElementById("sh3").style.visibility="visible";	document.getElementById("frontImage").style.visibility="visible";	document.getElementById("laden").style.display="none";	}}/***************************************************/function showSingleImage(folderName,numb){if(folderName.indexOf("/")!="-1")	{	a=folderName.lastIndexOf("/");	folderName=folderName.substring(0,a);	a=folderName.lastIndexOf("/");	folderName=folderName.substring(a+1);	numb=arrNum;	}if(document.all&&window.event.altKey)	startSlideShow(folderName,numb);else{switch (folderName)	{	case "exhibitions":	fileName=exhibitions[numb];	break;	case "tagumtag":	fileName=tagumtag[numb];	break;	case "tagumtag_2":	fileName=tagumtag_2[numb];	break;	case "tagumtag1":	fileName=tagumtag1[numb];	break;	case "blumen":	fileName=blumen[numb];	break;	case "interieurs":	fileName=interieurs[numb];	break;	case "tagumtag2":	fileName=tagumtag2[numb];	break;	case "tagumtag3":	fileName=tagumtag3[numb];	break;	case "tagumtag4":	fileName=tagumtag4[numb];	break;	case "einzelbildfilme":	fileName=einzelbildfilme[numb];	break;	case "akte":	fileName=akte[numb];	break;	case "seascapes":	fileName=seascapes[numb];	break;	case "aqua":	fileName=aqua[numb];	break;	case "totenkoepfe":	fileName=totenkoepfe[numb];	break;	case "puppenkoepfe":	fileName=puppenkoepfe[numb];	break;	case "aquarelle":	fileName=aquarelle[numb];	break;	case "landschaften":	fileName=landschaften[numb];	break;	case "stadtansichten":	fileName=stadtansichten[numb];	break;	case "stilleben":	fileName=stilleben[numb];	break;	case "grafik":	fileName=grafik[numb];	break;	case "fotos":	fileName=fotos[numb];	break;	case "abstrakt":	fileName=abstrakt[numb];	break;	case "kunstambau":	fileName=kunstambau[numb];	}a=fileName.indexOf("*");b=fileName.indexOf("+");theFile="../pictures/"+folderName+"/"+fileName.substring(0,a);theFileString=fileName.substring(b+1);imgH_W=fileName.substring(a+1,b);a=imgH_W.indexOf(",");imgH=imgH_W.substring(0,a);imgW=imgH_W.substring(a+1);newHeight=imgH;newWidth=imgW;sc_WindoWWidth=screen.width-260;sc_WindowHeight=screen.height-260;	if(newHeight>sc_WindowHeight) 	{	newHeight=sc_WindowHeight;	prozent=Math.round(newHeight/(imgH/100));	newWidth=Math.round((imgW/100)*prozent);	}if(newWidth>sc_WindoWWidth)	{	newWidth=sc_WindoWWidth;	prozent=Math.round(newWidth/(imgW/100));	newHeight=Math.round((imgH/100)*prozent);	}WWidth=Number(newWidth)+110;WHeight=Number(newHeight)+130;x=Math.round(((screen.width)/2) - (WWidth/2));	y=Math.round(((screen.height)/2) - (WHeight/2));y=y-30;slidePict=theFile;window.open("components/imgWind_shade.htm?"+numb,"Bildansicht","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width="+WWidth+",height="+WHeight+",left="+x+",top="+y);	}}/*************************************//*************************************/function showStatus(n){thetext= "Bitte ins Vorschaubild klicken um Abbildung aufzurufen ";setTimeout("window.status=thetext;",0);return true;}/*************************************/function hideStatus(){window.status= "";}/*************************************/function showThumbImage(imgSrc,num){if(num)arrNum=num;a=imgSrc.lastIndexOf("/");imgName=imgSrc.substring(a+1);a=imgSrc.lastIndexOf("pictures/");b=imgSrc.lastIndexOf("preViews/");imgName=imgSrc.substring(a+9,b-1);showImage(imgName,arrNum);}/**************************************/var typeArray=new Array();function writeThumbnails(pathType,num){typeArray=new Array();switch (pathType)	{	case "tagumtag":	typeArray=tagumtag;	break;	case "tagumtag_2":	typeArray=tagumtag_2;	break;	case "tagumtag1":	typeArray=tagumtag1;	break;	case "blumen":	typeArray=blumen;	break;	case "interieurs":	typeArray=interieurs;	break;	case "tagumtag2":	typeArray=tagumtag2;	break;	case "tagumtag3":	typeArray=tagumtag3;	break;	case "tagumtag4":	typeArray=tagumtag4;	break;	case "einzelbildfilme":	typeArray=einzelbildfilme;	break;	case "akte":	typeArray=akte;	break;	case "seascapes":	typeArray=seascapes;	break;	case "aqua":	typeArray=aqua;	break;	case "totenkoepfe":	typeArray=totenkoepfe;	break;	case "puppenkoepfe":	typeArray=puppenkoepfe;	break;	case "landschaften":	typeArray=landschaften;	break;	case "aquarelle":	typeArray=aquarelle;	break;	case "stadtansichten":	typeArray=stadtansichten;	break;	case "stilleben":	typeArray=stilleben;	break;	case "grafik":	typeArray=grafik;	break;	case "fotos":	typeArray=fotos;	break;	case "abstrakt":	typeArray=abstrakt;	break;	case "kunstambau":	typeArray=kunstambau;	}if(window.innerWidth)	{	windW=window.innerWidth;	AnzBer=window.innerHeight;	}else	{		windW=document.getElementById("Bildfenster").offsetWidth;	AnzBer=document.getElementById("Bildfenster").offsetHeight;	}	itemNr=Math.round((windW-280)/140);	if(pathType=="einzelbildfilme")		itemNr=Math.round((windW-540)/115);	if(pathType=="fotos"||pathType=="abstarkt"||pathType=="kunstambau"||pathType=="grafik"||pathType=="stilleben")		itemNr=Math.round((windW-280)/150);	if(pathType=="interieurs")			itemNr=Math.round((windW-280)/150);	if(pathType=="akte")			itemNr=Math.round((windW-200)/180);	if(pathType=="blumen")		itemNr=Math.round((windW-440)/130);	if(pathType=="seascapes")		itemNr=Math.round((windW-350)/130);	if(pathType=="aqua")		itemNr=Math.round((windW-450)/120);	if(pathType=="aquarelle")		itemNr=Math.round((windW-550)/170);		if(pathType=="stadtansichten")		itemNr=Math.round((windW-440)/130);		if(pathType=="landschaften")			itemNr=Math.round((windW-440)/130);lineCount=0;if(itemNr<2)	itemNr=2;imgTable="<table style='text-align:left;width:100%'><tr>";if(pathType=="aquarelle")	imgTable="<table style='text-align:left;width:20px'><tr>";textTable="";for (i=0;i<typeArray.length;i++)	{	imgSrc=typeArray[i];		a=imgSrc.indexOf("*");	b=imgSrc.indexOf("+");	sizeString=imgSrc;	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;		if(pathType=="akte")			imgHeight=300;		prozent=Math.round(imgHeight/(imgH/100));		imgWidth=Math.round((imgW/100)*prozent);						}	else		{		imgWidth=108;		if(pathType=="einzelbildfilme")			imgWidth=80;		if(pathType=="aquarelle")			imgWidth=200;				prozent=Math.round(imgWidth/(imgW/100));		imgHeight=Math.round((imgH/100)*prozent);				}		imgHW="height="+imgHeight+" width="+imgWidth;		imgSrc="pictures/"+pathType+"/thumbnails/"+imgSrc.substring(0,a);	lineCount=lineCount+1;				if(lineCount==itemNr)		{		lineCount=1;		imgTable=imgTable+"<\/tr><tr>"+textTable;		textTable="";		breakControl="<\/tr><tr>";		}	else		breakControl="";	if (pathType=="grafik"&&i==0)			{			lineCount=1;		imgTable=imgTable+"<td colspan="+itemNr+" style='font-size:12px;font-weight:bold;padding-top:0px;padding-bottom:30px;letter-spacing:1px'>PROJEKT ZEICHNUNG - Bleistiftzeichnungen 2009<\/td><\/tr><tr>";		textTable="";		breakControl="<\/tr><tr>";			}									if (pathType=="grafik"&&i==12)			{			lineCount=1;		imgTable=imgTable+"<\/tr><tr>"+textTable+"<\/tr><tr><td colspan="+itemNr+" style='font-size:12px;font-weight:bold;padding-top:30px;padding-bottom:30px;letter-spacing:1px'>PROJEKT AUBERGINE<\/td><\/tr><tr>";		textTable="";		breakControl="<\/tr><tr>";			}	if (pathType=="grafik"&&i==17)			{			lineCount=1;		imgTable=imgTable+"<\/tr><tr>"+textTable+"<\/tr><tr><td colspan="+itemNr+" style='font-size:12px;font-weight:bold;padding-top:30px;padding-bottom:30px;letter-spacing:1px'>PROJEKT RADIERUNGEN<\/td><\/tr><tr>";		textTable="";		breakControl="<\/tr><tr>";			}				if (pathType=="stilleben"&&i==30)			{			lineCount=1;		imgTable=imgTable+"<\/tr><tr>"+textTable+"<\/tr><tr><td colspan="+itemNr+" style='font-size:12px;font-weight:bold;padding-top:30px;padding-bottom:30px;letter-spacing:1px'>PROJEKT VITRINES<\/td><\/tr><tr>";		textTable="";		breakControl="<\/tr><tr>";			}						txtSrc=typeArray[i];	b=txtSrc.indexOf("+");	theFileString=txtSrc.substring(b+1);	if(location.href.indexOf("tagumtag")!="-1")		{		a=theFileString.indexOf("&Ouml;");		theFileString=theFileString.substring(0,a);		}		if(theFileString.indexOf("2112")!="-1")		{		lineCount=1;		imgTable=imgTable+"<\/tr><tr>"+textTable;		textTable="";		breakControl="<\/tr><tr>";		}				imgTable=imgTable+breakControl+"<td id='imgTable'"+i+"' onClick='javascript:showImage(themenBereiche["+num+"],"+i+")' style='cursor:pointer;text-align:center;vertical-align:middle;padding-top:8px;padding-left:0px:padding-right:0px' onmouseover='window.status=showStatus("+(i+1)+");return true;' onmouseout='hideStatus();return true;'><span style='white-space:nowrap'><IMG SRC="+imgSrc+" "+imgHW+" border='0' alt='"+convertAlternate(theFileString)+"' style='vertical-align:top;cursor:pointer'><img id='sh1' style='visibility:visible;vertical-align:top' src='images/S1b.gif' width='4' height="+imgHeight+" alt='Schatten'><\/span><br><span style='white-space:nowrap'><img id='sh2' style='visibility:visible;vertical-align:top' src='images/S2b.gif' width="+imgWidth+" height='4' alt='Schatten'><img id='sh3' style='visibility:visible;vertical-align:top' src='images/S3b.gif' width='4' height='4' alt='Schatten'><\/span><\/td>";				if(lineCount!=itemNr-1)		imgTable=imgTable+"<td style='padding-right:25px;width:150px'>&nbsp;<\/td>";		if(pathType=="aquarelle")		textTable=textTable+"<td id='textTable' style='text-align:center;padding-top:6px;padding-bottom:10px;vertical-align:top;font-size:10px;width:"+imgWidth+"'>"+theFileString+"<\/td>";	else		textTable=textTable+"<td id='textTable' style='text-align:center;padding-top:6px;padding-bottom:10px;vertical-align:top;font-size:10px;font-family:Verdana,Arial,Helvetica,non-serif;line-height:16px;color:#555555'>"+theFileString+"<\/td>";		if(lineCount!=itemNr-1)		textTable=textTable+"<td style='padding-right:25px'>&nbsp;<\/td>";	}img_Layout="<\/tr><tr>"+textTable+"<\/tr><\/table>";imgTable=imgTable+img_Layout;document.write(imgTable);}/*********************************************************/function getCode(pathType){if(location.href.indexOf("DREHER")!="-1")	{	typeArray=new Array();	switch (pathType)	{	case "tagumtag":	typeArray=tagumtag;	break;	case "tagumtag_2":	typeArray=tagumtag_2;	break	case "tagumtag1":	typeArray=tagumtag1;	break;	case "blumen":	typeArray=blumen;	break;	case "interieurs":	typeArray=interieurs;	break;	case "tagumtag2":	typeArray=tagumtag2;	break;	case "tagumtag3":	typeArray=tagumtag3;	break;	case "tagumtag4":	typeArray=tagumtag4;	break;	case "einzelbildfilme":	typeArray=einzelbildfilme;	break;	case "akte":	typeArray=akte;	break;	case "seascapes":	typeArray=seascapes;	break;	case "aqua":	typeArray=aqua;	break;	case "totenkoepfe":	typeArray=totenkoepfe;	break;	case "puppenkoepfe":	typeArray=puppenkoepfe;	break;	case "landschaften":	typeArray=landschaften;	break;	case "aquarelle":	typeArray=aquarelle;	break;	case "stadtansichten":	typeArray=stadtansichten;	break;	case "stilleben":	typeArray=stilleben;	break;	case "grafik":	typeArray=grafik;	break;	case "fotos":	typeArray=fotos;	break;	case "abstrakt":	typeArray=abstrakt;	break;	case "kunstambau":	typeArray=kunstambau;	}	var imgCode;	lineCount=0;	itemNr=5;	imgCode="<table align='left' width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";	textTable="";	for (i=0;i<typeArray.length;i++)		{		imgSrc=typeArray[i];		a=imgSrc.indexOf("*");		b=imgSrc.indexOf("+");			lineCount=lineCount+1;		if(lineCount==itemNr)			{			lineCount=1;			imgCode=imgCode+"<\/tr><tr>"+textTable;			textTable="";			breakControl="<\/tr><tr>\n";			}		else			breakControl="";													imgSrc1="pictures/"+pathType+"/"+imgSrc.substring(0,a);		imgSrc2="pictures/"+pathType+"/thumbnails/"+imgSrc.substring(0,a);			txtSrc=typeArray[i];		b=txtSrc.indexOf("+");		theFileString=txtSrc.substring(b+1);			v=theFileString.indexOf(" <span");		altString="'"+theFileString.substring(0,v)+"'";		imgCode=imgCode+breakControl+"<td bgcolor='#FFFFFF' width='130' valign='middle' align='center' style='cursor:pointer'><a href='"+imgSrc1+"' target='new'><IMG class='marg' SRC='"+imgSrc2+"' border='0' alt="+altString+"><\/a><\/td>\n";		textTable=textTable+"<td width='10%' valign='top' class='Bildunterschrift' align='center'><IMG class='invisible' SRC='images/transp.gif' WIDTH='130' HEIGHT='4' border='0' alt='Abstand'><br>"+theFileString+"<br>&nbsp;<\/td>\n";		}	img_Layout="<\/tr><tr>\n"+textTable+"<\/tr><\/table>";	imgCode="<form action=''><textarea  cols='150' rows='100'>"+imgCode+img_Layout+"<\/textarea><\/form>";	document.write("<xmp>"+imgCode+"<\/xmp>");	/*document.write(imgCode);*/	}}/**************************************************************/var numb=0;/*function startSlideShow(thisName,thisFileNumber){if(!thisFileNumber)thisFileNumber=0;if(numb)thisFileNumber=numb;	window.open("components/slidFr.htm?"+thisName+"+"+thisFileNumber,'Diaschau','fullscreen=yes,resizable=no,left=0,top=0')}*/function startSlideShow(thisName,thisFileNumber){if(numb)	thisFileNumber=numb;if(!thisFileNumber)	thisFileNumber=0;WWidth=screen.availWidth;WHeight=screen.availHeight;window.open("components/slidFr.htm?"+thisName+"+"+thisFileNumber,'Diaschau',"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width="+WWidth+",height="+WHeight+",left=0,top=0");}/*********************************************************/function startRSlideShow(){window.open("randSlidFr.htm",'Diaschau','fullscreen=yes,resizable=no,left=0,top=0')}/*********************************************************/function shadowException(){if(slidePict.indexOf("LuganerSee21_VII_91.jpg")!="-1"||slidePict.indexOf("Alpenstck15_VII_91.jpg")!="-1"||slidePict.indexOf("Paris25_III_91.jpg")!="-1"||slidePict.indexOf("Paris5_XII_90.jpg")!="-1"||slidePict.indexOf("Oliven_94")!="-1"||slidePict.indexOf("London10_IV_99.jpg")!="-1"||slidePict.indexOf("Paris23_III_91.jpg")!="-1")	return true;else	return false;}/**************************Seite neu aufbauen bei Aenderung der Fenstergroesse***************************************/function Fensterweite () {  if (window.innerWidth) {    return window.innerWidth;  } else if (document.body && document.body.offsetWidth) {    return document.body.offsetWidth;  } else {    return 0;  }}function Fensterhoehe () {  if (window.innerHeight) {    return window.innerHeight;  } else if (document.body && document.body.offsetHeight) {    return document.body.offsetHeight;  } else {    return 0;  }}function neuAufbau () {  if (Weite != Fensterweite() || Hoehe != Fensterhoehe())    location.href = location.href;}/* Überwachung von Netscape initialisieren */if (!window.Weite && window.innerWidth||window.opera) {  window.onresize = neuAufbau;  Weite = Fensterweite();  Hoehe = Fensterhoehe();}function convertAlternate(text){for(k=0;k<text.length;k++)		{		if(text.substring(k,k+4) == "<BR>")        	text = text.substring(0,k)+", "+text.substring(k+4);		if(text.substring(k,k+3) == "<B>")        	text = text.substring(0,k)+text.substring(k+3);		if(text.substring(k,k+4) == "<\/B>")        	text = text.substring(0,k)+text.substring(k+4);		if(text.substring(k,k+4) == "<br>")        	text = text.substring(0,k)+", "+text.substring(k+4);		if(text.substring(k,k+33) == "<span style='white-space:nowrap'>")			text = text.substring(0,k)+text.substring(k+33);		if(text.substring(k,k+7) == "</span>")			text = text.substring(0,k)+text.substring(k+7);		}	return text;}function convertText(text){while(text.indexOf("<BR>")!="-1")	{	a=text.indexOf("<BR>");	text=text.substring(0,a)+", "+text.substring(a+4);	}while(text.indexOf("<br>")!="-1")	{	a=text.indexOf("<br>");	text=text.substring(0,a)+", "+text.substring(a+4);	}return text;}/*********************************************************************************/var shadows = new Array(3)shadows[0] = new Image(); shadows[0].src="images/S1.gif";shadows[1] = new Image(); shadows[1].src="images/S2.gif";shadows[2] = new Image(); shadows[2].src="images/S3.gif";/*********************************************************************************/var theFile;var newWidth;var newHeight;var theScroll;/****************************************************************/function loadImage(){if(document.getElementById("mainWindow").style.display!="none")	{	document.getElementById("mainWindow").style.display="none";	document.getElementById("imageWindow").style.visibility="hidden";	document.getElementById("imageWindow").style.display="block";	}if(docTitle=="einzelbildfilme2")	{	document.getElementById("singleImage").innerHTML="<span style='white-space:nowrap'><embed src="+theFile+" menu='true' width="+newWidth+" height="+newHeight+" style='vertical-align:top' CONTROLLER='true' autoplay='true' type='application/x-quicktime' pluginspage='http://www.apple.com/quicktime/download/'></embed><img id='sh1' src="+ shadows[0].src+"  style='vertical-align:top;width:20px;height:"+newHeight+"px' alt=''><\/span><br><span style='white-space:nowrap'><img id='sh2' src="+ shadows[1].src+" style='vertical-align:top;width:"+newWidth+"px;height:20px' alt=''><img id='sh3' src="+ shadows[2].src+" style='vertical-align:top;width:20px;height:20px' alt=''><\/span>";/*document.getElementById("singleImage").innerHTML="<span style='white-space:nowrap'><embed src="+theFile+" menu='true' width="+newWidth+" height="+newHeight+" style='vertical-align:top' CONTROLLER='true' autoplay='true' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash'></embed><img id='sh1' src="+ shadows[0].src+"  style='vertical-align:top;width:20px;height:"+newHeight+"px' alt=''><\/span><br><span style='white-space:nowrap'><img id='sh2' src="+ shadows[1].src+" style='vertical-align:top;width:"+newWidth+"px;height:20px' alt=''><img id='sh3' src="+ shadows[2].src+" style='vertical-align:top;width:20px;height:20px' alt=''><\/span>";*/	answerLoading();	}else	document.getElementById("singleImage").innerHTML="<span style='white-space:nowrap'><img name='fotoimage' id='theImage' src="+theFile+" style='vertical-align:top;cursor:pointer;height:"+newHeight+"px;width:"+newWidth+"px;border:0px'  onclick='next()' onload='answerLoading()' alt='' title='N&auml;chstes Bild'/><img id='sh1' src="+ shadows[0].src+"  style='vertical-align:top;width:20px;height:"+newHeight+"px' alt=''><\/span><br><span style='white-space:nowrap'><img id='sh2' src="+ shadows[1].src+" style='vertical-align:top;width:"+newWidth+"px;height:20px' alt=''><img id='sh3' src="+ shadows[2].src+" style='vertical-align:top;width:20px;height:20px' alt=''><\/span>";WWidth=Number(newWidth);WHeight=Number(newHeight);}function resetMe(){	document.getElementById('imageWindow').style.display="none";document.getElementById("pageTitle").style.display="block";document.getElementById("infoTable").style.visibility="hidden";document.getElementById("mainWindow").style.display="block";if(window.innerHeight)	document.body.style.overflow='visible';else	document.body.style.overflow='auto';window.scrollTo(0,theScroll);}/**************************************************************************/function answerLoading(){document.body.style.overflow='hidden';document.getElementById("mainWindow").style.display="none";document.getElementById("pageTitle").style.display="none";document.getElementById("infoString").innerHTML=convertText(theInfoString);document.getElementById("infoString").style.width=newWidth;document.getElementById("infoString").style.top=(Number(newHeight)+160)+"px";document.getElementById("infoTable").style.visibility="visible";document.getElementById("imageWindow").style.display="block";document.getElementById("imageWindow").style.visibility="visible";preloadNextImage();}/****************************************************************/function preloadNextImage(){nb=numb+1;if(nb>fullLength-1)	nb=0;switch(docTitle)	{	case "stilleben":	fileString=stilleben[nb];	fullLength=stilleben.length;	break;	case "tagumtag":	fileString=tagumtag[nb];	fullLength=tagumtag.length;	break;	case "tagumtag_2":	fileString=tagumtag_2[nb];	fullLength=tagumtag_2.length;	break;	case "tagumtag1":	fileString=tagumtag1[nb];	fullLength=tagumtag1.length;	break;	case "tagumtag2":	fileString=tagumtag2[nb];	fullLength=tagumtag2.length;	break;	case "tagumtag3":	fileString=tagumtag3[nb];	fullLength=tagumtag3.length;	break;	case "tagumtag4":	fileString=tagumtag4[nb];	fullLength=tagumtag4.length;	break;	case "exhibitions":	fileString=exhibitions[nb];	fullLength=exhibitions.length;	break;	case "blumen":	fileString=blumen[nb];	fullLength=blumen.length;	break;	case "interieurs":	fileString=interieurs[nb];	fullLength=interieurs.length;	break;	case "einzelbildfilme":	fileString=einzelbildfilme[nb];	fullLength=einzelbildfilme.length;	break;	case "einzelbildfilme2":	fileString=einzelbildfilme2[nb];	fullLength=einzelbildfilme2.length;	break;	case "akte":	fileString=akte[nb];	fullLength=akte.length;	break;	case "seascapes":	fileString=seascapes[nb];	fullLength=seascapes.length;	break;	case "aqua":	fileString=aqua[nb];	fullLength=aqua.length;	break;	case "totenkoepfe":	fileString=totenkoepfe[nb];	fullLength=totenkoepfe.length;	break;	case "puppenkoepfe":	fileString=puppenkoepfe[nb];	fullLength=puppenkoepfe.length;	break;	case "aquarelle":	fileString=aquarelle[nb];	fullLength=aquarelle.length;	break;	case "landschaften":	fileString=landschaften[nb];	fullLength=landschaften.length;	break;	case "stadtansichten":	fileString=stadtansichten[nb];	fullLength=stadtansichten.length;	break;	case "grafik":	fileString=grafik[nb];	fullLength=grafik.length;	break;	case "fotos":	fileString=fotos[nb];	fullLength=fotos.length;	break;	case "abstrakt":	fileString=abstrakt[nb];	fullLength=abstrakt.length;	break;	case "kunstambau":	fileString=kunstambau[nb];	fullLength=kunstambau.length;	}a=fileString.indexOf("*");prelFile="pictures/"+docTitle+"/"+fileString.substring(0,a);document.getElementById("preload").src=prelFile;}/****************************************************************/var textTitle;function showImage(folderName,nb){if(!window.innerHeight)	scroll_Y=document.body.scrollTop;else	scroll_Y=window.pageYOffset;theScroll=scroll_Y;numb=Number(nb);switch(docTitle)	{	case "stilleben":	fileString=stilleben[numb];	fullLength=stilleben.length;	if(numb<18)		textTitle="<B style='letter-spacing:1px'>STILLEBEN<\/B>";	else		textTitle="<B style='letter-spacing:1px'>PROJEKT VITRINES<\/B>";	break;	case "tagumtag":	fileString=tagumtag[numb];	fullLength=tagumtag.length;	textTitle="<B style='letter-spacing:1px'>PROJEKT DAS GLAS (NACHT)<\/B>&nbsp;&nbsp;1974 - bis heute";	break;	case "tagumtag_2":	fileString=tagumtag_2[numb];	fullLength=tagumtag_2.length;	textTitle="<B style='letter-spacing:1px'>PROJEKT DAS GLAS (TAG)<\/B>&nbsp;&nbsp;1974 - bis heute";	break;	case "tagumtag1":	fileString=tagumtag1[numb];	fullLength=tagumtag1.length;	textTitle="<B style='letter-spacing:1px'>PROJEKT DAS GLAS BEI NACHT<\/B>&nbsp;&nbsp;(Nr. 2112 - 2173) 2005";	break;	case "tagumtag2":	fileString=tagumtag2[numb];	fullLength=tagumtag2.length;	textTitle="<B style='letter-spacing:1px'>PROJEKT DAS GLAS BEI TAG<\/B>&nbsp;&nbsp;(Nr. 1890 - 1932) 2005";	break;	case "tagumtag3":	fileString=tagumtag3[numb];	fullLength=tagumtag3.length;	textTitle="<B style='letter-spacing:1px'>PROJEKT DAS GLAS BEI NACHT<\/B>&nbsp;&nbsp;(Nr. 2492 - 2526) 2009";	break;	case "tagumtag4":	fileString=tagumtag4[numb];	fullLength=tagumtag4.length;	textTitle="<B style='letter-spacing:1px'>PROJEKT DAS GLAS BEI TAG<\/B>&nbsp;&nbsp;(Nr. 2223 - 2296) 2009";	break;	case "exhibitions":	fileString=exhibitions[numb];	fullLength=exhibitions.length;	textTitle="";	break;	case "blumen":	fileString=blumen[numb];	fullLength=blumen.length;	textTitle="<B style='letter-spacing:1px'>PROJEKT BLUMEN<\/B>&nbsp;&nbsp;2004/2005";	break;	case "interieurs":	fileString=interieurs[numb];	fullLength=interieurs.length;	textTitle="<B style='letter-spacing:1px'>PROJEKT INTERIEURS<\/B>";	break;	case "einzelbildfilme":	fileString=einzelbildfilme[numb];	fullLength=einzelbildfilme.length;	textTitle="";	break;	case "einzelbildfilme2":	fileString=einzelbildfilme2[numb];	fullLength=einzelbildfilme2.length;	textTitle="<B style='letter-spacing:1px'>PROJEKT EINZELBILDFILME<\/B>&nbsp;&nbsp;&nbsp;&nbsp;";	break;	case "akte":	fileString=akte[numb];	fullLength=akte.length;	textTitle="<B style='letter-spacing:1px'>PROJEKT AKTBILDER<\/B>";	break;	case "seascapes":	fileString=seascapes[numb];	fullLength=seascapes.length;	textTitle="<B style='letter-spacing:1px'>PROJEKT SEASCAPES<\/B>&nbsp;&nbsp;1998";	break;	case "aqua":	fileString=aqua[numb];	fullLength=aqua.length;	textTitle="<B style='letter-spacing:1px'>PROJEKT AQUARELLE I<\/B>&nbsp;&nbsp;- Das Großplakat in Aquarellen";	break;	case "totenkoepfe":	fileString=totenkoepfe[numb];	fullLength=totenkoepfe.length;	textTitle="<B style='letter-spacing:1px'>PROJEKT TOTENSCH&Auml;DEL<\/B>";	break;	case "puppenkoepfe":	fileString=puppenkoepfe[numb];	fullLength=puppenkoepfe.length;	textTitle="<B style='letter-spacing:1px'>PROJEKT PUPPENK&Ouml;PFE<\/B>&nbsp;&nbsp;2004";	break;	case "aquarelle":	fileString=aquarelle[numb];	fullLength=aquarelle.length;	textTitle="<B style='letter-spacing:1px'>PROJEKT AQUARELLE II<\/B>";	break;	case "landschaften":	fileString=landschaften[numb];	fullLength=landschaften.length;	textTitle="<B style='letter-spacing:1px'>PROJEKT LANDSCHAFTEN<\/B>&nbsp;&nbsp;1975 - 2005";	break;	case "stadtansichten":	fileString=stadtansichten[numb];	fullLength=stadtansichten.length;	textTitle="<B style='letter-spacing:1px'>PROJEKT STADTANSICHTEN<\/B>";	break;	case "grafik":	fileString=grafik[numb];	fullLength=grafik.length;	if(numb<12)		textTitle="<B style='letter-spacing:1px'>PROJEKT ZEICHNUNG<\/B>&nbsp;&nbsp;2009";	if(numb>11)		textTitle="<B style='letter-spacing:1px'>PROJEKT AUBERGINE<\/B>&nbsp;&nbsp;2002";	if(numb>16)		textTitle="<B style='letter-spacing:1px'>PROJEKT RADIERUNGEN<\/B>";	break;	case "abstrakt":	fileString=abstrakt[numb];	fullLength=abstrakt.length;	textTitle="<B style='letter-spacing:1px'>ABSTRAKT<\/B> - &bdquo;Auf der Suche&rdquo;&nbsp;&nbsp;(1968 - 1972)";	break;	case "kunstambau":	fileString=kunstambau[numb];	fullLength=kunstambau.length;	textTitle="<B style='letter-spacing:1px'>KUNST AM BAU<\/B>";	break;	case "fotos":	fileString=fotos[numb];	fullLength=fotos.length;	textTitle="<B style='letter-spacing:1px'>FOTOS<\/B>";	}a=fileString.indexOf("*");theFile="pictures/"+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);document.getElementById("textTitle").innerHTML=textTitle;newWidth=origWidth;newHeight=origHeight;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);	}loadImage();}var fullLength;/***********************************************/function next(){num=numb;num++;if(num>fullLength-1)	num=0;showImage(0,num);}/***********************************************/function prev(){num=numb;num--;if(num<0)	num=fullLength-1;showImage(0,num);}/********************Weiterschalten des externen Bildfensters**********************/function showThisImage(folderName,numb){if(folderName.indexOf("/")!="-1")	{	a=folderName.lastIndexOf("/");	folderName=folderName.substring(0,a);	a=folderName.lastIndexOf("/");	folderName=folderName.substring(a+1);	numb=arrNum;	}switch (folderName)	{	case "exhibitions":	fileName=exhibitions[numb];	break;	case "tagumtag":	fileName=tagumtag[numb];	break;	case "tagumtag_2":	fileName=tagumtag_2[numb];	break;	case "tagumtag1":	fileName=tagumtag1[numb];	break;	case "blumen":	fileName=blumen[numb];	break;	case "interieurs":	fileName=interieurs[numb];	break;	case "tagumtag2":	fileName=tagumtag2[numb];	break;	case "tagumtag3":	fileName=tagumtag3[numb];	break;	case "tagumtag4":	fileName=tagumtag4[numb];	break;	case "einzelbildfilme":	fileName=einzelbildfilme[numb];	break;	case "akte":	fileName=akte[numb];	break;	case "seascapes":	fileName=seascapes[numb];	break;	case "aqua":	fileName=aqua[numb];	break;	case "totenkoepfe":	fileName=totenkoepfe[numb];	break;	case "puppenkoepfe":	fileName=puppenkoepfe[numb];	break;	case "aquarelle":	fileName=aquarelle[numb];	break;	case "landschaften":	fileName=landschaften[numb];	break;	case "stadtansichten":	fileName=stadtansichten[numb];	break;	case "stilleben":	fileName=stilleben[numb];	break;	case "grafik":	fileName=grafik[numb];	break;	case "fotos":	fileName=fotos[numb];	break;	case "abstrakt":	fileName=abstrakt[numb];	break;	case "kunstambau":	fileName=kunstambau[numb];	break;	case "encore":	fileName=encore[numb];	}a=fileName.indexOf("*");b=fileName.indexOf("+");theFile="../pictures/"+folderName+"/"+fileName.substring(0,a);theFileString=fileName.substring(b+1);imgH_W=fileName.substring(a+1,b);a=imgH_W.indexOf(",");imgH=imgH_W.substring(0,a);imgW=imgH_W.substring(a+1);newHeight=imgH;newWidth=imgW;windName=newHeight+newWidth;sc_WindoWWidth=screen.width-260;sc_WindowHeight=screen.height-260;	if(newHeight>sc_WindowHeight) 	{	newHeight=sc_WindowHeight;	prozent=Math.round(newHeight/(imgH/100));	newWidth=Math.round((imgW/100)*prozent);	}if(newWidth>sc_WindoWWidth)	{	newWidth=sc_WindoWWidth;	prozent=Math.round(newWidth/(imgW/100));	newHeight=Math.round((imgH/100)*prozent);	}WWidth=Number(newWidth)+110;WHeight=Number(newHeight)+130;x=Math.round(((screen.width)/2) - (WWidth/2));	y=Math.round(((screen.height)/2) - (WHeight/2));y=y-30;slidePict=theFile;if(window.innerHeight||navigator.appName.indexOf("Explorer")!="-1"&&navigator.platform.indexOf("Mac")=="-1")	window.open("imgWind_shade.htm?"+numb,windName,"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width="+WWidth+",height="+WHeight+",left="+x+",top="+y);else	window.open("components/imgWind_shade.htm?"+numb,windName,"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width="+WWidth+",height="+WHeight+",left="+x+",top="+y);}
