cabecera = "<html><head><title>PID Eng&amp;Tech</title></head><body style=\"margin:0;\">"
pie = "</body></html>"

function imagen(img, w, h) {
	ventana = window.open('','imagen','height='+h+',width='+w+',scrollbars=no,status=no,resizable=no,directories=no,location=no,menubar=no,personalbar=no,toolbar=no')
	ventana.document.writeln(cabecera)
	ventana.document.writeln('<img src=\"images/'+img+'\" width=\"'+w+'\" height=\"'+h+'\" alt=\"\" border=\"0\">')
	ventana.document.writeln(pie)
	ventana.focus()
	return
}