<!-- Hide script from old browsers
function PhotoViewer(activePhoto,windowTitle){
foto = new Image;
foto.src = activePhoto;

stringa = 
"width="+foto.width+",height="+foto.height+",menubar=no,toolbar=no,location=no,status=yes,scrollbars=yes,resizable=yes"
newwindow = 
window.open("","photoWindow",stringa);
newwindow.document.open();
newwindow.document.write("<html><head><title>"+windowTitle+"<\/title>");
newwindow.document.write("<\/head><body>");
newwindow.document.write('<div style="position:absolute;width:'+foto.width+'px;height:'+foto.height+'px;left:0px;top:0px">');
newwindow.document.write("<img src="+activePhoto+"><\/div><\/body><\/html>");
newwindow.document.close();
if (window.focus) {newwindow.focus()}
}
//End hiding script from old browsers -->

