function neu(pic,xxx,yyy){
        var temp = new Image();
        temp.src = pic;
        var head = "<html><head><title>Bildansicht</title></head><body leftmargin=0 marginheight=0 marginwidth=0 topmargin=0>";
        var foot = "</body></html>";
        
        var newWindow = window.open('#','headline','scrollbars=no,height='+xxx+'px,width='+yyy+'px');
        with(newWindow.document){
          open();
          write(head+'<img src="'+pic+'" onClick="self.close()">'+foot);
          close();
        }
}

function druck(seite,breite,hoehe) 
{        druckfenster=window.open(seite,'popupfenster','width='+breite+'px,height='+hoehe+'px,scrollbars=yes,location=no,menu=0,resizeable=yes,status=no,toolbar=no');
return druckfenster;
}

/*
function PopBild(pic,xxx,yyy){
        var temp = new Image();
        temp.src = pic;
        var head = "<?= $jb_popup_fenster_head;?>";
        var foot = "<?= $jb_popup_fenster_foot;?>;
        
        var newWindow = window.open('#','headline','scrollbars=no,height='+yyy+'px,width='+xxx+'px');
        with(newWindow.document){
          open();
          write(head+'<img src="'+pic+'" onClick="self.close()">'+foot);
          close();
        }
}
*/


function Go(x)
   {   if(x == "nothing")   {
   document.schnellform.reset();
   document.schnellform.elements[0].blur();
   return;

   }   else   {
   location.href = x;
   document.schnellform.reset();
   document.schnellform.elements[0].blur();
   }
}
function hinweis_zeigen(bilderbox) 
  {
    if(document.getElementById(bilderbox).style.display == "none")
     {document.getElementById(bilderbox).style.display = "inline";}
    else
     {document.getElementById(bilderbox).style.display = "none";}
  }