		function ver_ol()
			     {				
				
			
			
				send_ajax('verol.php', 'xxx', ver_ol_ok);			
					
					
					
					
				}

			
		
	function ver_ol_ok(retorno)
		
		{	
		
                          document.getElementById('user_ol').innerHTML = retorno;
			
			
		}
				
    	
			function salvar()
			{				
				if (document.contato_form.nome.value == '')
				{
					dialogo_generico('Faltou digitar o nome!');
					document.contato_form.nome.focus();					
				}
									
				else if (document.contato_form.mail.value == '')
				{
					dialogo_generico('Faltou digitar o e-mail!');
					document.contato_form.mail.focus();					
				}
				
					else if (document.contato_form.msg.value == '')
				{
					dialogo_generico('Faltou digitar a mensagem!');
					document.contato_form.msg.focus();					
				}				
								
				else
				{
					document.contato_form.submit();
				}
				

			}
			
		
	

		 
     function dialogo_generico(msg) {

					  $(function () {

							$("#dialog").dialog('open');	

							$("#dialog").dialog({

								

					            resizable: false,

					            height:140,

								bgiframe: true,

								modal:true,
								
								position: 'center',

								buttons: {

										Ok: function() {

											$(this).dialog('close');

											

										}

									}

							});

						});

							

						dialogo = document.getElementById('msg2');

						dialogo.innerHTML = "<strong>"+msg+"</strong>";

					}




