

<!-- BLOCKS ALL JAVASCRIPT ERRORS

function blockError(){return true;}
window.onerror = blockError;


function right(e) { 
if (navigator.appName == 'Netscape' && 
(e.which == 3 || e.which == 2)) 
return false; 
else if (navigator.appName == 'Microsoft Internet Explorer' && 
(event.button == 2 || event.button == 3)) { 
alert("Click Derecho Deshabilitado."); 
return false; 
} 
return true; 
}
document.onmousedown=right; 
if (document.layers) window.captureEvents(Event.MOUSEDOWN); 
window.onmousedown=right; 

function loadImage(pic,pid,maxwidth,scalefactor,w,h){
var h
var w
var scalefactor
var maxwidth
var scalefactor
var theimg
theimg = new Image();
theimg.src = pic;
h = theimg.height;
w = theimg.width;
   if (w > maxwidth){
   	w = (theimg.width * scalefactor) / theimg.width;
   	h = (theimg.height * scalefactor) / theimg.width;
   	}
   document.writeln("<p align='center'><a href='/patrimonio/view_pieza.asp?id=" + pid + "'><img border='4' src='" + theimg.src + "' style='border-style: groove; border-color: #800000' width='" + "70" +"' height='" + "70" +"'></p>");
}




// -->
