var ani = {
	link: {
		type:	'top',
		from:	60,
		to:		0,
		step:	-4,
		delay:	50
	},	
	link1: {
		type:	'top',
		from:	180,
		to:		120,
		step:	-4,
		delay:	50
	},	
	link2: {
		type:	'top',
		from:	490,
		to:		430,
		step:	-4,
		delay:	50
	},	
	visi: {
		type:	'opacity',
		from:	10,
		to:		100,
		step:	6,
		delay:	60,		
		onstart: function(){this.style.display = 'block'},
		onfinish: function(){this.style.filter = ''} 
	},	
	visislow: {
		type:	'opacity',
		from:	0,
		to:		100,
		step:	2,
		delay:	50,		
		onstart: function(){this.style.display = 'block'; this.style.visibility = 'visible'},
		onfinish: function(){this.style.filter = ''} 
	},	
	visiveryslow: {
		type:	'opacity',
		from:	0,
		to:		100,
		step:	1,
		delay:	40,		
		onstart: function(){this.style.display = 'block'; this.style.visibility = 'visible'},
		onfinish: function(){this.style.filter = ''} 
	}
};


function links()
{
	$fx('#link1').fxAdd(ani.link1).fxAdd(ani.visislow).fxRun();
	$fx('#link2').fxAdd(ani.link2).fxAdd(ani.visislow).fxHold(300).fxRun();
	$fx('#adapter').fxAdd(ani.visiveryslow).fxHold(800).fxRun();	
}

function startAnimation(){	
	//alert("ok");
	setTimeout('links()', 600);
}
