<!--

function getObject(objectId) {
      if(document.getElementById && document.getElementById(objectId)){return document.getElementById(objectId);} else
      if (document.all && document.all(objectId)){return document.all(objectId);} else
      if (document.layers && document.layers[objectId]){return document.layers[objectId];} else{return false;}
}

function pitja(id) {
   obj=getObject(id);
   document.location=obj.href;
}

function sobre(id) {
   obj=getObject(id);
   obj.className='boto2';
}

function fora(id) {
   obj=getObject(id);
   obj.className='boto';
}

//-cada boto menu = 50px
function tmenu() {
   window.onresize = null;
   obj=getObject('resize');tamany=0;
   if (window.innerHeight) tamany=window.innerHeight; else
   if (document.body.clientHeight) tamany=document.body.clientHeight;
   if ((tamany-800)>10) obj.height=tamany-800; else obj.height=10;
   setTimeout("window.onresize = tmenu", 10);
}

function avis() {
   finestra=window.open('../avis.html','avis','width=650,height=300');
   //finestra.
}

//window.onresize = tmenu;

-->