function popimage(photo) { // Uses the FitPic() function by Peter Todorov : http://articles.sitepoint.com/article/resize-popup-fit-images-size var browser = navigator.appName; var browserVersion = navigator.appVersion; if ((browser.indexOf ("Netscape") >= 0) || (browser.indexOf ("Explorer") >= 0)) { // This function opens a new window with the message text. // The window will disappear when it loses focus. msgWindow=window.open('','msgWindow','toolbar=no,location=no,directories=no, status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=480,height=320'); msgWindow.document.open(); msgWindow.focus(); msgWindow.document.write("