var ani = {
	cloud1: {
		type:	'left',
		from:	5,
		to:		screen.availWidth,
		step:	1,
		delay:	50
	},
	cloud2: {
		type:	'left',
		from:	0,
		to:		screen.availWidth,
		step:	1,
		delay:	100
		/*onstart: function(){
			this.style.display = 'block';
		}*/
	},
	cloud3: {
		type:	'opacity',
		from:	0,
		to:		80,
		step:	1,
		delay:	10,
		//onstart: function(){this.style.display = 'block'},
		onfinish: function(){this.style.filter = ''}
	}
};

function startAnimation(){
	$fx('#cloud1').fxAdd(ani.cloud1).fxRun(null,-1);
	$fx('#cloud2').fxAdd(ani.cloud2).fxRun(null,-1);
	$fx('#cloud3').fxAdd(ani.cloud3).fxHold(500).fxRun();
}

if( !Prototype.Browser.IE || Prototype.Browser.IEVersion >= 7 ) { Event.observe(window, "load", startAnimation); }
