function ViewImage(ifile,ix,iy,ititle) { 
var win;
var sWidth;
var sHeight;
win = window.open("","imageviewer","width="+ix+",height="+iy+",menubar=no,left=100,top=60,toolbar=no,scrollbars=no");

win.document.open();
win.document.write("<html><head><title>"+ititle+"</title>");
win.document.write("</head><body topmargin=0 leftmargin=0>");
win.document.write("<table border=0 cellpadding=0 cellspacing=0><tr><td width=100% valign=top>");
win.document.write("<img border=0 src="+ifile+" height='425' width='625' ></td></tr></table>");
win.document.write("</body></html>");
win.document.close();
}


 