  var xx;
  var yy;
  function ajustarSWF(x,y){
    xx=x;
    yy=y;
    ajustarRSWF();
  }
  var ax=false;
  var ay=false;
  function ajustarRSWF(){
    if(navigator.appName=='Microsoft Internet Explorer'){
      xxx=document.body.offsetWidth;
      yyy=document.body.offsetHeight;
    }else{
      xxx=window.innerWidth;
      yyy=window.innerHeight;
    }
    if(!ax&&xxx<xx){
      document.ajustar_flash.width=xx;
      ax=true;
    }
    else if(ax&&xxx>=xx){
      document.ajustar_flash.width='100%';
      ax=false;
    }
    if(!ay&&yyy<yy){
      document.ajustar_flash.height=yy;
      ay=true;
    }
    else if(ay&&yyy>=yy){
      document.ajustar_flash.height='100%';
      ay=false;
    }
    perma_tempo = 0;
    clearTimeout(perma_tempo);
    perma_tempo = setTimeout("ajustarRSWF()", 100);
  }
