<!-- funciones ABRIR VENTANA -->
var winName="titulo" 
function Abrir_Ventana(theURL,w,h) { 

var windowprops ="top=0,left=0,toolbar=no,location=no,status=no, menubar=no,scrollbars=no, resizable=no,width=" + w + ",height=" + h;

window.open(theURL,winName,windowprops); 
} 

function Abrir_Ventana_Scroll(theURL,w,h) { 

var windowprops ="top=0,left=0,toolbar=no,location=no,status=no, menubar=no,scrollbars=yes, resizable=no,width=" + w + ",height=" + h;

window.open(theURL,winName,windowprops); 
} 


<!-- funciones de gestión MENU -->
function ocultamenu(elemento){
  var menu = document.getElementById(elemento);
  menu.style.display = "none";
}

function despliega(elemento){
  var menu = document.getElementById(elemento);
    if(menu.style.display == "none"){
      menu.style.display = "block";
    }
    else{
      menu.style.display = "none";
    }
}

function ocultatodos(elemento){
  var menu = document.getElementById("menu_concello");
  menu.style.display = "none";
  var menu = document.getElementById("menu_servizos");
  menu.style.display = "none";
  var menu = document.getElementById("menu_turismo");
  menu.style.display = "none";
  var menu = document.getElementById("menu_poboacion");
  menu.style.display = "none";
  var menu = document.getElementById("menu_xeografia");
  menu.style.display = "none";
  var menu = document.getElementById("menu_situacion");
  menu.style.display = "none";
}

function ver_titulo(elemento){
  var titulo = document.getElementById("tit1");
  titulo.style.display = "none";
  var titulo = document.getElementById("tit2");
  titulo.style.display = "none";
  var titulo = document.getElementById("tit3");
  titulo.style.display = "none";
  var titulo = document.getElementById("tit4");
  titulo.style.display = "none";
   var titulo = document.getElementById(elemento);
  titulo.style.display = "block";


}





/* quita borde punteado de los links ---------------------------------------------------------------------------*/
function noplink() {
	lnks=document.getElementsByTagName("a").length;
	for (i=0;i<lnks;i++)
	document.getElementsByTagName("a").item(i).onfocus=new Function(" (this.blur)?this.blur():NULL;")
}


// funcion para links del paginador
function red_link(t){
	//alert(t.className);
	for(var i=0; document.getElementById('plnk'+i);i++) document.getElementById('plnk'+i).style.color='#888';
	t.style.color='#f60';
	t.style.fontWeight='bold';
	
}

function red_link_sig(){
	//alert('a');
	for(var i=0; document.getElementById('plnk'+i);i++) alert(document.getElementById('plnk'+i).style.color);
	//t.style.color='#f60';
	//t.style.fontWeight='bold';
	
}
