var browser = "none";

/* Netscape check */

   	

if(navigator.appName == "Netscape")

   	{  

   	/* Netscape 5 and higher check*/

   	if (parseInt(navigator.appVersion) >= 5)

   		{ 

   		browser = "Netscape5 and above";

   		doclobj = "document.getElementById";

   		objtagopen = "('";

   		objtagclose = "')."; 

   		leftpix = "style.left";

   		toppix = "style.top";

   		visprop = "style.visibility";

   		showstr = "'visible'";

   		hidestr = "'hidden'";

   		} 

/* all old Netscapes */

else

       	{  

   		browser = "Netscape 4";

   		doclobj = "document.layers";

   		objtagopen = "['";

   		objtagclose = "']."; 

   		leftpix = "left";

   		toppix = "top";

   		visprop = "visibility";

   		showstr = "'show'";

   		hidestr = "'hide'";

   		}

   	}

/* all other bowsers */

else

   		{ 

   		browser = "MSIE";

   		doclobj = "document.all";

   		objtagopen = "['";

   		objtagclose = "'].";  

   		leftpix = "style.pixelLeft";

   		toppix = "style.pixelTop";

   		visprop = "style.visibility";

   		showstr = "'visible'";

   		hidestr = "'hidden'";

   		}

      

function hi(nam)

   	{

   	bla = doclobj + objtagopen + nam + objtagclose + visprop + " = " + showstr;

   	eval(bla);

   	}

   

function lo(nam)

	{

	bla = doclobj + objtagopen + nam + objtagclose + visprop + " = " + hidestr;

	eval(bla);

	}



function popup(url,windowtitle,params)

	{

	window1=window.open(url, windowtitle, params);

	} 

 

function bildpopup(bildpopp,bildpoput,bildpopti,bildpopte)
{ var undefined;

  if (bildpoput==undefined)
  {bildpoput='';}

  if (bildpopte==undefined)
  {bildpopte='';}

  if (bildpopti==undefined)
  {bildpopti='';}

  bildpopnw = window.open("","",'resizable=no,width=110,height=110,scrollbars=no');

  with (bildpopnw)
  {
   focus();
   document.open();
   document.write('<html><head><title>'+bildpopti+'</title>');
   document.write('<meta http-equiv=\"imagetoolbar\" content=\"no\">');
   document.write('<link href=\"/styles.css\" rel=\"stylesheet\" type=\"text/css\"></head>');
   document.write('<body leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\" scrollbars=\"no\" scroll=\"no\" class=\"picpop\" onload=\"opener.resizer(document.images[0].width,document.images[0].height)\">')
   document.write('<a href=\"javascript:self.close()\">');
   document.write('<img src=\"'+bildpopp+'\" border=\"0\" alt=\"'+bildpopte+'\"></a>')
   document.write('')
   document.write('</body></html>')
   document.close();
  }
}

function resizer(x,y)
{
var zeilenoffset=22;
zeilenoffset=0;

if (navigator.appName == 'Microsoft Internet Explorer') {
   bildpopnw.resizeTo(x+10,y+29+zeilenoffset);
}
else
{
   if(navigator.appVersion.substring(0,1) < "5")
      {
        bildpopnw.resizeTo(x,y+zeilenoffset);
      }
   else
      {
        var plus=8;
        bildpopnw.resizeTo(x+8+plus,y+28+zeilenoffset+26+plus);
      }
}

bildpopx=(screen.availWidth/2)-(x/2);
bildpopy=(screen.availHeight/2)-(y/2);
bildpopnw.moveTo(bildpopx,bildpopy);
}

