window.addEvent('domready', function() {
$('evnts').setStyles({left:0,top:0,width:180,height:200,"position":"absolute","z-index":15}); 
$('ascenseur').setStyles({left:175,height:200,width:15,top:0,"position":"absolute","z-index":10}); 
$('cadre').setStyles({"clip":"rect(0px,170px,200px,0px)",left:0,top:0,width:170,height:200,"position":"absolute","overflow":"hidden"});
$('info').setStyles({left:5,top:0,"position":"absolute"});
$('imgascenseur').setStyles({"border":0,width:15,height:200});
$('anoter').setStyles({"font-size":"10pt","line-height":"15px","font-weight":"normal","color":"#fff","font-family":"Verdana,Arial,Helvetica,sans-serif"});
defilpage();
});


//************* bloc événements anoter
function defilpage() { //idem defilpageh()  et dehilpagehL()
	v=1;
	x=$('info').getStyle('height').toInt();
	y=$('cadre').getStyle('height').toInt();
	h=$('info').getStyle('top').toInt();
	tpage=setTimeout('defilpage()',50);

	//alert(" info= "+x+" cadre= "+y+" décalage= "+h);;
	if ((parseInt(h)+parseInt(x))<= 0 ) {
		clearTimeout(tpage);
		$("info").setStyle('top', 0);
	}
	else $("info").setStyle('top', (parseInt(h)- parseInt(v)));
}

function defilpageh() {
	v=1;
	clearTimeout(tpage);
	x=$('info').getStyle('height').toInt();
	y=$('cadre').getStyle('height').toInt();
	h=$('info').getStyle('top').toInt();
	tpage=setTimeout('defilpageh()',50);
		  
	//alert(" x= "+x+" y= "+y+" h= "+h);;
	if ((parseInt(h)+parseInt(x))<= 0) {
	 clearTimeout(tpage);
	 $("info").setStyle('top', 0);
	}
	else $("info").setStyle('top', (parseInt(h)- parseInt(v)));
}

function defilpagehL() {
	v=1;
	clearTimeout(tpage);
	x=$('info').getStyle('height').toInt();
	y=$('cadre').getStyle('height').toInt();
	h=$('info').getStyle('top').toInt();
	tpage=setTimeout('defilpagehL()',50);
		  
	//alert(" x= "+x+" y= "+y+" h= "+h);;
	if ((parseInt(h)+parseInt(x))<= 0) {
	 clearTimeout(tpage);
	 $("info").setStyle('top', 0);
	}
	else $("info").setStyle('top', (parseInt(h)- parseInt(v)));
}

function defilpagehV() {
	v=5;
	clearTimeout(tpage);
	x=$('info').getStyle('height').toInt();
	y=$('cadre').getStyle('height').toInt();
	h=$('info').getStyle('top').toInt();
	tpage=setTimeout('defilpagehV()',10);
		      
	//alert(" x= "+x+" y= "+y+" h= "+h);;
	if ((parseInt(h)+parseInt(x))<= 0) {
	 clearTimeout(tpage);
	 $("info").setStyle('top', 0);;
	}
	else $("info").setStyle('top', (parseInt(h)- parseInt(v)));
}

function defilpageb() {  //idem defilpagebL()
	v=1;
	clearTimeout(tpage);
	x=$('info').getStyle('height').toInt();
	h=$('info').getStyle('top').toInt();
	tpage=setTimeout('defilpageb()',50);

	//alert(" x= "+x+" y= "+y+" h= "+h);
	if ((parseInt(h))>=0) clearTimeout(tpage);
	else $("info").setStyle('top', (parseInt(h)+ parseInt(v)));
}

function defilpagebL() {
	v=1;
	clearTimeout(tpage);
	x=$('info').getStyle('height').toInt();
	h=$('info').getStyle('top').toInt();
	tpage=setTimeout('defilpagebL()',50);

	//alert(" x= "+x+" y= "+y+" h= "+h);
	if ((parseInt(h))>=0) clearTimeout(tpage);
	else $("info").setStyle('top', (parseInt(h)+ parseInt(v)));
}

function defilpagebV() {
	v=5;
	clearTimeout(tpage);
	x=$('info').getStyle('height').toInt();
	h=$('info').getStyle('top').toInt();
	tpage=setTimeout('defilpagebV()',10);

	//alert(" x= "+x+" y= "+y+" h= "+h);
	if ((parseInt(h))>=0) clearTimeout(tpage);
	else $("info").setStyle('top', (parseInt(h)+ parseInt(v)));
}

