// JavaScript Document
//animaciones
var ani = {
	var_nube1: {
		type:	'left',
		from:	5,
		to:		screen.availWidth,
		step:	1,
		delay:	50
	},
	var_nube2: {
		type:	'left',
		from:	0,
		to:		screen.availWidth,
		step:	1,
		delay:	80,
		onstart: function(){
			this.style.display = 'block';
		}
	},
	var_nube3: {
		type:	'left',
		from:	600,
		to:		screen.availWidth,
		step:	1,
		delay:	100,
		onstart: function(){
			this.style.display = 'block';
		}
	},
	var_nube4: {
		type:	'left',
		from:	600,
		to:		screen.availWidth,
		step:	1,
		delay:	140,
		onstart: function(){
			this.style.display = 'block';
		}
	},
	};

	function startAnimation(){
		$fx('#nube1').fxAdd(ani.var_nube1).fxRun(null,-1);
			$fx('#nube2').fxAdd(ani.var_nube2).fxRun(null,-1);
				$fx('#nube3').fxAdd(ani.var_nube3).fxRun(null,-1);
					$fx('#nube4').fxAdd(ani.var_nube4).fxRun(null,-1);
	}
