	var speed=5;
	var ie = document.all;
	var ns6 = document.getElementById;
	var iens6=ie||ns6;
	var ns4=document.layers;


function movedown(){
	if (ie&&parseInt(crossobj.style.top)>=(contentheight*(-1)+hauteur)) {
		crossobj.style.top=parseInt(crossobj.style.top)-speed;
	}
	else if (ns6&&parseInt(crossobj.style.top)>=(contentheight*(-1)+hauteur)) {
		crossobj.style.top=parseInt(crossobj.style.top)-speed;
		crossobj.style.height=parseInt(crossobj.style.height)+speed;
	}
	else if (ns4&&crossobj.top>=(contentheight*(-1)+hauteur))
		crossobj.top-=speed;
	movedownvar=setTimeout("movedown()",10);
	
	}
	
	
	function moveup(){
	if (ie&&parseInt(crossobj.style.top)<0) {
		crossobj.style.top=parseInt(crossobj.style.top)+speed;
	}
	else if (ns6&&parseInt(crossobj.style.top)<0) {
		crossobj.style.top=parseInt(crossobj.style.top)+speed;
		crossobj.style.height=parseInt(crossobj.style.height)-speed;
	}
	else if (ns4&&crossobj.top<0)
		crossobj.top+=speed;
	moveupvar=setTimeout("moveup()",10);
	
	}
	
	function init_asc(){
	if (ie) {
		contentheight=crossobj.offsetHeight;
		if (contentheight < hauteur) {
			document.all.ascenseursCell.innerHTML = '<img src="img/habillage/transp.gif" width="30" height="71">';
		}
	}
	else if (ns6) {
		contentheight=crossobj.offsetHeight;
		crossobj.style.height = hauteur;
		containerObj = document.getElementById("container");
		containerObj.style.position="relative";
		containerObj.style.visibility="visible";
		if (contentheight < hauteur) {
			cellule = document.getElementById("ascenseursCell");
			cellule.innerHTML = '<img src="img/habillage/transp.gif" width="30" height="71">';
		}
	}
	else if (ns4) document.nscontainer.document.nscontent.visibility="show";
	
	}
	
	function appel(imagesPrechar) {
		maxiFenetre();
		init_asc();
		if (imagesPrechar!="") MM_preloadImages(imagesPrechar);
	}

