/*var SR = '';
function getS() {
	return SR;
}*/
function popImage(s) {
	msg = window.open('', 'pop','width=200,height=100,toolbar=0,location=0,status=0,menubar=0,resizable=1');
	msg.resizeTo(212,131);
	msg.document.open();
	msg.document.writeln('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title>Monny Cria&ccedil;&otilde;es</title> \n',
'<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> \n',
'<sc'+'ript language="JavaScript" type="text/JavaScript"> \n' ,
'<!-- \nvar imagem = new Image();	\nvar T, Exibe = 0, Cont = 0; \n' ,     
'function getImage() {	\nif (imagem==null) imagem = new Image(); \nimagem.src = "'+s+'";		\nT = setInterval("redimensiona()", 250);		window.focus();	} ',
'\nfunction redimensiona() {	  Cont++;		if (Cont > 40) {		  document.clear();    		  document.open();			document.write("<html><head><title>Aten&ccedil;&atilde;o!</title></head><body>"); \n',
'document.write("<table width=\\"100%\\" border=\\"0\\"><tr>"); \n',
'document.write("<td align=\\"center\\" valign=\\"middle\\"><p><strong>"); \n',
'document.write("Ocorreu um erro! n&atilde;o foi poss&iacute;vel carregar a imagem..."); \n',
'document.write("</strong></p></td></tr></table></body></html>");  		  document.close(); finaliza(); \n',
'} else if (imagem.complete) {  iw = imagem.width; ih = imagem.height; ',
'if (iw > 0 && ih > 0) {	document.img.src = imagem.src;	document.img.width = iw; ',
'document.img.height = ih;		window.resizeTo(iw+30, ih + 50);	  finaliza(); ',
'}		}   }	\n function finaliza() {    clearInterval(T);	document.getElementById("carregando").style.visibility = "hidden";		} \n',
'//-->\n</scr'+'ipt>\n  <style type="text/css"> <!-- \n  .janela {	background-color: #FFFFCC; ',
'font-family: Verdana, Arial, Helvetica, sans-serif; color: #663333;	font-size: 12px;	text-align: center; ',
'vertical-align: top;	position: static;	font-style: italic;	border: 2px outset #FFCC99;	visibility: visible; ',
'padding-top: 10px;	overflow: visible;	height: 65px;	width: 170px;	left: 15px;	top: 17px;} \n--> \n</style></head> \n',
'<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="getImage();"> \n',
'<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0"> \n',
'<tr>	<td align="center" valign="middle"><div id="carregando" style="position:absolute; z-index:1; overflow: visible;" class="janela"> ',
'<strong>Por favor, aguarde!<br>		 A imagem est&aacute; sendo carregada...</strong></div> \n',
'<img src="" alt="Carregando Imagem..." name="img" width="10" height="10" id="img"></td>  </tr> \n',
'</table></body></html>'); 
	msg.document.close();
	//SR = s;
}
