<!--
function show(Picture,Breit,Hoch,imgcopyright,pname,comment)
{
xsize = Breit+100; //46 Zusatz für Rand rechts und links   32
ysize = Hoch+120; //90 Zusatz für Rand oben und unten - damit Button angezeit werden kann

normalxsize=Breit;
normalysize=Hoch;

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

if (xsize>=ScreenWidth){
    scrollbars='yes';
    xsize=ScreenWidth;
    }
if (ysize>=ScreenHeight){
    scrollbars='yes';
    ysize=ScreenHeight;
    xsize=(xsize+12);  // 12
    }
else {
    scrollbars='no';
    }
showcopyright="";
if(imgcopyright) {showcopyright="(Foto: &copy; "+imgcopyright+")";}


  if(comment && xsize<=220){ysize=ysize+55;}   // 45
  if(comment && xsize>=220){ysize=ysize+45;}   // 35
  if(!comment){comment=' ';} // Abfrage ob ein Kommentar gesetzt ist

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

        NewWindow=window.open("","Picture","height="+ysize+",width="+xsize+",scrollbars=yes,resizable=no,top="+ypos+",left="+xpos+"");
        NewWindow.document.write ("<html><head><title>"+pname+"");
        NewWindow.document.write ("</title><link rel='stylesheet' media='screen' href='css/screen_popup.css' title='contentCombustion.de'></head>");
        NewWindow.document.write ("<body onload='focus()'>");
        NewWindow.document.write ("<div align='center' style='margin-bottom:0px; margin-top:10px;margin-left:10px;margin-right:10px;'>");
        NewWindow.document.write ("<table style='-moz-border-radius: 0px 0px 16px 0px; background-color:#dfdfdf; width:"+Breit+";' border='0' cellspacing='0' cellpadding='0' vspace='0' hspace='0'>");
        NewWindow.document.write ("<tr><td>");
        NewWindow.document.write ("<img  style='border:1px solid #D9DADC;' src='");
        NewWindow.document.write (Picture);
        NewWindow.document.write ("' alt='"+comment+"' title='"+comment+"'>");
        NewWindow.document.write ("</td></tr><tr><td style='color:#3F3F3F; padding-top:2px;  padding-right:2px;  text-align:right; font-size:10px;'>"+showcopyright+"</td><td></td></tr><tr><td style='color:#3F3F3F; padding:3px; font-size:11px;'><span style=\"font-weight:bold;\">&raquo; </span>"+comment+"</td></tr></table>");
        NewWindow.document.write ("<div style='font-size:11px; font-family:arial; text-align:center;'><br>&copy; schwarze<b>undpartner</b>.de</div>");
        NewWindow.document.write ("<div class='content' style='margin-top:0px; padding-right:10px; font-size:11px; font-family:arial; text-align:right;'><span style='font-size:12px; font-weight:bold;'>&raquo; </span><a style=\"color:#df0000;\" href=\"javascript:self.close();\">schliessen</a></div>");
        NewWindow.document.write ("</div></body></html>");
        NewWindow.document.close();
        NewWindow.resizeTo(xsize,ysize);
}

function showPHP(urlPHP,Breit,Hoch)
{
xsize = Breit+100; //46 Zusatz für Rand rechts und links   32
ysize = Hoch+120; //90 Zusatz für Rand oben und unten - damit Button angezeit werden kann

normalxsize=Breit;
normalysize=Hoch;

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

if (xsize>=ScreenWidth){
    scrollbars='yes';
    xsize=ScreenWidth;
    }
if (ysize>=ScreenHeight){
    scrollbars='yes';
    ysize=ScreenHeight;
    xsize=(xsize+12);  // 12
    }
else {
    scrollbars='no';
    }

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

Fenster = window.open(urlPHP, "Zweitfenster", "height="+ysize+",width="+xsize+",scrollbars=yes,resizable=no,top="+ypos+",left="+xpos+"");
        /*NewWindow=window.open(urlPHP,"height="+ysize+",width="+xsize+",scrollbars=yes,resizable=no,top="+ypos+",left="+xpos+"");
        NewWindow.resizeTo(xsize,ysize);*/
}

//-->
