function open_akt(theURL) { 
  winName="aktuelles";
  features="scrollbars=yes,width=550,height=450,resizable=yes,dependent=yes";
  wnd=window.open(theURL,winName,features);
  wnd.focus();
}

function bild(img_url, img_title, img_width, img_height, art)
{
	var wname;
	var img_border;
  var sheight=Math.min(screen.availHeight-30,img_height+220);
	var swidth=Math.min(screen.availWidth-30,Math.max(250,img_width+55));
	
	wname="Bildanzeige";
	img_border=0;
	
	wnd = open("",
             wname,
             "width=" + (swidth) + ",height=" + (sheight) +
             ",toolbar=0,location=0,directories=0,status=0,menubar=0," +
             "scrollbars=yes,resizable=yes,dependent=yes"); 
             
  with(wnd.document)
  {
    open("text/html","replace");
    writeln("<HTML><HEAD><TITLE>" + img_title + "</TITLE>");
		writeln("<link rel='stylesheet' href='/mb.css' type='text/css'>");
		writeln("<script language='JavaScript' src=\"/drucken.js\"></script>");
		writeln("</HEAD><BODY background='/bilder/bgr1.jpg'>");
    writeln("<TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\" WIDTH=\"100%\" HEIGHT=\"100%\">");
		writeln("<tr><td class=\"normal\">");
	
			writeln("<img src=\"/bilder/leer.gif\" width=\"3\" height=\"2\" border=\"0\" align=\"absmiddle\">");
			writeln("<span class=\"normal\"><b>MorgenBlitz</b></span>");
			
		writeln("</td><td class=\"normal\"><div align=\"right\">" + img_title + "</div></td></tr>");	
		writeln("<tr><td height=\"2\" colspan=\"2\"><hr size=\"1\" noshade></td></tr>");
		
		writeln("<tr><td colspan=\"2\">");
		writeln("<div align=\"center\"><img src=\"" + img_url + "\" width=\"" + img_width + 
		         "\" height=\"" + img_height +
						 "\" border=\"" + img_border + "\"" +
						 "\" alt=\"" + img_title + "\"");
		writeln("</td></tr>");
		writeln("<tr><td height=\"2\" colspan=\"2\"><hr size=\"1\" noshade></td></tr>");
 		writeln("<td></td>");
		writeln("<td class=\"normal\"><div align=\"right\"><FORM><INPUT type=button value=\"Drucken\" name=\"Print\" onClick=\"printit()\"></FORM><a href=\"javascript:self.close()\"> Fenster schliessen</a></div>");
		writeln("</td></tr>");
    writeln("</table></BODY></HTML>");
    close();
  }
  wnd.resizeTo(swidth,sheight);
  wnd.focus();
}