  
function addBookmark(title,url) 
{ 
  url = encodeURI(url);
  if (window.sidebar) 
  { 
    window.sidebar.addPanel(title, url);
  } else if( document.all ) {
    window.external.AddFavorite( url, title);
  } else if( window.opera && window.print ) {
    return true;
  }
}

function MouseOver(Span)
{
 if(!Sleeper2[GetNameNode(Span)])
 {
  Sleeper2[GetNameNode(Span)] = true;
  window.clearInterval(Sleeper[GetNameNode(Span)]);
  eval("var LL"+Span+" = window.setInterval(\"ShowSpan('"+ Span +"')\",SleeperTime)");
  Sleeper[GetNameNode(Span)] = eval("LL"+Span);
 }
}

function ShowSpan(Span)
{
  Sleeper2[GetNameNode(Span)] = true;
  window.clearInterval(Sleeper[GetNameNode(Span)]);
  SpanObj = document.getElementById(Span);
  SpanObj.style.visibility = 'visible';
}

function MouseOut(Span)
{
 if(Sleeper2[GetNameNode(Span)])
 {
  Sleeper2[GetNameNode(Span)] = false;
  window.clearInterval(Sleeper[GetNameNode(Span)]);
  eval("var LL"+Span+" = window.setInterval(\"HideSpan('"+ Span +"')\",SleeperTime)");
  Sleeper[GetNameNode(Span)] = eval("LL"+Span);
 }
}

function HideSpan(Span)
{
 Sleeper2[GetNameNode(Span)] = false;
 window.clearInterval(Sleeper[GetNameNode(Span)]);
 SpanObj = document.getElementById(Span);
 SpanObj.style.visibility = 'hidden';
}

function GetLeft(Obj)
{
 return (Obj.offsetParent) ? Obj.offsetLeft + GetLeft(Obj.offsetParent):Obj.offsetLeft;
}

function GetTop(Obj)
{
 return (Obj.offsetParent) ? Obj.offsetTop + GetTop(Obj.offsetParent):Obj.offsetTop;
}

function GetLeftMap(Obj,Pos)
{
 result = (Obj.offsetParent) ? Obj.offsetLeft + GetLeft(Obj.offsetParent):Obj.offsetLeft;
 return result+Pos;
}

function GetTopMap(Obj,Pos)
{
  result = (Obj.offsetParent) ? Obj.offsetTop + GetTop(Obj.offsetParent):Obj.offsetTop; 
  return result+Pos;
}

function NewPosParent(Span,FromLeft,FromTop)
{
 SpanObj = document.getElementById(Span);
 SpanObj.style.left = FromLeft + SpanEbeneL0;
 SpanObj.style.top  = FromTop  + SpanEbeneT0;
}

function GetNameNode(Span)
{
 return Span.substring(1);
}

function Objekt(SPAN,Obj)
{
 ImgId = document.getElementById(Obj);
 Left  = (GetLeft(ImgId) + SpanEbeneL1) - SpanEbeneL0;
 Top   = (GetTop(ImgId)  + SpanEbeneT1) - SpanEbeneT0;
 if(UseSubImage) Left += ImgId.width;
 NewPosParent(SPAN,Left,Top);
}

function ShowCaption( Linknummer, functions, MinHeight )
{
  SpanObj = document.getElementById('camping_name'+Linknummer);
  VSpanObj = document.getElementById('camping'+Linknummer);
  if( functions == '1' )
  {
    SpanObj.innerHTML = Captions[Linknummer];
    SpanObj.className = 'map_mouse_over';
    SpanObj.style.minHeight = MinHeight;
  }
  else
  {
    SpanObj.innerHTML = '';
    SpanObj.className = 'map_mouse_out';
  }
}

function ShowCaptionFromLeft( Linknummer, functions, HEI )
{
  if(Backup[Linknummer] != undefined )
  {
    ShowCaption( Backup[Linknummer], functions,HEI )
  }
}

function ObjektMap(SPAN, Obj, MyPosX, MyPosY)
{
  ImgId = document.getElementById(Obj);
  korrektur = 0;
  nav = navigator.appName;
  if (nav=="Netscape")
    if (window.innerWidth>1000)
      korrektur = (window.innerWidth-1000)/2;
  if (nav=="Microsoft Internet Explorer" || nav=="msie")
    if (document.body.offsetWidth>1000)
      korrektur = (document.body.offsetWidth-1000)/2;        
  Left  = GetLeft(ImgId)+MyPosX-korrektur;
  Top   = GetTop(ImgId)+MyPosY-325;
  NewPosParent(SPAN,Left,Top);
}

  function showinfo( e, divid) {
        info_functions = document.getElementById(divid);
        info_functions.style.display = "block";
      info_functions.style.top = e.offsetTop + 40;
      info_functions.style.left = e.offsetLeft + 257;
    }
    function showanfahrt( e, divid) {
        info_functions = document.getElementById(divid);
        info_functions.style.display = "block";
      info_functions.style.top = 50;
      info_functions.style.left = 588;
    }
  function hideinfo() {
        info_functions.style.display = "none";
    }
