
function setlang(lgSrc, lgDst)
{
  var lgT = new Array("","FR","GB","ES","DE");
  var reg= new RegExp("\/"+lgT[lgSrc]+"\/","gi");
top.location.href = location.href.replace(reg,'/'+lgT[lgDst]+'/');
}

function DimRoot()
{
  var wH, wW, wSize = new Array(0,0);
  getWindowSize(wSize);

  var root=document.getElementById('root');
  root.style.height=wSize[1]-+ht+-5+"px";
}

function getWindowSize(wSize) 
{
  if( typeof( window.innerWidth ) == 'number' ) 
  {
    wSize[0] = window.innerWidth;
    wSize[1] = window.innerHeight;
  } 
  else if( document.documentElement && document.documentElement.clientWidth) 
  {
    wSize[0] = document.documentElement.clientWidth;
    wSize[1] = document.documentElement.clientHeight;
  } 
  else if( document.body && document.body.clientWidth ) 
  {
    wSize[0] = document.body.clientWidth;
    wSize[1] = document.body.clientHeight;
  }
}

window.onresize=DimRoot;