for (i=1;i<=Flockenanzahl;i++)
 {
  rand=Math.random();
  PosX=XOffset+ScreenWidth*rand;
  flakesize=Math.random()*3;
  if (flakesize<=1) {flakegif="bilder/snow5.gif";width=7;dummy++;}
  else if (flakesize<=2) {flakegif="bilder/snow5.gif";width=7;dummy++;}
  else if (flakesize<=3) {flakegif="bilder/snow5.gif";width=12;dummy=1;}
  if (ie) {RealPosX[i]=Math.round(PosX);RealPosY[i]=-20;}
  document.writeln("<STYLE TYPE=\"text/css\">\n<!--\n#img"+i+" {position: absolute; left: "+Math.round(PosX)+"px; top: -25px; width: "+width+"px; height: "+width+"px; visibility: show;}\n-->\n</STYLE>");
  document.writeln("<DIV ID=\"img"+i+"\"><IMG SRC="+flakegif+" WIDTH="+2*width+" HEIGHT="+2*width+" alt=\"flakegif\"></DIV>");
 }

