//Script to blow up a photo
pW = null
function nW(pURL,pWidth,pHeight) {
if (pW && !pW.closed) {pW.close()}
if (pWidth > screen.width/2) {Width = screen.width/2} else {Width = pWidth}
if (pHeight > screen.height/2) {Height = screen.height/2} else {Height = pHeight}
if (Width/Height > pWidth/pHeight) {Width = pWidth/pHeight * Height}
if (Width/Height < pWidth/pHeight) {Height = pHeight/pWidth * Width}								  
pW = window.open(pURL, "pWin", "width="+Width+",height="+Height+",resizable=yes")
}