<!--

var intDRILLDOWN_DELAY = 1000;
var objDrilldownList = null;
var objDrilldownButton = null;
var tmrDrilldown = null;
var blnDrilldownInPosition = false;

// Button-Funktionen

function goback()
  {
  history.back(1);
  }

function goforward()
  {
  history.forward(1);
  }

function gotoanchor(vstrAnchor)
  {
  if(vstrAnchor != '')
    {
    var strAnchorName = vstrAnchor;
    if(vstrAnchor.charAt(0) == '#')
      {
      strAnchorName = vstrAnchor.substring(1, vstrAnchor.length);
      }

    var objAnchor = null;
    objAnchor = document.getElementById(strAnchorName);
    if(objAnchor != null)
      {
      try { objAnchor.scrollIntoView(true); }
      catch(e) {}
      }
    }
  }

function sethome(vstrLinkID)
  {
  if (blnbrowserIE(true))
    {
    var objLink = null;
    try { objLink = document.getElementById(vstrLinkID); }
    catch(e) {}
    if(objLink != null)
      {
      objLink.style.behavior='url(#default#homepage)';
      objLink.setHomePage(strHOME + '/' + strSTARTPAGE);
      }
    }
  }

function addbookmark()
  {
  if(blnbrowserIE(false))         // IE-Favorit
    {
    var objDocument = document;
    if(objDocument != null)
      {
      var strURL = '';
      try { strURL = objDocument.location.href; }
      catch(e) {}
      strURL = strPureURL(strURL);
      if(strURL != '')
        {
        var strTitle = '';
        try { strTitle = ' - ' + objDocument.title; }
        catch(e) {}
        strTitle = strNAME + strTitle;
        try { window.external.AddFavorite(strURL, strTitle); }
        catch(e) {}
        }
      else
        {
        alert('Es konnte keine URL ermittelt werden!');
        }
      }
    else
      {
      alert('Es wurde keine Webseite gefunden!');
      }
    }
  else if(blnbrowserFF(false))    // Firefox-Sidebar
    {
    strTitle = 'Sidebar von ' + strNAME;
    strURL = strHOME + '/' + strSIDEBAR;
    try { window.sidebar.addPanel(strTitle, strURL, ''); }
    catch(e) {}
    }
  else
    {
    BrowserSupportMessage('MS Internet Explorer und Mozilla Firefox');
    }
  }

function zoomcontent(vblnGreater)
  {
  if(blnbrowserIE(true))
    {
    var objDocument = document;
    if(objDocument != null)
      {
      var dblZoom = Number(objDocument.body.style.zoom);
      if(dblZoom == 0) dblZoom = 1.0;
      if(vblnGreater)
        {
        if(dblZoom < 2.0) dblZoom += 0.1;
        }
      else
        {
        if(dblZoom > 0.5) dblZoom -= 0.1;
        }
      objDocument.body.style.zoom = dblZoom;
      }
    }
  }

// Drilldown *****************************************************************

function drilldowninit(vstrListID, vstrButtonID)
  {
  tmrDrilldown = null;
  try { objDrilldownList = document.getElementById(vstrListID); }
  catch(e) {}
  try { objDrilldownButton = document.getElementById(vstrButtonID); }
  catch(e) {}
  }

function drilldownshow(vblnShow)
  {
  var objParent = null;
  var intLeft = 0;
  var intTop = 0;

  drilldowncleartimer();

  if((objDrilldownList != null) && (objDrilldownButton != null))
    {
    if(vblnShow)
      {
      if(!blnDrilldownInPosition)
        {
        intTop = intSIZE_SMALL * (-1);
        objParent = objDrilldownButton.offsetParent;
        while(objParent)
          {
          intLeft += objParent.offsetLeft;
          objParent = objParent.offsetParent;
          }
        objDrilldownList.style.left = (intLeft - (2 * intSIZE_SMALL)) + 'px';
        objDrilldownList.style.top = intTop + 'px';
        blnDrilldownInPosition = true;
        }
      objDrilldownList.style.display = 'block';
      }
    else
      {
      tmrDrilldown = window.setInterval('drilldownhide()', intDRILLDOWN_DELAY);
      }
    }
  }

function drilldownhide()
  {
  drilldowncleartimer();
  if(objDrilldownList != null)
    {
    objDrilldownList.style.display = 'none';
    }
  }

function drilldowncleartimer()
  {
  if(tmrDrilldown != null)
    {
    window.clearInterval(tmrDrilldown);
    tmrDrilldown = null;
    }
  }

//-->