/*
Script posted and featured on JavaScript Kit
http://javascriptkit.com
*/

function display_image(imagem, comp0, larg0) 
{

comp=comp0+100;
larg=larg0+100;
PreView = window.open("", "Imagem", "left=318,top=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,copyhistory=0,width=" + comp + ",height=" + larg );
PreView.document.open();
PreView.document.write("<html><head>");
PreView.document.write("<title>Imagem</title>");
PreView.document.write("</head><body bgcolor=FFFFFF text=000000>");
PreView.document.write("<from><center><hr>");
PreView.document.write("<img hspace=0 vspace=0 " + "src='" + imagem + "'>");
PreView.document.write("<hr><form> <input type='button' value='Fechar' " + "onClick='window.close()'></form>");
PreView.document.write("</center>");
PreView.document.write("</body></html>");
PreView.document.close();

}
