newWindow="";
function OpenNewWindow(Picture,Breit,Hoch,Alttext,Titletext) {
xsize = Breit;
ysize = Hoch-2;

ScreenWidth = screen.width;
ScreenHeight = screen.height;

xpos = (ScreenWidth/2)-(xsize/2);
ypos = (ScreenHeight/2)-((ysize+50)/2);

if (!newWindow.closed && newWindow.location) {newWindow.close();}

html = ('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de"><head><title>'+Alttext+'</title><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1" /><style type="text/css">html, body, p, img, a {margin:0 0 0 0; padding:0; border: 0; font-family: Verdana,Geneva,Arial,sans-serif; color:#fff; text-align: left;} body { background:#D2E2EF; text-align:left;}</style></head><body  onLoad="focus()"><table border="0" cellspacing="0" cellpadding="0" style=" width:400px; height:218px"><tr><td><a href="javascript:self.close()"><img src="'+Picture+'" alt="'+Alttext+'" title="'+Titletext+'" width="'+Breit+'" height="'+Hoch+'" /></a></td></tr></table></body></html>');

newWindow=window.open("","Picture","height="+ysize+",width="+xsize+",resizable=no,toolbar=no,menubar=no,location=no,directories=no,status=no,top="+ypos+",left="+xpos+"");

  newWindow.document.open("text/html", "replace")
  newWindow.document.write(html)
  newWindow.document.close()

  return false;
}


/* TeamSpeak Anfang */

function klapptext(id)
{
if(document.getElementById(id).style.display == "none")
{
document.getElementById(id).style.display = "inline";
}
else
{
if(document.getElementById(id).style.display == "inline")
{
document.getElementById(id).style.display = "none";
}
}
}

/* TeamSpeak Ende */




