
// Llo600 = new Image;Llo600.src = "lplogo600.gif";
// Llo400 = new Image;Llo400.src = "lplogo400.gif";

var f,cx,cy;
var qui,cas,provi,Ltxtx;
var resul="";
var nx,ny,zx,zy;
qui=4;
cas=4;
provi=4;
if (navigator.userAgent.indexOf("Mozilla/5") != -1) qui=16; 
if (navigator.userAgent.indexOf("Opera") != -1)  qui=15;
if (navigator.userAgent.indexOf('Safari') != -1)  qui=20;
if (qui!=15 && qui!=20 && qui!=16)
 {
 if ((navigator.appName.indexOf("Netscape") !=-1) && (parseInt(navigator.appVersion)<4))  qui=11;
 if ((navigator.appName.indexOf("Netscape") !=-1) && (parseInt(navigator.appVersion)>3) ) qui=12;
 if ((navigator.appName.indexOf("MSIE") !=-1) && (parseInt(navigator.appVersion)<4))  qui=1;
 if ((navigator.userAgent.indexOf("MSIE 6") !=-1) )  qui=6;
 if ((navigator.userAgent.indexOf("MSIE 7") !=-1) )  qui=7;
 if(qui!=11 && qui!=1)
  {
  if ((navigator.appName.indexOf("MSIE") !=-1) && (parseInt(navigator.appVersion)>3)) {  qui=2; }
  for(var i in navigator){ resul += i + " " + navigator[i] + " ";}
  f=resul.indexOf("IE 5");
  if(f>0) qui=3;
  f=resul.indexOf("IE 5.5");
  if(f>0) qui=4;
  f=resul.indexOf("SP2");
  if(f>0 && qui==4) qui=5;
  f=resul.indexOf("MSIE 6");
  if(f>0) qui=6;
  f=resul.indexOf("MSIE 7");
  if(f>0) qui=7;
  f=resul.indexOf("Netscape6");
  if (f>0) qui=13;
  f=resul.indexOf("Netscape/7");
  if (f>0) qui=14;
  if (qui==13) f=parseFloat(navigator.appVersion);
  if(f>6 && qui==13) qui=14;
  }
 }
 if (qui !=15 && navigator.userAgent.indexOf("Firefox") != -1) qui=16; 
 if (qui==1)    provi=4; 
 if (qui==2)    provi=4; 
 if (qui==3)    provi=1; 
 if (qui==4)    provi=1; 
 if (qui==5)    provi=1; 
 if (qui==6)    provi=1; 
 if (qui==7)    provi=1; 
 if (qui==11)   provi=4; 
 if (qui==12)   provi=2; 
 if (qui==13)   provi=3; 
 if (qui==14)   provi=3; 
 if (qui==15)   provi=3; 
 if (qui==16)   provi=3;
 if (qui==20)   provi=3; 
 qui=provi;

function Place(which,LLeft,LTop)
{
if (qui==1){
 document.all(which).style.left=LLeft;
 document.all(which).style.top=LTop;
 }
if (qui==2){
 eval('document.layers["' + which +'"].left = LLeft');
 eval('document.layers["' + which +'"].top = LTop');
 }
if (qui==3){
 document.getElementById(which).style.left=LLeft;
 document.getElementById(which).style.top=LTop;
 }
}

function Taille(which,Wx,Wy)
{
 if (qui==1)
  {
  document.all(which).style.width=Wx;
  document.all(which).style.height=Wy;
  }
 if (qui==3)
  {
  document.getElementById(which).style.width=Wx;
  document.getElementById(which).style.height=Wy;
  }
}

