// ********************************************************************************
// * HideShowColumn
// ********************************************************************************
// * Date :	11/04/2007				Version : 1.0          Phr
// ********************************************************************************
// * Parametres en entrée : Nom générique de la rubrique, n° de la rubrique à
// *                        afficher, le nombre de rubriques total
// * Paramètres en sortie : aucun
// ********************************************************************************
// * Cache toutes les rubriques affichables par une page "Label" sauf celle qui doit
// * être affichée
// ********************************************************************************
function HideShowColumn (PName, PNumShow, PTot) {
  for (Cpt=1; Cpt<PTot+1; Cpt++) {
	  document.getElementById(PName+Cpt).style.display='none';
	}
	document.getElementById(PName+PNumShow).style.display='block';
}


// Google Analytics Test
var _gaq = _gaq || [];
var accountNo='UA-22706465-2';
var urlLocation=location.href;

if (urlLocation.indexOf("dev.") !=-1)
	accountNo='UA-22706465-3';
else if (urlLocation.indexOf("test.") !=-1)
	accountNo='UA-22706465-4';

_gaq.push(['_setAccount', accountNo]);
_gaq.push(['_trackPageview']);

(function() {
  var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();


