window.addEvent('domready', function(){
	var Tips2 = new Tips($$('.Tips2'), {
		initialize:function(){
			this.fx = new Fx.Style(this.toolTip, 'opacity', {duration: 500, wait: false}).set(0);
		},
		onShow: function(toolTip) {
			this.fx.start(1);
		},
		onHide: function(toolTip) {
			this.fx.start(0);
		}
	});
	resolution();
});

function resolution() {
/*alert("Vous etes en résolution : "+screen.width+"*"+screen.height+"\nTaille d'écran disponible : "+screen.availWidth+"*"+screen.availHeight+"\nPalette de couleurs : "+screen.colorDepth+" bits");*/
if (screen.width == 800)
document.body.style.backgroundImage="url(images/voile800.jpg )";
else if (screen.width == 1024)
document.body.style.backgroundImage="url(images/voile1024.jpg )";
else if (screen.width == 1280)
document.body.style.backgroundImage="url(images/voile1280.jpg )";
else if (screen.width >= 1600)
document.body.style.backgroundImage="url(images/voile1600.jpg )";
}