no debería ser
Código Javascript
:
Ver originalfunction showImg(url){
var text = "<img src='img/"+url+"'>"
var img = new Image();
img.src = 'img/db/'+url;
document.getElementById("marco").innerHTML=text;
document.getElementById("marco").style.marginLeft="-"+parseInt(img.width)/2;
document.getElementById("marco").style.marginTop="-"+parseInt(img.height)/2;
document.getElementById("marco").style.display="block";
}