/* JavaScript-Routins for leithaauen.at */

  var p = "images/home/";
  var one = "";  
  var two = "";
  var three = "";

  toload = new Array ("adl_arrow", "point");

  tonormal = new Array();
  tohighlight = new Array();

  for (i in toload)
  {
    tohighlight[toload[i]] = new Image();
    tohighlight[toload[i]].src = p + toload[i] + "_a.gif";   

    tonormal[toload[i]] = new Image();
    tonormal[toload[i]].src = p + toload[i] + "_i.gif";  
  }
  
  function swap(n,s)
  {
    if (s=="h") document.images[n].src = tohighlight[n].src;
    else if (s=="n") document.images[n].src = tonormal[n].src;
  }
  
  function show_menu()
  {     
    if (document.all['u0'].style.visibility == "hidden") 
    {
      document.all['u0'].style.visibility="visible";
    }
    
    else if (document.all['u0'].style.visibility == "visible")
    {
      document.all['u0'].style.visibility="hidden";
    }
  }
 
  function on_point(point)
  {
    document.all[point].style.visibility = 'visible';
  }
  
  function off_point(point)
  {
    document.all[point].style.visibility = 'hidden';
  }
  
