function openWin(_width, _height, loc, alt, name)
{
server="";
width="width=" +_width;
height="height=" + _height;

_width_win=_width+6;
_height_win=_height+6;

width_win="width=" +_width_win;
height_win="height=" + _height_win;

x4 = (screen.width<2000)? screen.width/2 - (_width/2) : screen.width/4 - (_width/2);
y4 = screen.height/2 - (_height/2);
myWin= open("", name, width_win + ',' + height_win + ',status=no,toolbar=no,menubar=no,left=' + x4 + ',top=' + y4 + '');
myWin.document.open();
myWin.document.write("<HTML>\n<HEAD>\n<TITLE>");
myWin.document.write(alt);
myWin.document.write("</TITLE>\n</HEAD>\n");
myWin.document.write("<BODY bottommargin=0 topmargin=0 leftmargin=0 rightmargin=0 marginheight=0 marginwidth=0 bgcolor=#ffffff>\n");
myWin.document.write("<TABLE border=0>\n<TR>\n<TD>");
myWin.document.write("<a href='javascript:window.close();'><img src="+server+loc+" "+width+" "+height+" border=0 alt='"+alt+"'></a>");
myWin.document.write("</TD>\n</TR>\n</TABLE>\n</BODY>\n</HTML>\n");
myWin.document.close();
myWin.focus();
}
