// JavaScript Document
function popImage(PopupImage,PopupComment) {
 html = "<html>\n<head>\n<title>" + PopupComment + "</title>\n" + 
	"<scr"+"ipt language=\"javascri"+"pt\">\n" +
	"var i=0;\n"+
	"func"+"tion resize() {\n"+ 
	"if (navigator.appName == 'Netscape') i=40;\n"+
	"if (document.images[0]) window.resizeTo(document.images[0].width +10, document.images[0].height+70-i);\n"+
	"}\n"+
	"</scr"+"ipt>\n" +
 "<link href=\"../../include/estilos.css\" rel=\"stylesheet\" type=\"text/css\">\n</head>\n" + 
	"<style type=\"text/css\">\n" + 
	"body {\n" + 
	"margin:0px auto;\n" + 
	"}\n" + 
	"</style>"+
  "<body>\n" +
  "<a href='javascript:self.close();'><img src='" + PopupImage + "' border=0 alt='" + PopupComment + "' vspace='0' hspace='0' align=center" +
  " onload='resize();'></a>\n" +
  "<div class=texto align=center>"+ PopupComment + "</div>\n" +
  "</body>\n</html>\n";
 popup=window.open('','_blank','toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=0');
 popup.document.open();
 popup.document.write(html);
 popup.document.close()
 };
