var myWidth = 0;
var myHeight = 0;
var IE = false;

function Home(){
  location.href='?'+Idioma;
}

function Medidas(){
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    myWidth = window.innerWidth;
    myHeight = window.innerHeight;
  }else if( document.documentElement ){
    if ( document.documentElement.clientWidth || document.documentElement.clientHeight ){
      IE = true;
      //IE 6+ in 'standards compliant mode'
      myWidth = document.documentElement.clientWidth;
      myHeight = document.documentElement.clientHeight;
    }else if ( document.body.clientWidth || document.body.clientHeight ){
      //IE 4 compatible
      myWidth = document.body.clientWidth;
      myHeight = document.body.clientHeight;
    }
  }else if( document.body ){
    if( document.body.clientWidth || document.body.clientHeight ){
      //IE 4 compatible
       myWidth = document.body.clientWidth;
       myHeight = document.body.clientHeight;
     }
  }
}

function Reposicionar(){
  Medidas();
  var LBDF = document.getElementById("LabelBDF").style;
  LBDF.left = (myWidth - 128)+"px";
}

function Iniciar(){
  Medidas();
      if (window.captureEvents){
        window.captureEvents(Event.RESIZE);
        window.onresize = function(){
          Reposicionar();
        };
      }else{
        window.onresize = function(){
          clearTimeout(resizeDelay);
          resizeDelay = setTimeout("Reposicionar()", 200);
        }
      }
  Finalizado = true;
}
