	var snow1="http://wl.profiwin-gmbh.de/effekte/snow/schnee1.gif";
    var snow2="http://wl.profiwin-gmbh.de/effekte/snow/schnee2.gif";

    var no = 30; // Anzahl der Flocken
    var doc_width = 760-3;
    var doc_height = 100-3;
    var xmod = 0.02; // horizontale Abweichung
	var ymod = 1; // Fallgeschwindigkeit

	var dx, xp, yp;
    var am, stx, sty;
    var i,top,left;
    dx = new Array();
    xp = new Array();
    yp = new Array();
    am = new Array();
    stx = new Array();
    sty = new Array();

    for (i = 0; i < no; ++ i){
        dx[i] = 0;
        am[i] = Math.random() * 20;
        xp[i] = Math.random() * (doc_width - 2 * am[i]) + am[i];
        yp[i] = Math.random() * doc_height;
        stx[i] = xmod + Math.random() / 10;
        sty[i] = ymod + Math.random() + i % 2;
		top=yp[i] - i * 3;
		left=xp[i];
		if(i % 2 == 0)
			{document.write('<div id="dot'+ i +'" style="position:relative; z-index:'+ i +'; visibility:visible; top:'+ top +'px; left:'+ left +'px; width:3px; height:3px;"><img src="'+snow1+'" border="0" width="3" height="3"></div>');}
		else
			{document.write('<div id="dot'+ i +'" style="position:relative; z-index:'+ i +'; visibility:visible; top:'+ top +'px; left:'+ left +'px; width:3px; height:3px;"><img src="'+snow2+'" border="0" width="3" height="3"></div>');}
    }
    function snow(){
        for (i = 0; i < no; ++ i){
            yp[i] += sty[i];
            if(yp[i] > doc_height){
		        xp[i] = Math.random() * (doc_width - 2 * am[i]) + am[i];
                yp[i] = 0;
                stx[i] = xmod + Math.random() / 10;
                sty[i] = ymod + Math.random() + i % 2;
            }
            dx[i] += stx[i];
            document.getElementById('dot' + i).style.top = yp[i]- i * 3;
            document.getElementById('dot' + i).style.left = xp[i] + am[i] * Math.sin(dx[i]);
        }
        setTimeout("snow()", 30);
    }
    snow();