function showPopUpPicture(img, title) {
	var win, winLeftPos, winTopPos; 
	win = window.open('','DetalleImagen','toolbars=no, width=1, height=1');
	var theHTML;
	win.moveTo( (screen.width - 1)/2, (screen.height - 1)/2 );
	theHTML = '<html>' +
		'<title>' + (title != null ? title : '') + '</title>' +
		'<body rightmargin="0" leftmargin="0" topmargin="0" bottommargin="0" onload="enCargar();">' +
		'<form name="frmForm">' +
		'<table height="100%" width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td valign="middle" align="center" style="font-size:9px;font-weight:bold;font-family:verdana;">' + title + '<br>' +
		'<img src="' + img + '" name="theImgPopup" title="' + title + '">' +
		'</td></tr></table>' +
		'</form>' +
		'<script language=\"JavaScript\" type=\"text/javascript\">' +
		'function enCargar() {' +
		'window.moveTo( (screen.width - document.images[\'theImgPopup\'].width)/2, (screen.height - document.images[\'theImgPopup\'].height)/2 );' +
		'window.resizeTo(document.forms[0].theImgPopup.width+52,document.forms[0].theImgPopup.height+81);' + 
		'}' +
		'</script>' +
		'</body>' +
		'</html>';
	win.document.write(theHTML);
	/*
	winLeftPos = (screen.width - win.document.images['theImgPopup'].width)/2;
	winTopPos  = (screen.height - win.document.images['theImgPopup'].height)/2;
	win.moveTo(winLeftPos, winTopPos);
	*/
	win.resizeTo(win.document.images['theImgPopup'].width+52,win.document.images['theImgPopup'].height+81);
}