<!--
var partIndex = 1;
var TimeID = 0;

function displaypart() {
  for (i=1; i<=8; i++) {
    if (partIndex != i) {
      document.getElementById('partenaire'+(i)).style.display = 'none';       
      document.getElementById('bo'+(i)).style.color = '#777777';       
    }
  }
  document.getElementById('partenaire'+(partIndex)).style.display = 'block';       
  document.getElementById('bo'+(partIndex)).style.color = '#000077';       
  if (TimeID != 0) {
    TimeID = window.setTimeout ("nextAutomatiquePart();",5000);
  }
}

function nextAutomatiquePart() {
  partIndex ++;
  if (partIndex >= 9) {
    partIndex = 1;
  }
  displaypart();
}

function nextPart() {
  window.clearTimeout(TimeID);
  TimeID = 0;
  partIndex ++;
  if (partIndex >= 9) {
    partIndex = 1;
  }
  displaypart();
}

function previousPart() {
  window.clearTimeout(TimeID);
  TimeID = 0;
  partIndex --;
  if (partIndex <= 0) {
    partIndex = 8;
  }
  displaypart();
}

TimeID = window.setTimeout ("nextAutomatiquePart();",5000);
-->
