function onoff( cible, url,i )
{
	imageon= url + "btnblocanime.gif";
	imageoff=url + "btnbloc-off.jpg";
	cible = document.getElementById(cible);
	target = document.getElementById( 'detail'+i );	
	if (target.style.display == "block")
	{
		cible.style.background = "transparent url("+ imageon +") no-repeat scroll 0px 0px";
		target.style.display = "none";
	} 
	else 
	{
		cible.style.background = "transparent url("+ imageoff + ") no-repeat scroll 0px 0px";
		target.style.display = "block";
	}
}