


// allgemein

preloads = new Array();

preloads[0]=new Image();
preloads[1]=new Image();
preloads[2]=new Image();
preloads[3]=new Image();
preloads[4]=new Image();
preloads[5]=new Image();
preloads[6]=new Image();
preloads[7]=new Image();
preloads[8]=new Image();
preloads[9]=new Image();

fcnt2=0; fcnt=10; fadespeed=100;

function crossfade()
{
  { if (fcnt>0)
   { fcnt--; fcnt2++;
     document.getElementById("test1").className="opacity"+fcnt;
     document.getElementById("test2").className="opacity"+fcnt2;
     window.setTimeout("crossfade()",fadespeed);
   }
  }
}

function backfade()
{
  { if (fcnt2>0)
   { fcnt++; fcnt2--;
     document.getElementById("test1").className="opacity"+fcnt;
     document.getElementById("test2").className="opacity"+fcnt2;
     window.setTimeout("backfade()",fadespeed);
   }
  }
}


afcnt2=0; afcnt=10;

function fadeout()
{
  { if (afcnt>0)
   { afcnt--; 
     document.getElementById("test1").className="opacity"+afcnt;
     window.setTimeout("fadeout()",fadespeed);
   }
  }
}

function sich (was)
{
document.getElementById(was).style.visibility = "visible";
}

function unsich (was)
{
document.getElementById(was).style.visibility = "hidden";
}


