/*
Copyright © 2004 - Richard Dell'Agnola
URL  : http://www.richard-dellagnola.com
MAIL : contact@richard-dellagnola.com
*/

var cestOk = 0;
var indexMSIE = navigator.appVersion.indexOf("MSIE");
if (indexMSIE > 0)
{
  var msieVersion = parseInt (navigator.appVersion.substring (indexMSIE + 5,  indexMSIE + 6));
  if (msieVersion >= 4)
  {
    if (navigator.userAgent.indexOf ("Opera") <= 0)
      cestOk = 1;
  }
}

//cestOk = 1;
if (cestOk == 1)
{
  var theFrm = window.frames["iframe"];
  theFrm.location = './Commun/scripts/php/accueil.php';
}
else
{
  document.writeln ("<center><p><h2>D&eacute;sol&eacute;&nbsp;!</h2></p>");
  document.writeln ("<p><h3>Ce site est visible avec Internet Explorer 4.0 ou sup&eacute;rieur.</h3></p></center>");
}


