  var MausX = 0;
  var MausY = 0;

  function GetMousePos()
  {
/*
    MausX = window.event.clientX;
    MausY = window.event.clientY;
*/
  }

  function Popup(url, width, height, scrollbars, resizeable) {
    wndPopup = window.open(
                url,
                "popup",
                "width=" + width + "," +
                "height=" + height + "," +
                "status=0," +
                "scrollbars=" + scrollbars + "," +
                "resizable=" + resizeable);

    wndPopup.focus();
  }

  function ShowSitemap(url, baseurl, title)
  {
    if(top.frames.length > 0)
    {
      top.document.location.href = baseurl + "/index.htm";
    }
    else
    {
      doc = document;
    }

    doc.open();
    doc.writeln("<html>");
    doc.writeln("<head>");
    doc.writeln("<title>" + title + "</title>");
    doc.writeln("<meta content=\"text/html; charset=ISO-8859-1\" http-equiv=\"content-type\">");
    doc.writeln("</head>");
    doc.writeln("<frameset cols=\"200,*\">");
    doc.writeln("<frame name=\"sitemap\" src=\"" + baseurl + "/sitemap.shtml\">");
    doc.writeln("<frame name=\"content\" src=\"" + baseurl + "/index.shtml\">");
    doc.writeln("</frameset>");
    doc.writeln("</html>");
    doc.close();
  }

  function Abfrage(frage, url)
  {
    if (confirm(frage))
    {
      location.href=url;
    }
  }
  
  function LayerDisplay(id,mode)
  {
    if (document.getElementById)
    {
	if (mode == 'toggle')
	{
	  if (document.getElementById(id).style.display == '')
	  {
	    document.getElementById(id).style.display = 'none';
	  }
	  else
	  {
            document.getElementById(id).style.display = '';
	  }
	}
	else if(mode == 'show')
        {
          document.getElementById(id).style.display = '';
        }
        else
        {
          document.getElementById(id).style.display = 'none';
        }
    }
    else if(document.all)
    {
	if (mode == 'toggle')
	{
          if (document.all[id].style.display == '')
          {
            document.all[id].style.display = 'none';
          }
          else
          {
	    document.all[id].style.display = '';
          }
	}
        else if (mode == 'show')
        {
          document.all[id].style.display = '';
        }
        else
        {
          document.all[id].style.display = 'none';
        }
    }
  }

