function OpenPic( name, w, h )
{
  var param = 'width='+w+', height='+h+', left=0, top=0';
  F1 = window.open( "picture", "", param );
  F1.document.write('<html>\n<head>\n<title>'+name+'</title>\n</head>\n');
  F1.document.write('<body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>\n');
  F1.document.write('<a href="javascript:self.close()"><img src="'+name+'" width="'+w+'" height="'+h+'" border="0" alt="Grossansicht"></a>\n');
  F1.document.write('</body>\n</html>\n');
}
