function display(myimage) 
{
	html = "<html><head><title>Imagen</title>" +
	  "</head><body leftmargin=0 " +
	  "marginwidth=0 topmargin=0 marginheight=0><center>" +
	  "<a href='javascript:window.close()'><img src='" + myimage + "' border=0 name=image " +
	  "onload='window.resizeTo(document.image.width,document.image.height);window.moveTo((screen.width - document.image.width) / 2,(screen.height - document.image.height) / 3);' /></a></center>" +
	  "</body></html>";

	 popup=window.open
	   ('','image','toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=1,width=1,height=1');
	 popup.document.open();
	 popup.document.write(html);
	 popup.focus();
	 popup.document.close();
}

function popup(mywidth,myheight)
{
	window.moveTo((screen.width - mywidth) / 2,(screen.height - myheight) / 3);
}
