var w,h,timer;
function agrandi(myw,myh){
	w=myw;
	h=myh;
	checkAgrandi('flash');
}
function checkAgrandi(where){
	if(timer) clearTimeout(timer);
	timer=setTimeout("checkAgrandiT()",500);
}
function checkAgrandiT(){
	var obj=document.getElementById('ye');
	var obj2=document.getElementById('bas_de_page');
	var heightBody;
	if(obj&&obj2){
		obj2.style.position="absolute";
		obj2.style.top="";
		obj2.style.bottom="0px";	
		heightBody=obj2.offsetTop;
		if(document.all){}		
		else{
		heightBody+=4;
		}
		obj2.style.position="";
		obj2.style.bottom="";
		if(w){}
		else{
		w=document.body.clientWidth;
		h=heightBody;
		}
//			alert(obj2.offsetTop+">"+document.body.clientHeight+"W"+obj2.clientHeight+" "+h+" "+heightBody);
		if((document.body.clientWidth>w)){//(obj.clientWidth>w)&&
			obj.style.width=document.body.clientWidth+"px";
		}
		else{
			obj.style.width=w+"px";
		}
		if((heightBody>h)){//(obj.clientHeight>h)&&
			obj.style.height=heightBody+"px";
		}
		else{
			obj.style.height=h+"px";
		}
		if(document.all){}		
		else if(!document.getElementById('MenuEider')){
		obj2.style.position="absolute";
		obj2.style.top=(obj.clientHeight-4)+"px";
		}
	}
}
function pousse(sens){
	var obj=document.getElementById('yem');
	if(sens==1){
		obj.zIndex=1000;
//		obj.style.backgroundColor="white";
		obj.style.width="100%";
//		(obj.clientWidth==0)?(obj.style.width=document.body.clientWidth+"px"):0;
		obj.style.height="100%";
//		(obj.clientHeight==200)?(obj.style.height=document.body.clientHeight+"px"):0;
	}
	else{
		obj.zIndex=1;
		obj.style.width="100%";
		obj.style.height="110px";
	}
/*	var obj=document.getElementById('blocdata');
	if(sens==1){
		obj.style.paddingLeft="200px";
		obj.style.width=(obj.clientWidth-400)+"px";
	}
	else{
		obj.style.paddingLeft="";
		obj.style.width="100%"
	}*/
}