<!--
// 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 = "KEUMS DATE";

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++;
}

// POPUP ACCES
var screenWidth  = screen.availWidth;
var screenHeight = screen.availHeight;

function shwAccessPopup() {
  var popupWidth  = 540;
  var popupHeight = 600;
  var popupLeft = ( screenWidth  - popupWidth ) / 2;
  var popupTop  = ( screenHeight - popupHeight ) / 2;
  var popupOptions = "left=" + popupLeft + ", width=" + popupWidth + ", top=" + popupTop + ", height=" + popupHeight + ", status=1, scrollbars=1, resize=0";
  window.open(popupTarget, '', popupOptions);
}

// FLASH PAGE ACCUEIl
function showFlashMovie(imgPath) {
  var tag = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="500" height="321">'
          + '  <param name="movie" value="' + imgPath + '/accueil/06.swf">'
          + '  <param name="quality" value="high">'
          + '  <param name="menu" value="false">'
          + '  <embed src="' + imgPath + '/accueil/06.swf" width="500" height="321" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" menu="false"></embed>'
          + '</object>';
  document.write(tag);
}

// MAXIMISER LES PAGES DU SITE
function changeWindowSize()
{
  window.moveTo(0, 0);
  window.resizeTo(screenWidth, screenHeight);
}
//-->