function prende() {
    anclas=document.getElementsByTagName("a").length;
    for (i=0;i<anclas;i++)
    document.getElementsByTagName("a").item(i).onfocus=new Function("if(this.blur)this.blur()");
}


function popup_musica(){
  window.open('popup_musica.php', 'pop', 'width=200,height=40,top=5000,left=5000');
}


if(document.layers) {NAV=1;}
else if(document.all) {NAV=2;}
else {NAV=0;}
var OX,OY,OZ;
var C;
var PXX=0,PYY=1,PZZ=2;
function A()
{
OX=10;
OY=10;
OZ=1;
C=document.getElementById('c').style;
C.top=OX;
C.left=OY;
C.zIndex=OZ;
}
function B()
{
C.left=PS(PXX)+OX;
C.top=PS(PYY)+OY;
C.zIndex=PS(PZZ)+OZ;
return false;
}
function PS(p)
{
var v=0;
switch(p)
 {
 case PXX: {switch(NAV) {
 case 0: {v=window.pageXOffset;} break;
 case 1: {v=document.documentElement.scrollLeft;} break;
 case 2: {v=document.body.scrollLeft;} break;
 default: return 0;
 } } break;
 case PYY: {switch(NAV) {
 case 0: {v=window.pageYOffset;} break;
 case 1: {v=document.documentElement.scrollTop;} break;
 case 2: {v=document.body.scrollTop;} break;
 default: return 0;
 } } break;
 case PZZ: {return 1;} break;
 default: return 0;
 }
return v;
}


function plano_poner_pantalla_completa(){
  var body=document.getElementsByTagName("body");
  body[0].style.overflow="hidden";
  
  var plano=document.getElementById("flash_plano");
  plano.className = "plano_poner_pantalla_completa";
  plano.style.top = ""+PS(NAV)+"px";
}

function plano_quitar_pantalla_completa(){
  var body=document.getElementsByTagName("body");
  body[0].style.overflow="auto";
  
  var plano=document.getElementById("flash_plano");
  plano.className = "plano_quitar_pantalla_completa";
}

