function win(file,win,width,height) 
        {
        if (self.screen) {s_width = screen.width; s_height = screen.height;} else if (self.java) {var jkit = java.awt.Toolkit.getDefaultToolkit(); var scrsize = jkit.getScreenSize(); s_height = scrsize.height;} else {s_width = s_height = 'x' }
        center_h=(s_width - (width+20))/2;
        center_v=(s_height - (height+40))/2;
        new_win = window.open("","","width="+(width+20)+",height="+(height+40)+",top="+center_v+",left="+center_h+",titlebar=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=1");
        new_win.document.write("<HTML><TITLE>"+win+"</TITLE><BODY bgcolor=#ffffff style=\"margin:0px;font-size:11px; font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif\">");
        new_win.document.write("<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" height=\"100%\">");
        new_win.document.write("<tr><td height=\"100%\" valign=\"center\" align=\"center\"><b>"+win+"</b><br><img src=\""+file+"\" width=\""+width+"\" height=\""+height+"\" border=\"0\" onclick=\"window.close()\" alt=\"\"></td></tr>");
        new_win.document.write("</table>");
        new_win.document.write("</BODY></HTML>");
        new_win.document.close();       
        new_win.focus();
        }
