	function doRowMouseOver(oElement){
		oElement.className+=' hover';
	}
	function doRowMouseOut(oElement){
		oElement.className = oElement.className.replace(/\s?hover/,'');
	}
	// stoppe la propagation d'un evenement (qui a un ancetre ayant le meme event handler).
	function stopPropagation(
		e /* l'objet event */
	){
		if (!e) var e = window.event;
		e.cancelBubble = true;
		if (e.stopPropagation) e.stopPropagation();
	}
	function submitForm(oForm, id) {
		oForm.id.value = id;
		oForm.submit();
	}
	function submitAction(oForm, action, id, conf) {
		if (conf == null  || confirm(conf)) {
			oForm.bouton.value = action;
			oForm.id.value = id;
			oForm.submit();
		}
	}
	function afficheId(baliseId)
	  {
	  if (document.getElementById && document.getElementById(baliseId) != null)
		{
			
			//Effect.BlindDown(baliseId, { duration: 0.5 }); 
			//Effect.ScrollTo('bottom');
			document.getElementById(baliseId).style.visibility='visible';
			document.getElementById(baliseId).style.display='block';
			//scrolldown();
			//	Effect.ScrollTo('fin');

			
		}
	  }
	
	function cacheId(baliseId)
	  {
			//alert(baliseId);
	  if (document.getElementById && document.getElementById(baliseId) != null)
		{
			$(baliseId).hide();
			//Effect.BlindUp(baliseId);
		//document.getElementById(baliseId).style.visibility='hidden';
		//document.getElementById(baliseId).style.display='none';
	
		}
	  }
	 function swapId(baliseId)
	 {
		if (document.getElementById && document.getElementById(baliseId) != null)
		{
			if (document.getElementById(baliseId).style.display ==  'none' || 
				document.getElementById(baliseId).style.visibility == 'hidden')
				afficheId(baliseId);
				
			else 
				cacheId(baliseId);
		}
		
	 }
	 
	 function scrolldown() {
		 var h=0;
				 
		 if (window.innerHeight) h = window.innerHeight;
		 else if (document.body && document.body.offsetHeight) h = window.document.body.offsetHeight;
		 else if (document.documentElement && document.documentElement.clientHeight) h = document.documentElement.clientHeight;
				 
		this.scroll(1,h);
}  
