function upm_pop_img(src, w, h, name, title) { var ww = parseInt(w); var wh = parseInt(h); if (ww < 100) { ww = 125; } if (wh < 100) { wh = 125; ww += 75; } var scroll = false; if (screen.width && (screen.width < ww)) { scroll = 'yes'; ww = screen.width; } if (screen.height && (screen.height < wh)) { scroll = 'yes'; wh = screen.height; } if (!title) { title = name; } var t = (screen.height) ? (screen.height - wh) / 2 : 0; var l = (screen.width) ? (screen.width - ww) / 2 : 0; var upm_pop_win = window.open('', 'upm_pop_win', 'top = '+t+', left = '+l+', width = '+ww+', height = '+wh+', toolbar = no, location = no, directories = no, status = no, menubar = no, scrollbars = '+scroll+', copyhistory = no, resizable = yes'); upm_pop_win.document.writeln(''); upm_pop_win.document.writeln(''); upm_pop_win.document.writeln(''); upm_pop_win.document.writeln(' '); upm_pop_win.document.writeln(' '); upm_pop_win.document.writeln(''); upm_pop_win.document.writeln(''); upm_pop_win.document.writeln(''); upm_pop_win.document.writeln(''); upm_pop_win.document.writeln('
'); upm_pop_win.document.writeln(''); upm_pop_win.document.writeln('
'); upm_pop_win.document.writeln(''); upm_pop_win.document.write(''); upm_pop_win.document.close(); upm_pop_win.focus(); return false; }