<!--


  // buttonwechsel.js    (Version 1.0)
  //
  // Funktionssammlung zur Realisierung von durch Überfahren von Hyperlinks mit der Maus,
  // oder durch anklicken mit selbiger, hervorgerufene Interaktivitäten.
  //
  // Copyright © 2000 Daniel V. Franzinelli Softwareentwicklung; http://www.dvf.de
  // Alle Rechte vorbehalten.



  // Funktionsaufrufe im HTML-Quelltext:
  //
  // <a href="../html/willkommen.htm" target="Seite"
  // onMouseOver="Bildwechsel(0,Highlight0);window.status='Zurück zur Homepage';return true;"
  // onMouseOut="Bildwechsel(0,Normal0);window.status='';return true;" onClick="Punktsetzen(1)"><img
  // src="../grafik/buttons/homepage.gif" border="0" width="75" height="11"></a>




  // Initialisierung der für einen Wechsel verfügbaren Bilder:

  Punktan = new Image();
  Punktan.src = "../grafik/buttons/_punkt.gif";
  Punktaus = new Image();
  Punktaus.src = "../grafik/buttons/_punkt2.gif";



  Normal0 = new Image();
  Normal0.src = "../grafik/buttons/homepage.gif";
  Highlight0 = new Image();
  Highlight0.src = "../grafik/buttons/homepage_a.gif";

  Normal1 = new Image();
  Normal1.src = "../grafik/buttons/aktuelles.gif";		/* Hier erste Standard-Grafik angeben */
  Highlight1 = new Image();
  Highlight1.src = "../grafik/buttons/aktuelles_a.gif"; 	/* Hier erste Highlight-Grafik angeben */

  Normal2 = new Image();
  Normal2.src = "../grafik/buttons/wir.gif";
  Highlight2 = new Image();
  Highlight2.src = "../grafik/buttons/wir_a.gif";

  Normal3 = new Image();
  Normal3.src = "../grafik/buttons/leistungen.gif";
  Highlight3 = new Image();
  Highlight3.src = "../grafik/buttons/leistungen_a.gif";

  Normal4 = new Image();
  Normal4.src = "../grafik/buttons/service.gif";
  Highlight4 = new Image();
  Highlight4.src = "../grafik/buttons/service_a.gif";

  Normal6 = new Image();
  Normal6.src = "../grafik/buttons/team.gif";
  Highlight6 = new Image();
  Highlight6.src = "../grafik/buttons/team_a.gif";

  Normal7 = new Image();
  Normal7.src = "../grafik/buttons/motorsport.gif";
  Highlight7 = new Image();
  Highlight7.src = "../grafik/buttons/motorsport_a.gif";

  Normal8 = new Image();
  Normal8.src = "../grafik/buttons/geschichte.gif";
  Highlight8 = new Image();
  Highlight8.src = "../grafik/buttons/geschichte_a.gif";

  Normal9 = new Image();
  Normal9.src = "../grafik/buttons/kontakt.gif";
  Highlight9 = new Image();
  Highlight9.src = "../grafik/buttons/kontakt_a.gif";

  Normal10 = new Image();
  Normal10.src = "../grafik/buttons/hyperlinks.gif";
  Highlight10 = new Image();
  Highlight10.src = "../grafik/buttons/hyperlinks_a.gif";



  NormalF = new Image();
  NormalF.src = "../grafik/buttons/fussbutton.gif";
  HighlightL = new Image();
  HighlightL.src = "../grafik/buttons/fussbutton_l.gif";
  HighlightR = new Image();
  HighlightR.src = "../grafik/buttons/fussbutton_r.gif";





  // Wechsel der Bilder bei Überfahren mit der Maus

  function Bildwechsel(Bildnr,Bildobjekt)
  {
   top.Navigation.document.images[Bildnr].src = Bildobjekt.src;
  }



  function FussBildwechsel(Bildnr,Bildobjekt)
  {
   top.Fussleiste.document.images[Bildnr].src = Bildobjekt.src;
  }




  // Aktiven Button nach dem Anklicken markieren

  function Punktsetzen(Position)
  {
    Bildwechsel(2,Punktaus);
    Bildwechsel(4,Punktaus);
    Bildwechsel(6,Punktaus);
    Bildwechsel(8,Punktaus);
    Bildwechsel(10,Punktaus);
    Bildwechsel(12,Punktaus);
    Bildwechsel(14,Punktaus);
    Bildwechsel(16,Punktaus);
    Bildwechsel(18,Punktaus);
    Bildwechsel(20,Punktaus);

    Bildwechsel(Position,Punktan);	
  }

// -->
