// Fonction permettant de faire clignoter un conteneur
function Clignote(id)
{
	Effect.Pulsate(id);
	setInterval("new Effect.Pulsate('"+id+"');", 3000);
}


// Fonction permettant de faire défiler un conteneur (utilise Mooquee)
/*function Defile ( divid , speed )
{
	speed = typeof(speed) != 'undefined' ? speed : 40;

	window.addEvent('domready',
	function (){
		var id = $( divid );
		var obj = new mooquee ( id , { direction: 'left' , marWidth: id.style.width , speed: 40} );
		id.style.position = 'absolute';
		id.style.overflow = 'hidden';
		id.style.whiteSpace = 'nowrap';
	}); 

}*/



// Action au chargement
window.onload = function()
{

	 settings = {
		  tl: { radius: 20 },
		  tr: { radius: 20 },
		  bl: { radius: 20 },
		  br: { radius: 20 },
		  antiAlias: true,
		  autoPad: false
	 }

	var cornersObj = new curvyCorners(settings, "roundDiv");
	cornersObj.applyCornersToAll();

}