<!--
function view(ifile,ix,iy,ititle) { 
var win;
var sWidth;
var sHeight;
var NS = (document.layers) ? 1 : 0;
win = window.open("","imageviewer","width="+ix+",height="+iy+",menubar=no,toolbar=no");
if (NS) {
sWidth = win.innerWidth;
sHeight = win.innerHeight;
} else {
sWidth = win.document.body.clientWidth;
sHeight = win.document.body.clientHeight;
}
if(sWidth!=ix || sHeight!=iy) {
win.close();
setTimeout("view('"+ifile+"',"+ix+","+iy+",'"+ititle+"')", 250);
return;
}
win.document.open();
win.document.write('<html>\n<head>\n<title>'+ititle+' '+ifile+'</title>');
win.document.write('</head>\n<body bgcolor="#000000" background="/images/main/Please-Wait.gif" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0">');
win.document.write('<div style="position:absolute;width:'+ix+'px;height:'+iy+'px;left:0px;top:0px">\n');
win.document.write('<a href="javascript:window.close()"><img border="0" src="/images/photos/'+ifile+'.jpg" \n');
win.document.write('width="'+ix+'" height="'+iy+'" alt="Close '+ititle+' '+ifile+'"></a>\n</div>\n</body>\n</html>');
win.document.close();
}
//  End -->