function openImage(url, title)
{
// preload image so we have dimensions
myImage = new Image();
myImage.src = url;
myImage.onLoad = openWin(myImage, url, title)
}
function openWin(myImage, url, title)
{
winWidth = myImage.width;
winHeight = myImage.height;

// open window
myNewWin = window.open('', '', 'resizable=no,width='+winWidth+',height='+winHeight+',top=0,screenY=0');
myDoc = myNewWin.document;
myDoc.write("<html><head><title>FBK - " + title + "</title></head><body marginheight='0' marginwidth='0' topmargin='0' leftmargin='0'>");
myDoc.write("<p><img src='" + url + "'></p>");
myDoc.write("</body></html>");
}

