//alberto.js ----- Versión 14-06-01 -----


// Treu la marca del link en IE
//////////////////////////////////////////////////////////////////////////////////////
function ExplorerFix() {
for (a in document.links) document.links[a].onfocus = document.links[a].blur; }
if (document.all) {
document.onmousedown = ExplorerFix; 
}

//-----Función noclick----------

//document.oncontextmenu = function(){return false}
//if(document.layers) {
//	window.captureEvents(Event.MOUSEDOWN);
//	window.onmousedown = function(e){
//		if(e.target==document)return false;
//	}
//}
//else {
//	document.onmousedown = function(){return false}
//}

//------Funciones de mouse (over-out) -------

function mouseOver(banner) {
 self.status=banner;
 }
function mouseOut() {
 self.status="Web de Alberto T. Estévez";
 }

//-------Función de ventana nueva

function doTECNIC(url){
var altura=screen.height; 
var anchura=screen.width;
var x=360;
var y=330;
var posx=(screen.width/2)-350;
var posy=(screen.height/2)-260;
var messWin = window.open(url,'nova','resizable=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,width='+x+',height='+y+',screenX='+posx+',screenY='+posy+',left='+posx+',top='+posy+'');
}

function doOBRE(url){
var altura=screen.height; 
var anchura=screen.width;
var x=700;
var y=450;
var posx=(screen.width/2)-350;
var posy=(screen.height/2)-260;
var messWin = window.open(url,'nova','resizable=1,toolbar=1,location=0,directories=0,status=0,menubar=0,scrollbars=1,width='+x+',height='+y+',screenX='+posx+',screenY='+posy+',left='+posx+',top='+posy+'');
}

function hide(id,nest){
	if(document.layers){
		if(nest) document.layers[nest].document.layers[id].visibility="hidden"
		else document.layers[id].visibility="hidden"
	}else if(document.all) document.all[id].style.visibility="hidden"
}
function show(id,nest){
	if(document.layers){
		if(nest) document.layers[nest].document.layers[id].visibility="visible"
		else document.layers[id].visibility="visible"
	}else if(document.all) document.all[id].style.visibility="visible"
}


