// REMOVE THE FOCUS OF THE LINKS -------------------------------------function removeFocus (){	// Remove links Focus 	for(i=0;i<document.links.length;i++)	{		document.links[i].onfocus=function() {if(this.blur)this.blur()}; 	}	}// OPEN A POPUP -------------------------------------------------------if (is.mac) { var offsetMac = 0; } else { var offsetMac = 0; }function pop(goPage,nom,windowWidth,windowHeight) {	var x = 0;	var y = 0;	if (screen) x = (screen.availWidth - windowWidth) / 2;	if (screen) y = (screen.availHeight - windowHeight) / 2;	var popped = window.open(goPage,nom,'width='+windowWidth+',height='+(windowHeight+offsetMac)+',status=no,menubar=no,scrollbars=no,resizable=no,screenX='+x+',screenY='+y+',left='+x+',top='+y);	if ( is.ns || document.all) popped.focus();	if ( !popped.opener) { popped.opener = window; }}function popwindow(goPage,nom,windowWidth,windowHeight,smaller) {	var x = 0;	var y = 0;	var offset = 30;		if (screen) x = (screen.availWidth - windowWidth) / 2;	if (screen) y = (screen.availHeight - windowHeight) / 2;	if (smaller) offset = 100;	if (screen) windowHeight = (screen.availHeight - offset);	var popped = window.open(goPage,nom,'width='+windowWidth+',height='+(windowHeight+offsetMac)+',status=yes,menubar=no,scrollbars=yes,resizable=yes,screenX='+x+',screenY='+y+',left='+x+',top='+y);	if ( is.ns || document.all) popped.focus();}// Table with the name and IDfunction findName (id){	var names = new Object ();	names.domus = "Domus | Eduardo Pardo";	names.marpv = "marcelinopanyvino | Carlos Barreira";	names.casam = "Casa Marcelo | Marcelo Tejedor";	names.estac = "A Estacíon | Xoán & Miguel";	names.vieir = "Pepe Vieira | Xosé Cannas";	names.rmaud = "Reina Maud | Manuel Chaves";	names.rexid = "A Rexidora | Javier González";	names.pmend = "Pazo Mendoza | Javier González";	names.solla = "Casa Solla | Pepe Solla";	names.gabei = "A Gabeira | Miguel Angel Campos";	return (names[id]);}