
	function PppLoad(){			
		this.NomePopUp = arguments[0]; //Nome da PopUp a ser criada
		this.Largura   = arguments[1]; //Largura da PopUp
		this.Altura    = arguments[2]; //Altura da PopUp
		this.Msg   	   = arguments[3]; //Mensagem do popup
		this.divContainerIni = ''+
			'<div id="'+this.NomePopUp+'" class="div_PopUp_Container" style="display:none;">'+String.fromCharCode(13)+
			'  <div id="'+this.NomePopUp+'_Fundo" class="div_PopUp_Fundo"></div>'+String.fromCharCode(13)+
			'  <div id="'+this.NomePopUp+'_Table" class="div_PopUp_BoxTexto">'+String.fromCharCode(13)+
			'	 <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">'+String.fromCharCode(13)+
			'	   <tr>'+String.fromCharCode(13)+
			'		 <td align="center" valign="middle">'+String.fromCharCode(13)+
			'		   <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 1px #00408A;">'+String.fromCharCode(13)+
			'			 <tr>'+String.fromCharCode(13)+
			'			   <td align="center" valign="middle" style="padding:15px;">';
		this.divContainerFim = ''+String.fromCharCode(13)+
			'			   </td>'+String.fromCharCode(13)+
			'			 </tr>'+String.fromCharCode(13)+
			'		   </table>'+String.fromCharCode(13)+
			'		 </td>'+String.fromCharCode(13)+
			'	   </tr>'+String.fromCharCode(13)+
			'	 </table>'+String.fromCharCode(13)+
			'  </div>'+String.fromCharCode(13)+
			'</div>';
		this.tablePpp  = ''+
			'<table border="0" align="center" cellpadding="0" cellspacing="0">' + String.fromCharCode(13) +
			'  <tr>' + String.fromCharCode(13) +
			'    <td width="28">' + String.fromCharCode(13) +
			'	   <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ' + String.fromCharCode(13) +
			'		 codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" ' + String.fromCharCode(13) +
			'		 width="15" height="15">' + String.fromCharCode(13) +
			'		 <param name="movie" value="../../_imgs/Carregando.swf">' + String.fromCharCode(13) +
			'		 <param name="quality" value="high">' + String.fromCharCode(13) +
			'		 <param name="menu" value="false">' + String.fromCharCode(13) +
			'		 <param name="wmode" value="transparent">' + String.fromCharCode(13) +
			'		 <embed src="../../_imgs/Carregando.swf" ' + String.fromCharCode(13) +
			'		   width="15" height="15" quality="high" ' + String.fromCharCode(13) +
			'		   pluginspage="http://www.macromedia.com/go/getflashplayer" ' + String.fromCharCode(13) +
			'		   type="application/x-shockwave-flash" ' + String.fromCharCode(13) +
			'		   menu="false" wmode="transparent">' + String.fromCharCode(13) +
			'		 </embed>' + String.fromCharCode(13) +
			'	   </object>' + String.fromCharCode(13) +
			'	 </td>' + String.fromCharCode(13) +
			'	 <td class="Txt_AzulEscuro" id="td_'+this.NomePopUp+'Msg">'+this.Msg+'</td>' + String.fromCharCode(13) +
			'   </tr>' + String.fromCharCode(13) +
			'</table>'+String.fromCharCode(13);			
		this.div = this.divContainerIni + this.tablePpp + this.divContainerFim;		
		document.write(this.div);
		document.getElementById(this.NomePopUp).style['width'] = this.Largura;
		document.getElementById(this.NomePopUp).style['height'] = this.Altura;
		var subDivs = getElement(this.NomePopUp).getElementsByTagName('div');
		for(i=0; i<subDivs.length; i++){
			subDivs[i].style["width"] = this.Largura;
			subDivs[i].style["height"] = this.Altura;
		}
	}PppLoad.prototype = {		
		getHTML : 	function(){
			return this.div;
		},
		Hide : 		function(){			
			hide(this.NomePopUp);
		},
		setAltura : function(altura){	
			this.Altura = altura;
			document.getElementById(this.NomePopUp).style['height'] = this.Altura;
			var subDivs = getElement(this.NomePopUp).getElementsByTagName('div');
			for(i=0; i<subDivs.length; i++){
				subDivs[i].style["height"] = this.Altura;
			}	
		},
		setMsg : 	function(msg){	
			this.Msg = msg;
			this.tablePpp = ''+
			'<table border="0" align="center" cellpadding="0" cellspacing="0">' + String.fromCharCode(13) +
			'  <tr>' + String.fromCharCode(13) +
			'    <td width="28">' + String.fromCharCode(13) +
			'	   <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ' + String.fromCharCode(13) +
			'		 codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" ' + String.fromCharCode(13) +
			'		 width="15" height="15">' + String.fromCharCode(13) +
			'		 <param name="movie" value="../_includes/Carregando.swf">' + String.fromCharCode(13) +
			'		 <param name="quality" value="high">' + String.fromCharCode(13) +
			'		 <param name="menu" value="false">' + String.fromCharCode(13) +
			'		 <param name="wmode" value="transparent">' + String.fromCharCode(13) +
			'		 <embed src="../_includes/Carregando.swf" ' + String.fromCharCode(13) +
			'		   width="15" height="15" quality="high" ' + String.fromCharCode(13) +
			'		   pluginspage="http://www.macromedia.com/go/getflashplayer" ' + String.fromCharCode(13) +
			'		   type="application/x-shockwave-flash" ' + String.fromCharCode(13) +
			'		   menu="false" wmode="transparent">' + String.fromCharCode(13) +
			'		 </embed>' + String.fromCharCode(13) +
			'	   </object>' + String.fromCharCode(13) +
			'	 </td>' + String.fromCharCode(13) +
			'	 <td class="Txt_AzulEscuro" id="td_'+this.NomePopUp+'Msg">'+this.Msg+'</td>' + String.fromCharCode(13) +
			'   </tr>' + String.fromCharCode(13) +
			'</table>'+String.fromCharCode(13);
			this.div = this.divContainerIni + this.tablePpp + this.divContainerFim;
			setHTML(msg, 'td_'+this.NomePopUp+'Msg');
		},
		setLargura :function(largura){	
			this.Largura = largura;
			document.getElementById(this.NomePopUp).style['width'] = this.Largura;
			var subDivs = getElement(this.NomePopUp).getElementsByTagName('div');
			for(i=0; i<subDivs.length; i++){
				subDivs[i].style["width"] = this.Largura;
			}	
		},
		Show : 		function(msg){			
			if(typeof msg == 'string')this.setMsg(msg);
			show(this.NomePopUp);
		}
	}
	
	
	function PppConfirm(){		
		this.NomePopUp 		 = arguments[0]; //Nome da PopUp a ser criada
		this.Largura   		 = arguments[1]; //Largura da PopUp
		this.Altura    		 = arguments[2]; //Altura da PopUp
		this.Msg   	   		 = arguments[3]; //Mensagem do popup
		this.AcaoBtnSim 	 = (arguments.length>4) ? "javascript:"+arguments[4]+";"+this.NomePopUp+".Hide();void(0);" : "javascript:"+this.NomePopUp+".Hide();void(0);";
		this.AcaoBtnNao 	 = (arguments.length>5) ? "javascript:"+arguments[5]+";"+this.NomePopUp+".Hide();void(0);" : "javascript:"+this.NomePopUp+".Hide();void(0);";
		this.divContainerIni = ''+
			'<div id="'+this.NomePopUp+'" class="div_PopUp_Container" style="display:none;">'+String.fromCharCode(13)+
			'  <div id="'+this.NomePopUp+'_Fundo" class="div_PopUp_Fundo"></div>'+String.fromCharCode(13)+
			'  <div id="'+this.NomePopUp+'_Table" class="div_PopUp_BoxTexto">'+String.fromCharCode(13)+
			'	 <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">'+String.fromCharCode(13)+
			'	   <tr>'+String.fromCharCode(13)+
			'		 <td align="center" valign="middle">'+String.fromCharCode(13)+
			'		   <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 1px #00408A;">'+String.fromCharCode(13)+
			'			 <tr>'+String.fromCharCode(13)+
			'			   <td align="center" valign="middle" style="padding:15px;">';
		this.divContainerFim = ''+String.fromCharCode(13)+
			'			   </td>'+String.fromCharCode(13)+
			'			 </tr>'+String.fromCharCode(13)+
			'		   </table>'+String.fromCharCode(13)+
			'		 </td>'+String.fromCharCode(13)+
			'	   </tr>'+String.fromCharCode(13)+
			'	 </table>'+String.fromCharCode(13)+
			'  </div>'+String.fromCharCode(13)+
			'</div>';
		this.tablePpp   	 = ''+
			'  <table border="0" cellspacing="0" cellpadding="0">'+String.fromCharCode(13)+
			'    <tr>'+String.fromCharCode(13)+
			'	   <td width="60" valign="middle"><img src="../_imgs/Icones/Interrogacao.jpg" width="52" height="52"></td>'+String.fromCharCode(13)+
			'	   <td>'+String.fromCharCode(13)+
			'	     <table border="0" cellspacing="0" cellpadding="0">'+String.fromCharCode(13)+
			'	       <tr>'+String.fromCharCode(13)+
			'		     <td id="td_'+this.NomePopUp+'Msg" class="Txt_AzulEscuro">'+this.Msg+'</td>'+String.fromCharCode(13)+
			'		   </tr>'+String.fromCharCode(13)+
			'	       <tr>'+String.fromCharCode(13)+
			'	         <td height="30" align="right" valign="bottom">'+String.fromCharCode(13)+
			'	           <a id="link_BtnNao_'+this.NomePopUp+'" href="'+this.AcaoBtnNao+'"><img src="../_imgs/Icones/Btn_Nao.jpg" width="60" height="18" border="0"></a> &nbsp; &nbsp; '+String.fromCharCode(13)+
			'	           <a id="link_BtnSim_'+this.NomePopUp+'" href="'+this.AcaoBtnSim+'"><img src="../_imgs/Icones/Btn_Sim.jpg" width="60" height="18" border="0"></a>'+String.fromCharCode(13)+
			'	         </td>'+String.fromCharCode(13)+
			'	       </tr>'+String.fromCharCode(13)+
			'	     </table>'+String.fromCharCode(13)+
			'	   </td>'+String.fromCharCode(13)+
			'    </tr>'+String.fromCharCode(13)+
			'  </table>'+String.fromCharCode(13);
		this.div 			 = this.divContainerIni + this.tablePpp + this.divContainerFim;			
		document.write(this.div);
		document.getElementById(this.NomePopUp).style['width'] = this.Largura;
		document.getElementById(this.NomePopUp).style['height'] = this.Altura;
		var subDivs = getElement(this.NomePopUp).getElementsByTagName('div');
		for(i=0; i<subDivs.length; i++){
			subDivs[i].style["width"] = this.Largura;
			subDivs[i].style["height"] = this.Altura;
		}
	}PppConfirm.prototype = {	
		getHTML : 	function(){			
			return this.div;
		},
		Hide : 		function(){			
			hide(this.NomePopUp);
		},
		setAltura : function(altura){	
			this.Altura = altura;
			document.getElementById(this.NomePopUp).style['height'] = this.Altura;
			var subDivs = getElement(this.NomePopUp).getElementsByTagName('div');
			for(i=0; i<subDivs.length; i++){
				subDivs[i].style["height"] = this.Altura;
			}	
		},
		setLargura:	function(largura){	
			this.Largura = largura;
			document.getElementById(this.NomePopUp).style['width'] = this.Largura;
			var subDivs = getElement(this.NomePopUp).getElementsByTagName('div');
			for(i=0; i<subDivs.length; i++){
				subDivs[i].style["width"] = this.Largura;
			}	
		},
		setBtnSim : function(funcao){		
			getElement('link_BtnSim_'+this.NomePopUp).href = 'javascript:'+funcao+';'+this.NomePopUp+'.Hide();void(0);';
		},
		setBtnNao : function(funcao){	
			getElement('link_BtnNao_'+this.NomePopUp).href = 'javascript:'+funcao+';'+this.NomePopUp+'.Hide();void(0);';
		},
		setMsg : 	function(msg){	
			this.Msg = msg;
			this.tablePpp = ''+
			'  <table border="0" cellspacing="0" cellpadding="0">'+String.fromCharCode(13)+
			'    <tr>'+String.fromCharCode(13)+
			'	   <td width="60" valign="middle"><img src="../_imgs/Icones/Interrogacao.jpg" width="52" height="52"></td>'+String.fromCharCode(13)+
			'	   <td>'+String.fromCharCode(13)+
			'	     <table border="0" cellspacing="0" cellpadding="0">'+String.fromCharCode(13)+
			'	       <tr>'+String.fromCharCode(13)+
			'		     <td id="td_'+this.NomePopUp+'Msg" class="Txt_AzulEscuro">'+this.Msg+'</td>'+String.fromCharCode(13)+
			'		   </tr>'+String.fromCharCode(13)+
			'	       <tr>'+String.fromCharCode(13)+
			'	         <td height="30" align="right" valign="bottom">'+String.fromCharCode(13)+
			'	           <a id="link_BtnNao_'+this.NomePopUp+'"><img src="../_imgs/Icones/Btn_Nao.jpg" width="60" height="18" border="0"></a> &nbsp; &nbsp; '+String.fromCharCode(13)+
			'	           <a id="link_BtnSim_'+this.NomePopUp+'"><img src="../_imgs/Icones/Btn_Sim.jpg" width="60" height="18" border="0"></a>'+String.fromCharCode(13)+
			'	         </td>'+String.fromCharCode(13)+
			'	       </tr>'+String.fromCharCode(13)+
			'	     </table>'+String.fromCharCode(13)+
			'	   </td>'+String.fromCharCode(13)+
			'    </tr>'+String.fromCharCode(13)+
			'  </table>'+String.fromCharCode(13);
			this.div = this.divContainerIni + this.tablePpp + this.divContainerFim;
			setHTML(msg, 'td_'+this.NomePopUp+'Msg');
		},
		Show : 		function(msg){
			if(typeof msg == 'string')this.setMsg(msg);
			show(this.NomePopUp);
		}
	}	
	
	
	function PppAlert(){		
		this.NomePopUp 		 = arguments[0]; //Nome da PopUp a ser criada
		this.Largura   		 = arguments[1]; //Largura da PopUp
		this.Altura    		 = arguments[2]; //Altura da PopUp
		this.Msg   	   		 = arguments[3]; //Mensagem do popup
		this.AcaoBtn  		 = (arguments.length>4) ? "javascript:"+arguments[4]+";"+this.NomePopUp+".Hide();void(0);" : "javascript:"+this.NomePopUp+".Hide();void(0);";
		this.divContainerIni = ''+
			'<div id="'+this.NomePopUp+'" class="div_PopUp_Container" style="display:none;">'+String.fromCharCode(13)+
			'  <div id="'+this.NomePopUp+'_Fundo" class="div_PopUp_Fundo"></div>'+String.fromCharCode(13)+
			'  <div id="'+this.NomePopUp+'_Table" class="div_PopUp_BoxTexto">'+String.fromCharCode(13)+
			'	 <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">'+String.fromCharCode(13)+
			'	   <tr>'+String.fromCharCode(13)+
			'		 <td align="center" valign="middle">'+String.fromCharCode(13)+
			'		   <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 1px #00408A;">'+String.fromCharCode(13)+
			'			 <tr>'+String.fromCharCode(13)+
			'			   <td align="center" valign="middle" style="padding:15px;">';
		this.divContainerFim = ''+String.fromCharCode(13)+
			'			   </td>'+String.fromCharCode(13)+
			'			 </tr>'+String.fromCharCode(13)+
			'		   </table>'+String.fromCharCode(13)+
			'		 </td>'+String.fromCharCode(13)+
			'	   </tr>'+String.fromCharCode(13)+
			'	 </table>'+String.fromCharCode(13)+
			'  </div>'+String.fromCharCode(13)+
			'</div>';
		this.tablePpp 		 = ''+
			'  <table border="0" cellspacing="0" cellpadding="0">'+String.fromCharCode(13)+
			'    <tr>'+String.fromCharCode(13)+
			'	   <td width="60" valign="middle"><img src="../_imgs/Icones/Atencao.gif" width="53" height="52"></td>'+String.fromCharCode(13)+
			'	   <td>'+String.fromCharCode(13)+
			'	     <table border="0" cellspacing="0" cellpadding="0">'+String.fromCharCode(13)+
			'	       <tr>'+String.fromCharCode(13)+
			'		     <td id="td_'+this.NomePopUp+'Msg" class="Txt_AzulEscuro" style="font-weight:bold;">'+this.Msg+'</td>'+String.fromCharCode(13)+
			'		   </tr>'+String.fromCharCode(13)+
			'	       <tr>'+String.fromCharCode(13)+
			'	         <td height="30" align="right" valign="bottom">'+String.fromCharCode(13)+
			'	           <a id="link_BtnOk_'+this.NomePopUp+'"><img src="../_imgs/Icones/Btn_Ok.jpg" width="48" height="18" border="0"></a>'+String.fromCharCode(13)+
			'	         </td>'+String.fromCharCode(13)+
			'	       </tr>'+String.fromCharCode(13)+
			'	     </table>'+String.fromCharCode(13)+
			'	   </td>'+String.fromCharCode(13)+
			'    </tr>'+String.fromCharCode(13)+
			'  </table>'+String.fromCharCode(13);
		this.div 			 = this.divContainerIni + this.tablePpp + this.divContainerFim;		
		document.write(this.div);
		document.getElementById(this.NomePopUp).style['width'] = this.Largura;
		document.getElementById(this.NomePopUp).style['height'] = this.Altura;
		var subDivs = getElement(this.NomePopUp).getElementsByTagName('div');
		for(i=0; i<subDivs.length; i++){
			subDivs[i].style["width"] = this.Largura;
			subDivs[i].style["height"] = this.Altura;
		}
		getElement('link_BtnOk_'+this.NomePopUp).href = this.AcaoBtn;
	}PppAlert.prototype = {		
		getHTML : 	function(){			
			return this.div;
		},
		Hide : 		function(){			
			hide(this.NomePopUp);
		},
		setAltura : function(altura){	
			this.Altura = altura;
			document.getElementById(this.NomePopUp).style['height'] = this.Altura;
			var subDivs = getElement(this.NomePopUp).getElementsByTagName('div');
			for(i=0; i<subDivs.length; i++){
				subDivs[i].style["height"] = this.Altura;
			}	
		},
		setLargura:	function(largura){	
			this.Largura = largura;
			document.getElementById(this.NomePopUp).style['width'] = this.Largura;
			var subDivs = getElement(this.NomePopUp).getElementsByTagName('div');
			for(i=0; i<subDivs.length; i++){
				subDivs[i].style["width"] = this.Largura;
			}	
		},
		setBtnOk : 	function(funcao){
			getElement('link_BtnOk_'+this.NomePopUp).href = 'javascript:'+funcao+';'+this.NomePopUp+'.Hide();void(0);';
		},
		setMsg : 	function(msg){			
			this.Msg = msg;
			this.tablePpp = ''+
			'  <table border="0" cellspacing="0" cellpadding="0">'+String.fromCharCode(13)+
			'    <tr>'+String.fromCharCode(13)+
			'	   <td width="60" valign="middle"><img src="../_imgs/Icones/Atencao.gif" width="53" height="52"></td>'+String.fromCharCode(13)+
			'	   <td>'+String.fromCharCode(13)+
			'	     <table border="0" cellspacing="0" cellpadding="0">'+String.fromCharCode(13)+
			'	       <tr>'+String.fromCharCode(13)+
			'		     <td id="td_'+this.NomePopUp+'Msg" class="Txt_AzulEscuro" style="font-weight:bold;">'+this.Msg+'</td>'+String.fromCharCode(13)+
			'		   </tr>'+String.fromCharCode(13)+
			'	       <tr>'+String.fromCharCode(13)+
			'	         <td height="30" align="right" valign="bottom">'+String.fromCharCode(13)+
			'	           <a id="link_BtnOk_'+this.NomePopUp+'"><img src="../_imgs/Icones/Btn_Ok.jpg" width="48" height="18" border="0"></a>'+String.fromCharCode(13)+
			'	         </td>'+String.fromCharCode(13)+
			'	       </tr>'+String.fromCharCode(13)+
			'	     </table>'+String.fromCharCode(13)+
			'	   </td>'+String.fromCharCode(13)+
			'    </tr>'+String.fromCharCode(13)+
			'  </table>'+String.fromCharCode(13);
			this.div = this.divContainerIni + this.tablePpp + this.divContainerFim;
			setHTML(msg, 'td_'+this.NomePopUp+'Msg');
		},
		Show : 		function(msg){						
			if(typeof msg == 'string')this.setMsg(msg);
			show(this.NomePopUp);
		}
	}
		
	
	function PppErro(){			
		this.NomePopUp 		 = arguments[0]; //Nome da PopUp a ser criada
		this.Largura   		 = arguments[1]; //Largura da PopUp
		this.Altura    		 = arguments[2]; //Altura da PopUp
		this.Msg   	   		 = arguments[3]; //Mensagem do popup
		this.AcaoBtn  		 = (arguments.length>4) ? "javascript:"+arguments[4]+";"+this.NomePopUp+".Hide();void(0);" : "javascript:"+this.NomePopUp+".Hide();void(0);";
		this.divContainerIni = ''+
			'<div id="'+this.NomePopUp+'" class="div_PopUp_Container" style="display:none;">'+String.fromCharCode(13)+
			'  <div id="'+this.NomePopUp+'_Fundo" class="div_PopUp_Fundo"></div>'+String.fromCharCode(13)+
			'  <div id="'+this.NomePopUp+'_Table" class="div_PopUp_BoxTexto">'+String.fromCharCode(13)+
			'	 <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">'+String.fromCharCode(13)+
			'	   <tr>'+String.fromCharCode(13)+
			'		 <td align="center" valign="middle">'+String.fromCharCode(13)+
			'		   <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 1px #00408A;">'+String.fromCharCode(13)+
			'			 <tr>'+String.fromCharCode(13)+
			'			   <td align="center" valign="middle" style="padding:15px;">';
		this.divContainerFim = ''+String.fromCharCode(13)+
			'			   </td>'+String.fromCharCode(13)+
			'			 </tr>'+String.fromCharCode(13)+
			'		   </table>'+String.fromCharCode(13)+
			'		 </td>'+String.fromCharCode(13)+
			'	   </tr>'+String.fromCharCode(13)+
			'	 </table>'+String.fromCharCode(13)+
			'  </div>'+String.fromCharCode(13)+
			'</div>';
		this.tablePpp 		 = ''+
			'  <table border="0" cellspacing="0" cellpadding="0">'+String.fromCharCode(13)+
			'    <tr>'+String.fromCharCode(13)+
			'	   <td width="60" valign="middle"><img src="../_imgs/Icones/Erro.jpg" width="53" height="52"></td>'+String.fromCharCode(13)+
			'	   <td>'+String.fromCharCode(13)+
			'	     <table border="0" cellspacing="0" cellpadding="0">'+String.fromCharCode(13)+
			'	       <tr>'+String.fromCharCode(13)+
			'		     <td id="td_'+this.NomePopUp+'Msg" class="Txt_VermelhoN" style="font-weight:bold;">'+this.Msg+'</td>'+String.fromCharCode(13)+
			'		   </tr>'+String.fromCharCode(13)+
			'	       <tr>'+String.fromCharCode(13)+
			'	         <td height="30" align="right" valign="bottom">'+String.fromCharCode(13)+
			'	           <a id="link_BtnOk_'+this.NomePopUp+'"><img src="../_imgs/Icones/Btn_Ok.jpg" width="48" height="18" border="0"></a>'+String.fromCharCode(13)+
			'	         </td>'+String.fromCharCode(13)+
			'	       </tr>'+String.fromCharCode(13)+
			'	     </table>'+String.fromCharCode(13)+
			'	   </td>'+String.fromCharCode(13)+
			'    </tr>'+String.fromCharCode(13)+
			'  </table>'+String.fromCharCode(13);
		this.div 			 = this.divContainerIni + this.tablePpp + this.divContainerFim;
		document.write(this.div);
		document.getElementById(this.NomePopUp).style['width'] = this.Largura;
		document.getElementById(this.NomePopUp).style['height'] = this.Altura;
		var subDivs = getElement(this.NomePopUp).getElementsByTagName('div');
		for(i=0; i<subDivs.length; i++){
			subDivs[i].style["width"] = this.Largura;
			subDivs[i].style["height"] = this.Altura;
		}
		getElement('link_BtnOk_'+this.NomePopUp).href = this.AcaoBtn;
	}PppErro.prototype = {		
		getHTML : 	function(){			
			return this.div;
		},
		Hide : 		function(){			
			hide(this.NomePopUp);
		},
		setAltura : function(altura){	
			this.Altura = altura;
			document.getElementById(this.NomePopUp).style['height'] = this.Altura;
			var subDivs = getElement(this.NomePopUp).getElementsByTagName('div');
			for(i=0; i<subDivs.length; i++){
				subDivs[i].style["height"] = this.Altura;
			}	
		},
		setBtnOk : 	function(funcao){
			getElement('link_BtnOk_'+this.NomePopUp).href = 'javascript:'+funcao+';'+this.NomePopUp+'.Hide();void(0);';
		},
		setLargura:	function(largura){	
			this.Largura = largura;
			document.getElementById(this.NomePopUp).style['width'] = this.Largura;
			var subDivs = getElement(this.NomePopUp).getElementsByTagName('div');
			for(i=0; i<subDivs.length; i++){
				subDivs[i].style["width"] = this.Largura;
			}	
		},
		setMsg : 	function(msg){			
			this.Msg = msg;
			this.tablePpp = ''+
			'  <table border="0" cellspacing="0" cellpadding="0">'+String.fromCharCode(13)+
			'    <tr>'+String.fromCharCode(13)+
			'	   <td width="60" valign="middle"><img src="../_imgs/Icones/Erro.jpg" width="53" height="52"></td>'+String.fromCharCode(13)+
			'	   <td>'+String.fromCharCode(13)+
			'	     <table border="0" cellspacing="0" cellpadding="0">'+String.fromCharCode(13)+
			'	       <tr>'+String.fromCharCode(13)+
			'		     <td id="td_'+this.NomePopUp+'Msg" class="Txt_VermelhoN" style="font-weight:bold;">'+this.Msg+'</td>'+String.fromCharCode(13)+
			'		   </tr>'+String.fromCharCode(13)+
			'	       <tr>'+String.fromCharCode(13)+
			'	         <td height="30" align="right" valign="bottom">'+String.fromCharCode(13)+
			'	           <a id="link_BtnOk_'+this.NomePopUp+'"><img src="../_imgs/Icones/Btn_Ok.jpg" width="48" height="18" border="0"></a>'+String.fromCharCode(13)+
			'	         </td>'+String.fromCharCode(13)+
			'	       </tr>'+String.fromCharCode(13)+
			'	     </table>'+String.fromCharCode(13)+
			'	   </td>'+String.fromCharCode(13)+
			'    </tr>'+String.fromCharCode(13)+
			'  </table>'+String.fromCharCode(13);
			this.div = this.divContainerIni + this.tablePpp + this.divContainerFim;
			setHTML(msg, 'td_'+this.NomePopUp+'Msg');
		},
		Show : 		function(msg){
			if(typeof msg == 'string')this.setMsg(msg);
			show(this.NomePopUp);
		}
	}