// **** Zufalls-Platzierungen für Grafiken ****

function BlinkingStar(OG)
{
  if (N4)
    return;

  var obj = browserGetObject(OG);
  var objstil = browserGetObjectStyle(OG);

  x = parseInt(Math.random() * (browserBreite() - obj.width));
  y = parseInt(Math.random() * (browserHoehe() - obj.height));

  objstil.left = x;
  objstil.top = y;
  objstil.visibility = "visible";
  obj.src = obj.src;
}


function InitStars()
{
  window.setTimeout("Init1()", 1000 * parseInt(2 + (Math.random() * 4)));
  window.setTimeout("Init2()", 1000 * parseInt(4 + (Math.random() * 10)));
  window.setTimeout("InitStars()", 1000 * parseInt(6 + (Math.random() * 10)));
}


function Init1()
{
  window.setTimeout("BlinkingStar('anistar1a')", 1000 * parseInt(2 + (Math.random() * 10)));
  window.setTimeout("BlinkingStar('anistar1b')", 1000 * parseInt(2 + (Math.random() * 10)));
  window.setTimeout("BlinkingStar('anistar1c')", 1000 * parseInt(2 + (Math.random() * 10)));
}


function Init2()
{
  window.setTimeout("BlinkingStar('anistar2')", 1000 * parseInt(8 + (Math.random() * 10)));
}


