var wstat
var ns4up = (document.layers) ? 1 : 0
var ie4up = (document.all) ? 1 : 0
var xsize = screen.width
var ysize = screen.height
var xpos=0
var ypos=0

function img(file, width, height) {
width += 20;
height += 10;
xpos=(xsize-width)/2
ypos=(ysize-height)/2
wstat = window.open(file, "ee_img", "scrollbars=no, status=no, toolbar=no, location=no, directories=no, resizable=no, menubar=no, width=" + width + ", height=" + height + ", screenX=" + xpos + ", screenY=" + ypos + ", top=" + ypos + ", left=" + xpos)
}
