// JavaScript Document
//-- Autor: Jesus RAEZ
//-- Octubre 2005
//-- >>Esta funcion va en el pie de la pagina y sirve para poner enlaces  a otras paginas
function enlacepie(pie) {
	document.write(" &copy; 2006-2010 España - Agesany S.L. ");
}
//-- >>Esta funcion sirve para bloquear al boton derecho
if (document.all) {
}
else if (document.getElementById) { 
    document.captureEvents(Event.MOUSEDOWN)
}
else if (document.layers) {
    document.captureEvents(Event.MOUSEDOWN)
}

document.onmousedown = bloquear
function bloquear(raton) {
    var mensaje = "© RAGAWEBS"    
    if (document.all) {
        if (navigator.appVersion.indexOf("MSIE") != -1 && event.button == 2)
		{
            alert(mensaje)
            return false
        }
    }
    else if (document.getElementById) { 
        if (raton.which == 3 ) {
            alert(mensaje)
            return false
        }
    }
    else if (document.layers) {
        if (raton.which == 3) {
            alert(mensaje)
            return false
        }
    }
}
//-->
