		busy = 'no';
		actif = 'no';
		onWait = "no";
		current	 = '';
		function resizea(div,operand){
		
			
			if (actif != 'no'){
				actif = 'no';
				if(current == div){
					onWait = "no";
					resizea(div,'fermer')
				}else{
					 onWait = div;
					 resizea(current,'fermer');
				}
			}
			
			else{
				if (busy == 'no'){
					busy = 'yes'
				}else{
					return;
				}
				
				selectedDiv = document.getElementById('content_'+div); 
				currentHeight = selectedDiv.offsetHeight; 
				maxHeight = document.getElementById('content_s'+div).offsetHeight; 
				resize2a(operand);
				current = div;
			}
		}
		
		function resize2a(operand){
			if (operand == "ouvrir"){ 
				if (currentHeight <= maxHeight){
					if ((currentHeight - maxHeight) <= 20 ){
						selectedDiv.style.height=currentHeight+10+"px"
						currentHeight = selectedDiv.offsetHeight;
						window.setTimeout("resize2a('ouvrir')",1);
					}
				}
				else{
					actif = current ;
					busy = 'no'
					
					}
			}
			else{ 
				if (currentHeight > 10){
					selectedDiv.style.height=currentHeight-10+"px"
					currentHeight = selectedDiv.offsetHeight;
					window.setTimeout("resize2a('fermer')",1);
				}
				else{
					selectedDiv.style.height=1+"px"
					if (onWait != "no"){
						actif = 'no';
						busy = 'no'
						resizea(onWait, 'ouvrir')
					}
					busy = 'no'
				}
			}
		}

