var puffer;
 
function showimg(path, width, height, top) { 
o=document.getElementById("pic");
puffer=o.innerHTML;
left = Math.floor((900-width)/2);
o.innerHTML= puffer+'<span onClick=\"javascript:hideimg();\"><div style=\"position: absolute; -moz-opacity: .70; filter:alpha(opacity=70); opacity: 0.70; width: 900px; height: 500px; background-color: #000000; left: 0px; top: 0px; z-index: 15;\"></div><div style=\"position: absolute; background-image: url('+path+'); width: '+width+'px; height: '+height+'px; left: '+left+'px; top: '+top+'px; z-index: 160;\"></div></span>';
}

function hideimg() {
o=document.getElementById("pic");
o.innerHTML= puffer;
}
