function testConfig()
{
 var hauteurEcran;
 var ecran=false;
 var navigateur=false;
 hauteurEcran=screen.height;

 if (hauteurEcran<768) ecran=true; // Test de la résolution < 1024/768
 if (navigator.appName.indexOf("Microsoft")==-1) navigateur=true;
 
 //if (navigateur==true)
 // window.open('navig.htm','ecran','width=150,height=130,top=200,left=300');
 if ((ecran==true) && (navigateur==false))
 window.open('config.htm','ecran','width=150,height=130,top=200,left=300');
}

// test du navigateur (à compléter si on veut tester les niveaux de version ou autre)
function Navig(){
  app=navigator.appName;
  ver=eval(navigator.appVersion.charAt(0));
  ns="Netscape";
  msie="Microsoft Internet Explorer";
  if ( app==ns) {return 2}
  else if (app==msie) {return 1}
  else {return 0}
}

function testNavig()
{
 if (navigator.appName.indexOf("Microsoft")==-1) { return true; } else {return false;}
}




