function cp(Bildname,Objekt)
{
    if ((document.images) && (objektname != Bildname))
    {
      document.images[Bildname].src = Objekt.src;
    }
}

function cp2(Bildname,Objekt)
{
    if (document.images)
    {
      document.images[Bildname].src = Objekt.src;
    }
}

function Setzename(Objekt,Bildname)
{
  if (document.images)
  {
    if (objektname != Bildname)
    {
      document.images[objektname].src = Objekt.src;
    }
    objektname = Bildname;
  }
}

function cf(url,frame)
{
    parent.frames[frame].location.href = url;
}

function statustext(text)
{
    if (text)
    {
         window.status = text;
    } else {
         window.status = '';
    }
}

function openwin(url,w,h)
{
    win = window.open(url,'newwin','menubar=no,status=no,toolbar=no,scrollbars=yes,resizable=yes,width='+w+',height='+h);
}

function openwin2(url,w,h)
{
    win = window.open(url,'newwin','menubar=no,status=no,toolbar=no,scrollbars=no,resizable=no,width='+w+',height='+h);
}

function listenMenu(form,feld)
{
        index = eval(document.forms[form].elements[feld].selectedIndex);
        eintrag = document.forms[form].elements[feld].options[index].value;
        laenge = eintrag.length;
        trennpos = eintrag.indexOf(',');
        url = eintrag.substring(0,trennpos);
        frame = eintrag.substring(trennpos+1,laenge);
        window.parent.frames[frame].location.href = url;
}
