<!-- Begin
function ScreenShot(file,x,y,title) { 
var win;
var w;
var h;
var wx = x+20;
var wy = y+20;

if (x>screen.availwidth) 
{
x = screen.availWidth;
var wx = x - 60;
}

if (y>screen.availHeight) 
{
y = screen.availHeight;
var wy = y - 60;
}

var NS = (document.layers) ? 1 : 0;
win = window.open("","imageviewer","width="+wx+",height="+wy+",left=0,top=0,menubar=no,toolbar=no,titlebar=no,status=0,scrollbars=1,resizable=1");
win.document.open();
win.document.write("<html><head><title>"+title+"</title>");
win.document.write("</head><body>");
win.document.write('<div style="position:absolute;width:'+x+'px;height:'+y+'px;left:0px;top:0px">');
win.document.write("<img src="+file+"></div></body></html>");
win.focus();
win.document.close();
}
//  End -->

