function popUpImage(what){ //alert (what) typ = "width=150,height=150,scrollbars=no"; dimensionApply = 'onLoad=" self.focus(); self.moveTo(20,20); resizeTo(document.images[\'show\'].width + 12, document.images[\'show\'].height + 31)";' ok = window.open("","view",typ); ok.document.open(); ok.document.write('