// Popup-Funktion passt sich Bildgröße an//
function bildanzeige(bildpopp,bildpopti,bildpopte) 
{ var undefined; 


  if (bildpopte==undefined) 
  {bildpopte='';} 

  if (bildpopti==undefined) 
  {bildpopti='titel';} 

  bildpopnw = window.open("","Bildergalerie",'resizable=1,width=200,height=200,scrolling=no'); 

  with (bildpopnw) 
  { 
    focus(); 
    document.open(); 
   document.write('<html><head><title>'+bildpopti+'</title>'); 
   document.write('<meta http-equiv=\"imagetoolbar\" content=\"no\"></head>'); 
   document.write('<body leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\" scroll=\"no\" style=\"overflow: hidden\" class=\"picpop\" onload=\"opener.bildpoprez(document.images[0].width,document.images[0].height)\">') 
   document.write('<a href=\"javascript:self.close()\">'); 
   document.write('<img src=\"'+bildpopp+'\" border=\"0\" alt=\"'+bildpopte+'\" title=\"'+bildpopti+'\"></a><br>') 
   document.write('</body></html>') 
   document.close(); 
  } 
} 

function bildpoprez(x,y) 
{ 
if (navigator.appName == 'Microsoft Internet Explorer') 
{bildpopnw.resizeTo(x+10,y+29+22);} 

else 
{ 
   if(navigator.appVersion.substring(0,1) < "5") 
      {bildpopnw.resizeTo(x,y+22);} 
   else 
      {bildpopnw.resizeTo(x+8-8,y+28+22);} 
} 
}
function codeEmail(s, shift) {
	var n=0;
	var r="";
	for(var i=0;i<s.length;i++) { 
		n=s.charCodeAt(i); 
		if (n>=8364) {n = 128;}
		r += String.fromCharCode(n-(shift)); 
	}
	return r;
}
function hrefCodeEmail(s, shift)	{
	location.href=codeEmail(s, shift);
} 
