/**
 * @author wnsonsa
 */

 function affiche_masque(num){
 	//alert(num);
 	var id = document.getElementById('part_chain'+num);
	if(id){
		if(num==2){
			document.getElementById('part_chain1').style.display = "none";
			document.getElementById('part_chain2').style.display = "block";
		}
		else if(num==1){
			document.getElementById('part_chain1').style.display = "block";
			document.getElementById('part_chain2').style.display = "none";
		}
	}
 }

function imgSwap(oImg)
{
 //alert(document.images[oImg].src);
	
  var strOver = "-on-fr" // image to be used with mouse over
  var strOff = "-off-fr" // normal image

 var strImg = document.getElementById(oImg).src;
  if (strImg.indexOf(strOver) != -1)
  	document.images[oImg].src = strImg.replace(strOver,strOff)
  else
 	document.images[oImg].src = strImg.replace(strOff,strOver)
// alert(oImg.src);


}

