/*
Fichier scripts global pour tous les sites SPF
Ce fichier est appele par toutes les pages de tous les sites
Mettre ici les scripts dont on a besoin a un endroit ou un autre
*/

/* fonction de test OneXt */
function testalert() {
	alert("bonjour");
}

/* fonction de test SPF */
function MM_showHideLayers() { //v9.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) 
  with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}