function jump(){
if (document.selmenu.opencat.options[document.selmenu.opencat.selectedIndex].value != "none" || document.selmenu.opencat.options[document.selmenu.opencat.selectedIndex].value != "none") {
location = "index.php?"+document.selmenu.opencat.options[document.selmenu.opencat.selectedIndex].value
 }
if (document.selmenu.opencat.options[document.selmenu.opencat.selectedIndex].value == "" || document.selmenu.opencat.options[document.selmenu.opencat.selectedIndex].value == "none") {
alert("Bitte wählen Sie einen untergeordneten Menüpunkt!");
 }                       
}

//HilfeFenster oeffnen
function showhelp(bereich) {
window.open('help.php?item=search','Hilfe','width=300,height=250,scrollbars=yes')
}

//ErrorStop
/*
onerror = stopError;
function stopError()
{
reporter = new Image();
reporter.src = "errortracker.php?query_string="+query_string+"&msg="+msg;
return true;
}
*/

//DummyFunktion
function leer() { }
function nix() { }

//Linkrahmen weg
function skip () {
    if (this.blur)
    this.blur();
}

// Galerie
// Vielen Dank fuer dieses Skript an Christine Kuehnel!
Protokoll = self.location.protocol;
Pfad = self.location.pathname;
Basis = Protokoll + '//' + Pfad.substring(1,Pfad.length-11)
neues_Fenster = null;

function Zeigen(Bild0,Bildid0,Breite0,Hoehe0,Beschreibung0)
{
   Bild = Bild0;
   Bildid = Bildid0;
   Breite = Breite0;
   Hoehe = Hoehe0;
   Beschreibung = Beschreibung0;
   zu();
   setTimeout("sichtbar()",1000);
}

function sichtbar()
{  
   Fenster_Hoehe = Hoehe + 85;
   Fenster_Breite = Breite + 40;
   Optionen = 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,height='+Fenster_Hoehe+',width='+Fenster_Breite;
   neues_Fenster = window.open('','',Optionen)
   with (neues_Fenster) 
   {
      document.writeln('<html><head><title>Galerie</title></head>');
      document.writeln('<body bgcolor="#000000" text="#ffffff"><div align=center><table border=1 cellspacing=0 cellpadding=0 valign="top"><tr><td>');
      document.writeln('<a href="#" onclick="javascript:self.close()"><img src="'+Bild+'" width='+Breite+' height='+Hoehe+' border=0 alt=""></a></td>');
      document.writeln('</tr></table><font face="arial, helvetica, sans-serif" size="2">'+Bildid+'</font><p><font size="1" face="arial,helvetica,sans-serif" color="#ffffff">(klicken Sie auf das Bild, um das Fenster zu schlie&szlig;en)</font></div></body></html>');
   }
}

function zu()
{
   if (neues_Fenster != null)
     if (!neues_Fenster.closed)
       neues_Fenster.close();
}

pointer_on = new Image(20,15);
pointer_on.src = "gfx/box-1.gif";
pointer_off = new Image(20,15);
pointer_off.src = "gfx/box-0.gif";

function mPointOn(imgName) {
  document[imgName].src = pointer_on.src;
}

function mPointOff(imgName) {
  document[imgName].src = pointer_off.src;
}