//really not important (the first two should be small for Opera's sake) PositionX = 200; PositionY = 50; defaultWidth = 400; defaultHeight = 400; //kinda important var AutoClose = false; //don't touch function popImage(imageURL,imageTitle){ var imgWin = window.open('','_blank','scrollbars=no,resizable=1,width='+defaultWidth+',height='+defaultHeight+',left='+PositionX+',top='+PositionY); if( !imgWin ) { return true; } //popup blockers should not cause errors imgWin.document.write('