function openBild(actBild, actTitle){
  var fenster;
  fenster = open("", actTitle, 
                 "width="+actBild.width+",height="+actBild.height+",left=10,top=10");
  fenster.document.open();
  with (fenster.document) {
    writeln("<html><head><title>" + actTitle + "</title> ");
    writeln("<style type='text/css'>");
    writeln("#topleft {");
    writeln("	position: absolute;");
    writeln("	top:	  0px;");
    writeln("	left:	  0px;");
    writeln("   margin-left: 0px;");
    writeln("   margin-top:  0px;");
    writeln("}");
    writeln("</style>");
    writeln("</head>");   
			//   Explorer: 	topleft im IMG-Tag
			//   Netscape:	topleft	im BODY-Tag		
    writeln("<body bgcolor='#FFFFFF' id=topleft");
    writeln("onResize=");
    writeln("'resizeTo("+actBild.width+","+actBild.height+");");
    writeln("return true;'");
    writeln("> ");
    writeln("<img name=mypict src="+actBild.src+"><p>");
    writeln("</body></html>");
    close();
  }
  return fenster;
} 

function closeWin(actFenster) {
  if (actFenster != null) 
    if (! actFenster.closed) actFenster.close();
}

