<!--
function creaCook(indic,ival) {
   cookieString=indic + "=" + ival + ";path=/"
   document.cookie=cookieString
}
function crCook10(indic,ival) {
// Persistence du Cookie = 10 ans
   expireDate = new Date
   expireDate.setYear(expireDate.getYear()+10)
   cookieString=indic + "=" + ival + ";path=/;expires=" + expireDate.toGMTString()
   document.cookie=cookieString
}

function delCook(indic,ival) {
    document.cookie=indic + "=" + ival + ";path=/;expires=Monday, 31-Dec-90 12:00:00 GMT"
}
function exName(cv,ci) {
cs=cv.split(";")
fname="inconnu"
  // Recherche du Cookie ci
  for (i=0;i<cs.length;i++) {
  c1=cs[i].split("=")
    if ( c1[0].indexOf(ci) != -1 ) {
    fname = c1[1]
    } 
  }
return fname
}
// Fonction adapt, fo=font-size
// Fonction adapt, bg=background-color
function adapt(fo,bg) {
// Test requested Background color
// bg= "idx", bgColor=Orange
// bg= "p"  , bgColor=lemonchiffon
   if ( bg == "idx") {
   document.bgColor="#ED9E0A";
   } else {
   document.bgColor="#f8f7d9";
   }
// Test requested font-size
  if (fo) {
  document.write('<basefont size="' + fo + '">')
  } else {
// Largeur de l'écran du visiteur
Lecran=window.screen.width;
   if ( Lecran > 800 ) {
   document.write('<basefont size="3">')
   } else {
   document.write('<basefont size="2">')
   }
  }
}
//-->
