// JavaScript Document
function FindObj(objid)
{
  var d=document;
  return d.getElementById?d.getElementById(objid):d.all?d.all[objid]:d.layers[objid];
}

function centre()
{
 var browseWidth, browseHeight;

  if(document.layers||(document.getElementById&&!document.all))
  { 
    browseWidth=window.outerWidth;
    browseHeight=window.outerHeight;
  }
  else if(document.all)
  {
    browseWidth=document.body.clientWidth;
    browseHeight=document.body.clientHeight;
  }
  var obj = FindObj("contenu");
  obj.style.left = ((browseWidth - obj.offsetWidth) / 2) + "px";
  
  
window.onresize = centre;
    
}
