<!--
// FAVORIS
function addFavorites()
{
  var alertTxt = "Cette fonction n\'est proposée que par certains navigateurs.\n\n"
               + "        Tu peux aussi appuyer sur Control + D\n"
               + "                ou Pomme + D sur Macintosh\n"
               + "             pour ajouter ce site à tes favoris\n";
   
  if ( window.sidebar )
  {
    window.sidebar.addPanel(document.title, document.URL, "");
  }
  else if ( window.external )
  {
    window.external.AddFavorite(document.URL, document.title);
  }
  else
  {
    alert(alertTxt);
  }
}

// TEXTE DEFILANT
var statusStep = 1;
var statusText = document.title;

function showStatusText()
{
  if ( statusStep == 1 ) { window.status = '..... ' + statusText + ' .....'; }
  if ( statusStep == 2 ) { window.status = ':.... ' + statusText + ' ....:'; }
  if ( statusStep == 3 ) { window.status = '::... ' + statusText + ' ...::'; }
  if ( statusStep == 4 ) { window.status = ':::.. ' + statusText + ' ..:::'; }
  if ( statusStep == 5 ) { window.status = '.:::. ' + statusText + ' .:::.'; }
  if ( statusStep == 6 ) { window.status = '..::: ' + statusText + ' :::..'; }
  if ( statusStep == 7 ) { window.status = '...:: ' + statusText + ' ::...'; }
  if ( statusStep == 8 ) { window.status = '....: ' + statusText + ' :....'; statusStep = 0; }
  setTimeout("showStatusText()", 50);
  statusStep++;
}

// MAXIMISER LES PAGES DU SITE
var screenWidth  = screen.availWidth;
var screenHeight = screen.availHeight;

function changeWindowSize()
{
  window.moveTo(0, 0);
  window.resizeTo(screenWidth, screenHeight);
}

// POPUP 1
function changePopup1Size()
{
  var popupWidth  = 400;
  var popupHeight = 650;
  var popupLeft = ( screenWidth  - popupWidth  ) / 2;
  var popupTop  = ( screenHeight - popupHeight ) / 2;
  window.resizeTo(popupWidth, popupHeight);
  window.moveTo(popupLeft, popupTop);
}

// POPUP 2
function changePopup2Size()
{
  var popupWidth  = 400;
  var popupHeight = 450;
  var popupLeft = ( screenWidth  - popupWidth  ) / 2;
  var popupTop  = ( screenHeight - popupHeight ) / 2;
  window.resizeTo(popupWidth, popupHeight);
  window.moveTo(popupLeft, popupTop);
}
//-->

