<!--
var Datum = new Date()
var Cookies;
CookieName = new Array();
CookieWert = new Array();
var LastVisit=1;

function news(NewsDataStamp,News)
{
if(NewsDataStamp >= window.location.search.substring(1,9)) {return("<tr><td valign='top'><p style='margin:0cm'>" + Math.round(NewsDataStamp - Math.round(NewsDataStamp / 100) * 100) + "." + Math.round((NewsDataStamp - Math.round(NewsDataStamp / 10000) * 10000) / 100) + "." + Math.round(NewsDataStamp / 10000) + "</p></td><td><p style='margin: 0cm'>" + News + "</p></td></tr>")} else {return("")}
}


function LastVisitAbfragen()
{

  var ThisVisit = Datum.getFullYear()*10000 + (Datum.getMonth()+1)*100 + Datum.getDate();
  if(document.cookie != "") {CookiesLesen()} else {WertSetzen("LFG.de-LastVisit", ThisVisit, 365);LastVisit=2}
  if (LastVisit != 2)
  {
    for(i=0; LastVisit < 5; i++)
    {
      if(CookieName[i] == "LFG.de-LastVisit")
      {
        LastVisit = CookieWert[i]
      }
      if(i == 10) {LastVisit = 0}
    }
  }
  parent.newsleiste.location.href = "news.html?" + LastVisit;
  WertSetzen("LFG.de-LastVisit", ThisVisit, 365)
}

function CookiesLesen()
{
  CoEnd = 0;
  JumpOut = 1
  for(var CoNr=0; JumpOut==1; CoNr++)
  {
    CoStart = document.cookie.indexOf("=",CoEnd);
    CoOldEnd = CoEnd;
    CoEnd   = document.cookie.indexOf(";",CoStart);
    if(CoEnd == -1)
    {
      CoEnd=document.cookie.length;
      JumpOut = 0;
    }
    if(CoNr == 10) {JumpOut=0}
    CookieName[CoNr] = document.cookie.substring(CoOldEnd, CoStart);
    CookieWert[CoNr] = document.cookie.substring(CoStart+1, CoEnd);
    //alert(CookieName[CoNr] + " = " + CookieWert[CoNr]);
    CoEnd = CoEnd + 2;

  }







}




function WertHolen()
{
  var Wert = "0";
  if(document.cookie)
  {
    var Wertstart = document.cookie.indexOf("=") + 1;
    var Wertende = document.cookie.indexOf(";");
    if (Wertende == -1){Wertende = document.cookie.length;}
    Wert = document.cookie.substring(Wertstart,Wertende);
  }
  return Wert;
}

function WertSetzen(Bezeichner, Wert, Verfall)
{
  var Auszeit = new Date(Datum.getTime() + Verfall*1000*60*60*24);
  document.cookie = Bezeichner + "=" + Wert + ";expires=" + Auszeit.toGMTString() + ";";
}

function Zaehlerstand()
{
  var Verfallszeit = 1000*60*60*24*365;
  var Anzahl = WertHolen();
  var Zaehler = 0;
  if(Anzahl != "0") {Zaehler = parseInt(Anzahl);}
  if(document.cookie)
  {
   Zaehler = Zaehler + 1;
   WertSetzen("ZaehlerBeta",Zaehler,Verfallszeit);
  }
  else
  {
    Zaehler = "1";
    WertSetzen("ZaehlerBeta",Zaehler,Verfallszeit);
  }
  return(Zaehler);
}





Skin = "00"

Normal11 = new Image();
Normal11.src = "Grafiken/logofk.gif";
Highlight11 = new Image();
Highlight11.src = "Grafiken/logofk.gif";
Press11 = new Image();
Press11.src = "Grafiken/logofk.gif";
Klick11 = new Image();
Klick11.src = "Grafiken/logofk.gif";

Normal00 = new Image();
Normal00.src = "Grafiken/buts" + Skin + "n00s0.gif";
Highlight00 = new Image();
Highlight00.src = "Grafiken/buts" + Skin + "n00s1.gif";
Press00 = new Image();
Press00.src = "Grafiken/buts" + Skin + "n00s2.gif";
Klick00 = new Image();
Klick00.src = "Grafiken/buts" + Skin + "n00s3.gif";

Normal01 = new Image();
Normal01.src = "Grafiken/buts" + Skin + "n01s0.gif";
Highlight01 = new Image();
Highlight01.src = "Grafiken/buts" + Skin + "n01s1.gif";
Press01 = new Image();
Press01.src = "Grafiken/buts" + Skin + "n01s2.gif";
Klick01 = new Image();
Klick01.src = "Grafiken/buts" + Skin + "n01s3.gif";

Normal02 = new Image();
Normal02.src = "Grafiken/buts" + Skin + "n02s0.gif";
Highlight02 = new Image();
Highlight02.src = "Grafiken/buts" + Skin + "n02s1.gif";
Press02 = new Image();
Press02.src = "Grafiken/buts" + Skin + "n02s2.gif";
Klick02 = new Image();
Klick02.src = "Grafiken/buts" + Skin + "n02s3.gif";

Normal03 = new Image();
Normal03.src = "Grafiken/buts" + Skin + "n03s0.gif";
Highlight03 = new Image();
Highlight03.src = "Grafiken/buts" + Skin + "n03s1.gif";
Press03 = new Image();
Press03.src = "Grafiken/buts" + Skin + "n03s2.gif";
Klick03 = new Image();
Klick03.src = "Grafiken/buts" + Skin + "n03s3.gif";

Normal04 = new Image();
Normal04.src = "Grafiken/buts" + Skin + "n04s0.gif";
Highlight04 = new Image();
Highlight04.src = "Grafiken/buts" + Skin + "n04s1.gif";
Press04 = new Image();
Press04.src = "Grafiken/buts" + Skin + "n04s2.gif";
Klick04 = new Image();
Klick04.src = "Grafiken/buts" + Skin + "n04s3.gif";

Normal05 = new Image();
Normal05.src = "Grafiken/buts" + Skin + "n05s0.gif";
Highlight05 = new Image();
Highlight05.src = "Grafiken/buts" + Skin + "n05s1.gif";
Press05 = new Image();
Press05.src = "Grafiken/buts" + Skin + "n05s2.gif";
Klick05 = new Image();
Klick05.src = "Grafiken/buts" + Skin + "n05s3.gif";

Normal06 = new Image();
Normal06.src = "Grafiken/buts" + Skin + "n06s0.gif";
Highlight06 = new Image();
Highlight06.src = "Grafiken/buts" + Skin + "n06s1.gif";
Press06 = new Image();
Press06.src = "Grafiken/buts" + Skin + "n06s2.gif";
Klick06 = new Image();
Klick06.src = "Grafiken/buts" + Skin + "n06s3.gif";

Normalxx = new Image();
Normalxx.src = "Grafiken/buts" + Skin + "nxxs0.gif";
Highlightxx = new Image();
Highlightxx.src = "Grafiken/buts" + Skin + "nxxs1.gif";
Pressxx = new Image();
Pressxx.src = "Grafiken/buts" + Skin + "nxxs2.gif";
Klickxx = new Image();
Klickxx.src = "Grafiken/buts" + Skin + "nxxs3.gif";

function Init()
{
   Wechsel(0,Normal00,0)
   Wechsel(1,Normal01,0)
   Wechsel(2,Normal02,0)
   Wechsel(3,Normal03,0)
   Wechsel(4,Normal04,0)
   Wechsel(5,Normal05,0)
   Wechsel(6,Normal06,0)

}


var Seite,SeiteS,Nr
Seite = -1;
SeiteS = -1;
Nr = 0;

function Wechsel(Indexnr,Bildobjekt,Nr)
{
  Indexnr ++;
  if(Indexnr == 12){Indexnr = 0;}
  window.document.images[Indexnr].src = Bildobjekt.src;
  if(Nr == 3){SeiteS = Seite;Seite = Indexnr - 1;}


  if(Seite != SeiteS)
  {
    if(SeiteS == 0)
    {
      setTimeout('Wechsel(0,Normal00,0);',200);
    }
    if(SeiteS == 1)
    {
       setTimeout('Wechsel(1,Normal01,0);',200);
    }
    if(SeiteS == 2)
    {
      setTimeout('Wechsel(2,Normal02,0);',200);
    }
    if(SeiteS == 3)
    {
      setTimeout('Wechsel(3,Normal03,0);',200);
    }
    if(SeiteS == 4)
    {
      setTimeout('Wechsel(4,Normal04,0);',200);
    }
    if(SeiteS == 5)
    {
      setTimeout('Wechsel(5,Normal05,0);',200);
    }
    if(SeiteS == 6)
    {
     setTimeout('Wechsel(6,Normal06,0);',200);
   }
    SeiteS = Seite;
  }
}

//-->