<!--
var state = 'none';

function showhide(layer_ref) { 

if (state == 'block') { 
state = 'none'; 
} 
else { 
state = 'block'; 
} 
if (document.all) { //IS IE 4 or 5 (or 6 beta) 
eval( "document.all." + layer_ref + ".style.display = state"); 
} 
if (document.layers) { //IS NETSCAPE 4 or below 
document.layers[layer_ref].display = state; 
} 
if (document.getElementById &&!document.all) { 
hza = document.getElementById(layer_ref); 
hza.style.display = state; 
} 
}



function hideall() {
 hidediv('profil_0');
 hidediv('profil_1');
 hidediv('profil_2');
 hidediv('profil_3');
 hidediv('profil_4');
 hidediv('profil_6');
 hidediv('profil_7');
 hidediv('profil_8');
 hidediv('profil_9');
 hidediv('profil_10');
 hidediv('profil_11');
 hidediv('profil_12');
 hidediv('profil_13');
 hidediv('profil_14');
 hidediv('profil_16');
}

function hideall2() {
 hidediv('sect_1');
 hidediv('sect2_1');
 hidediv('sect2_2');
 hidediv('sect2_3');
 hidediv('sect2_4');
 hidediv('sect2_5');
 hidediv('sect2_6');
 hidediv('sect2_7');
 hidediv('sect2_8');
 hidediv('sect2_9');
 hidediv('sect2_10');
 hidediv('sect2_11');
 hidediv('sect2_12');
 hidediv('sect2_13');
}

function hideall3() {
 hidediv('pub_2012');
 hidediv('pub_2011');
 hidediv('pub_2010');
 hidediv('pub_2009');
 hidediv('pub_2008');
 hidediv('pub_2007');
 hidediv('pub_2006');
 hidediv('pub_2005');
 hidediv('pub_2004');
 hidediv('pub_2003');
 hidediv('pub_2002');
 hidediv('pub_2001');
 hidediv('pub_2000');
 hidediv('pub_1999');
 hidediv('pub_1998');
 hidediv('pub_1997');
 hidediv('pub_1994');
 hidediv('pub_1990');
 hidediv('pub_1989');
 hidediv('pub_1988');
 hidediv('pub_1985');
 hidediv('pub_1984');
 hidediv('pub_1983');
 hidediv('pub_1982');
}






function hidediv(layer_ref) { 
state = 'none'; 
if (document.all) { //IS IE 4 or 5 (or 6 beta) 
eval( "document.all." + layer_ref + ".style.display = state"); 
} 
if (document.layers) { //IS NETSCAPE 4 or below 
document.layers[layer_ref].display = state; 
} 
if (document.getElementById &&!document.all) { 
hza = document.getElementById(layer_ref); 
hza.style.display = state; 
} 
} 


function showdiv(layer_ref) { 
state = 'block'; 
if (document.all) { //IS IE 4 or 5 (or 6 beta) 
eval( "document.all." + layer_ref + ".style.display = state"); 
} 
if (document.layers) { //IS NETSCAPE 4 or below 
document.layers[layer_ref].display = state; 
} 
if (document.getElementById &&!document.all) { 
hza = document.getElementById(layer_ref); 
hza.style.display = state; 
} 
}


function AjustHGT()
{
 var winH = 600;

if (parseInt(navigator.appVersion)>3) {
 if (navigator.appName=="Netscape") {
  winH = window.innerHeight;
 }
 else {
  winH = document.body.offsetHeight;
 }
}

 if (document.getElementById('container'))
 {
   if (screen.height >= 768) {navbar=100};
   if (screen.height >= 1024) {navbar=150};
   pageheader=45;
   pagefooter=30;
   blocfinpage=25;
   a=document.getElementById('container').offsetHeight + navbar + pageheader + pagefooter + blocfinpage;
   //alert(a);
   //alert(screen.height);
   if (a < screen.height) { document.getElementById('bloc_fin_page').style.height=screen.height - a+'px'; }
 }
}
//onresize=AjustHGT;


function PageQuery(q)
{
 if(q.length > 1) this.q = q.substring(1, q.length);
 else this.q = null;
 this.keyValuePairs = new Array();
 if(q)
 {
  for(var i=0; i < this.q.split("&").length; i++)
  {
   this.keyValuePairs[i] = this.q.split("&")[i];
  }
 }
 this.getKeyValuePairs = function() { return this.keyValuePairs; }
 this.getValue = function(s)
 {
  for(var j=0; j < this.keyValuePairs.length; j++)
  {
   if(this.keyValuePairs[j].split("=")[0] == s)
   return this.keyValuePairs[j].split("=")[1];
  }
  return false;
 }
 this.getParameters = function()
 {
  var a = new Array(this.getLength());
  for(var j=0; j < this.keyValuePairs.length; j++)
  {
   a[j] = this.keyValuePairs[j].split("=")[0];
  }
  return a;
 }
 this.getLength = function() { return this.keyValuePairs.length; } 
}

function queryString(key)
{
 var page = new PageQuery(window.location.search); 
 return unescape(page.getValue(key)); 
}


function returnTop()
{
 document.write('<tr><td colspan="3"><div style="text-align:right;"><a href="#top">Haut de page</a></div></td></tr>');
}
//-->

