// Ouvre / Ferme les boîtes pour la faq

function showHide(p_iElementNumber)
{
	var oSpan = document.getElementById ('signe_' + p_iElementNumber);
	var oDivReponse = document.getElementById ('reponse_' + p_iElementNumber);

	if(oDivReponse.className == "reponse_off")
	{
		oDivReponse.className = "reponse_on";
		oSpan.className = "status_on";
	}
	else
	{
		oDivReponse.className = "reponse_off";
		oSpan.className = "status_off";	
	}
}

// LightBox
function openLightBox(url, width, height, caption)
{
   var objLink = document.createElement('a');
   
   objLink.setAttribute('href',url);
   objLink.setAttribute('rel','lightbox');
   objLink.setAttribute('title',caption);
   if(typeof width != 'undefined') {
      objLink.setAttribute('width',width);
   }
   if(typeof height != 'undefined') {
      objLink.setAttribute('height',height);
   }
   Lightbox.prototype.start(objLink);
}