
	function fade(step) {
		var imgs = document.getElementsByTagName("img");
        step = step || 0;
        imgs[1].style.opacity = step/100;
        imgs[1].style.filter = "alpha(opacity=" + step + ")"; // IE
        step = step + .5;
        if (step <= 100) {
           window.setTimeout(function () { fade(step); }, 1);
        }
    }
	function drueber(step) {
		var imgs = document.getElementsByTagName("img");
        step = step || 0;
        imgs[2].style.opacity = step/1000;
        imgs[2].style.filter = "alpha(opacity=" + step/10 + ")"; // IE
		imgs[2].width = 1000;
        step = step + 10;
        if (step <= 1000) {
           window.setTimeout(function () { drueber(step); }, 1);
        }
    }
	
	function wieder_weg(step) {
		var imgs = document.getElementsByTagName("img");
        step = step || 0;
		imgs[2].width = 1000 - step;
        imgs[2].style.opacity = 100 - step/1000;
        imgs[2].style.filter = "alpha(opacity=" + 10 - step/10 + ")"; // IE
        step = step + 20;
        if (step <= 1000) {
           window.setTimeout(function () { wieder_weg(step); }, 1);
        }
    }	

