////////////////////////////////////////////////////////////////////////////////////
/// FORMULARIO DE CONTATO DO SITE
//////////////////////////////////////////////////////////////////////////////////
function EnviaForm()
{
	if (ValidaForm_Contato())
	{
	    document.Form_Contato.action = 'mail.php';
	    document.Form_Contato.submit();
		alert("Formulario enviado com sucesso, breve responderemos seu contato.");
	}
}
function ValidaForm_Contato()
{
	
	if (document.Form_Contato.txt_nome.value == "")
	{
		alert("O campo Nome e obrigatorio para enviar!");
		return false;
	}
	
	if (Form_Contato.txt_email.value == ""){
                   alert("O campo E-mail deve ser preenchido!");
                   return false;
         }
         //validar email(verificao de endereco eletrônico)
         parte1 = Form_Contato.txt_email.value.indexOf("@");
         parte2 = Form_Contato.txt_email.value.indexOf(".");
         parte3 = Form_Contato.txt_email.value.length;
         if (!(parte1 >= 3 && parte2 >= 6 && parte3 >= 9)) {
                   alert ("O campo E-mail deve ser conter um endereco eletronico!");
                   return false;
         }
		 
	 if (Form_Contato.txt_telefone.value == ""){
                   alert ("O campo Telefone deve ser preenchido!");
                   return false;
         }
         //validar telefone(verificacao se contem apenas numeros)
         if (isNaN(Form_Contato.txt_telefone.value)){
                  alert ("O campo Telefone deve conter apenas numeros!");
                   return false;
         }
		if (Form_Contato.txt_cidade.value == ""){
                   alert("O campo Cidade deve ser preenchido!");
                   return false;
         }
		 if (Form_Contato.txt_estado.value == ""){
                   alert("O campo Estado deve ser preenchido!");
                   return false;
         }
		 
		  
		
		if (Form_Contato.txt_assunto.value == ""){
                   alert("O campo Assunto deve ser preenchido!");
                   return false;
         }
		 
		 if (Form_Contato.txt_mensagem.value == ""){
                   alert("O campo Mensagem deve ser preenchido!");
                   return false;
         }
	
	return true;
}

////////////////////////////////////////////////////////////////////////////////////
///INDICACAO DO CURSO 
//////////////////////////////////////////////////////////////////////////////////
function EnviaForm_Int()
{
	if (ValidaForm_Ind())
	{
	    document.Form_Ind.action = 'indica.php';
	    document.Form_Ind.submit();
		alert("Formulario enviado com sucesso, breve responderemos seu contato.");
	}
}
function ValidaForm_Ind()
{
	
	if (document.Form_Ind.txt_nome.value == "")
	{
		alert("O campo Nome e obrigatorio para enviar!");
		return false;
	}
	
	if (Form_Ind.txt_email.value == ""){
                   alert("O campo E-mail deve ser preenchido!");
                   return false;
         }
         //validar email(verificao de endereco eletrônico)
         parte1 = Form_Ind.txt_email.value.indexOf("@");
         parte2 = Form_Ind.txt_email.value.indexOf(".");
         parte3 = Form_Ind.txt_email.value.length;
         if (!(parte1 >= 3 && parte2 >= 6 && parte3 >= 9)) {
                   alert ("O campo E-mail deve ser conter um endereco eletronico!");
                   return false;
         }
		 
	 if (Form_Ind.txt_telefone.value == ""){
                   alert ("O campo Telefone deve ser preenchido!");
                   return false;
         }
         //validar telefone(verificacao se contem apenas numeros)
         if (isNaN(Form_Ind.txt_telefone.value)){
                  alert ("O campo Telefone deve conter apenas numeros!");
                   return false;
         }
		 
		if (Form_Ind.txt_curso.value == ""){
                   alert("O campo Curso deve ser preenchido!");
                   return false;
         }
		 
		 if (Form_Ind.txt_mensagem.value == ""){
                   alert("O campo Mensagem deve ser preenchido!");
                   return false;
         }
	
	return true;
}

////////////////////////////////////////////////////////////////////////////////////
///CADASTRO PROMOCAO DO CURSO FMB
//////////////////////////////////////////////////////////////////////////////////
function EnviaForm_Cad()
{
	if (Valida_Pro())
	{
	    document.Form_Promo.action = 'cadastro_promocao.php';
	    document.Form_Promo.submit();
		alert("Estamos verificando se ja existe seu cadastro em nosso banco de dados!");
	}
}
function Valida_Pro()
{
	
	if (document.Form_Promo.txt_nome.value == "")
	{
		alert("O campo Nome e obrigatorio para enviar!");
		return false;
	}
	
	if (Form_Promo.txt_email.value == ""){
                   alert("O campo E-mail deve ser preenchido!");
                   return false;
         }
         //validar email(verificao de endereco eletrônico)
         parte1 = Form_Promo.txt_email.value.indexOf("@");
         parte2 = Form_Promo.txt_email.value.indexOf(".");
         parte3 = Form_Promo.txt_email.value.length;
         if (!(parte1 >= 3 && parte2 >= 6 && parte3 >= 9)) {
                   alert ("O campo E-mail deve ser conter um endereco eletronico!");
                   return false;
         }
		 
	 if (Form_Promo.txt_telefone.value == ""){
                   alert ("O campo Telefone deve ser preenchido!");
                   return false;
         }
         //validar telefone(verificacao se contem apenas numeros)
         if (isNaN(Form_Promo.txt_telefone.value)){
                  alert ("O campo Telefone deve conter apenas numeros!");
                   return false;
         }
		 
		if (Form_Promo.txt_endereco.value == ""){
                   alert("O campo Endereco deve ser preenchido!");
                   return false;
         }
		 
		 if (Form_Promo.txt_estado.value == ""){
                   alert("O campo Estado deve ser preenchido!");
                   return false;
         }
		 
		 if (Form_Promo.txt_cidade.value == ""){
                   alert("O campo Cidade deve ser preenchido!");
                   return false;
         }
		 
		 if (Form_Promo.txt_mensagem.value == ""){
                   alert("O campo Mensagem deve ser preenchido!");
                   return false;
         }
	
	return true;
}

////////////////////////////////////////////////////////////////////////////////////
///FORMULARIO DE CADASTRO NEWSLETTER
//////////////////////////////////////////////////////////////////////////////////

function CadastroNews()
{
	if (ValidaForm_News())
	{
	    document.FormNews.action = 'news.php';
	    document.FormNews.submit();
		alert("Aguarde estamos verficando se ja existe seu cadastro!");
	}
}
function ValidaForm_News()
{
	
	if (document.FormNews.txt_nome_news.value == "")
	{
		alert("O campo Nome e obrigatorio para cadastrar a Newsletter!");
		return false;
	}
	 if (document.FormNews.txt_email_news.value == ""){
                   alert("O campo E-mail deve ser preenchido!");
                   return false;
         }
         //validar email(verificao de endereco eletrônico)
         parte1 = document.FormNews.txt_email_news.value.indexOf("@");
         parte2 = document.FormNews.txt_email_news.value.indexOf(".");
         parte3 = document.FormNews.txt_email_news.value.length;
         if (!(parte1 >= 3 && parte2 >= 6 && parte3 >= 9)) {
                   alert ("O campo E-mail deve ser conter um endereco eletronico!");
                   return false;
         }
		 
	return true;
}

////////////////////////////////////////////////////////////////////////////////////
///AUTENTICACAO DO PAINEL DE ADMINISTRACAO ADMIN
//////////////////////////////////////////////////////////////////////////////////

function Entrar()
{
	if (ValidaForm_Entra())
	{
	    document.autenticacao.submit();		  
	}
}
function ValidaForm_Entra()
{
	
	if (document.autenticacao.txt_login.value == "")
	{
		alert("O campo usuário e obrigatorio para entrar no painel!");
		return false;
	}
	
	 if (autenticacao.txt_senhaa.value == ""){
			 alert("O campo senha deve ser preenchido!");
			 return false;
         }
         
	return true;
}

////////////////////////////////////////////////////////////////////////////////////
/// FORMULARIO DE ATUALIZACAO DOS CURSOS
//////////////////////////////////////////////////////////////////////////////////
function Form_Editar_Cursos(id)
{
	if (ValidaForm_Cursos())
	{
	    document.Form_Editar_Curso.action = 'update_cursos.php?id='+id+'';
	    document.Form_Editar_Curso.submit();
	}
}
function ValidaForm_Cursos()
{
	
		 if (document.Form_Editar_Curso.txt_titulo.value == "")
		 {
			alert("O campo titulo deve ser preenchido!");
			return false;
		 }
		 
		 if (Form_Editar_Curso.txt_texto.value == "")
		 {
			 alert("O campo texto deve ser preenchido!");
			 return false;
         }
		 
		 if (Form_Editar_Curso.txt_categoria.value == "")
		 {
			 alert("O campo categoria deve ser preenchido!");
			 return false;
         }
	
	return true;
}

////////////////////////////////////////////////////////////////////////////////////
/// FORMULARIO inserir DOS CURSOS
//////////////////////////////////////////////////////////////////////////////////
function Form_Inserir_Cursos()
{
	if (ValidaForm_Cursos_Inserir())
	{
	    document.Form_Inserir_Curso.action = 'insert_cursos.php';
	    document.Form_Inserir_Curso.submit();
	}
}
function ValidaForm_Cursos_Inserir()
{
	
		 if (document.Form_Inserir_Curso.txt_titulo.value == "")
		 {
			alert("O campo titulo deve ser preenchido!");
			return false;
		 }
		 
		 if (Form_Inserir_Curso.txt_texto.value == "")
		 {
			 alert("O campo texto deve ser preenchido!");
			 return false;
         }
		 
		 if (Form_Inserir_Curso.txt_categoria.value == "")
		 {
			 alert("O campo categoria deve ser preenchido!");
			 return false;
         }
	
	return true;
}


////////////////////////////////////////////////////////////////////////////////////
/// FORMULARIO inserir DOS CATEGORIAS
//////////////////////////////////////////////////////////////////////////////////
function Form_Inserir_Categorias()
{
	if (ValidaForm_Categorias_Inserir())
	{
	    document.Form_Inserir_Categoria.action = 'insert_categoria.php';
	    document.Form_Inserir_Categoria.submit();
	}
}
function ValidaForm_Categorias_Inserir()
{
	
		 if (document.Form_Inserir_Categoria.txt_titulo.value == "")
		 {
			alert("O campo titulo deve ser preenchido!");
			return false;
		 }
	
	return true;
}


////////////////////////////////////////////////////////////////////////////////////
/// FORMULARIO DE ATUALIZACAO DOS CATEGORIAS
//////////////////////////////////////////////////////////////////////////////////
function Form_Editar_Categorias(id)
{
	if (ValidaForm_Categorias())
	{
	    document.Form_Editar_Categoria.action = 'update_categoria.php?id='+id+'';
	    document.Form_Editar_Categoria.submit();
	}
}

function ValidaForm_Categorias()
{
	
		 if (document.Form_Editar_Categoria.txt_titulo.value == "")
		 {
			alert("O campo titulo deve ser preenchido!");
			return false;
		 }
	
	return true;
}

////////////////////////////////////////////////////////////////////////////////////
/// FORMULARIO INSERIR ARTIGOS
//////////////////////////////////////////////////////////////////////////////////
function Inserir_Artigos()
{
	if (ValidaForm_Artigos_Inserir())
	{
	    document.Form_Inserir_Artigo.action = 'insert_artigo.php';
	    document.Form_Inserir_Artigo.submit();
	}
}
function ValidaForm_Artigos_Inserir()
{
	
		 if (document.Form_Inserir_Artigo.txt_titulo.value == "")
		 {
			alert("O campo titulo deve ser preenchido!");
			return false;
		 }
		 
		  if (document.Form_Inserir_Artigo.txt_texto.value == "")
		 {
			alert("O campo texto deve ser preenchido!");
			return false;
		 }
	
	return true;
}

////////////////////////////////////////////////////////////////////////////////////
/// FORMULARIO DE ATUALIZACAO DOS ARTIGOS
//////////////////////////////////////////////////////////////////////////////////
function Editar_artigo(id)
{
	if (ValidaForm_Artigos())
	{
	    document.Form_Editar_Artigo.action = 'update_artigo.php?id='+id+'';
	    document.Form_Editar_Artigo.submit();
	}
}

function ValidaForm_Artigos()
{
	
		 if (document.Form_Editar_Artigo.txt_titulo.value == "")
		 {
			alert("O campo titulo deve ser preenchido!");
			return false;
		 }
		 
		  if (document.Form_Editar_Artigo.txt_texto.value == "")
		 {
			alert("O campo texto deve ser preenchido!");
			return false;
		 }
	
	return true;
}

////////////////////////////////////////////////////////////////////////////////////
/// FORMULARIO INSERIR NOTICIAS
//////////////////////////////////////////////////////////////////////////////////
function Inserir_Noticias()
{
	if (ValidaForm_Noticias_Inserir())
	{
	    document.Form_Inserir_Noticia.action = 'insert_noticia.php';
	    document.Form_Inserir_Noticia.submit();
	}
}
function ValidaForm_Noticias_Inserir()
{
	
		 if (document.Form_Inserir_Noticia.txt_titulo.value == "")
		 {
			alert("O campo titulo deve ser preenchido!");
			return false;
		 }
		 
		  if (document.Form_Inserir_Noticia.txt_texto.value == "")
		 {
			alert("O campo texto deve ser preenchido!");
			return false;
		 }
	
	return true;
}

///////////////////////////////////////////////////////////////////////////////////
/// FORMULARIO DE ATUALIZACAO DAS NOTICIAS
//////////////////////////////////////////////////////////////////////////////////
function Editar_noticia(id)
{
	if (ValidaForm_Noticias())
	{
	    document.Form_Editar_Noticia.action = 'update_noticia.php?id='+id+'';
	    document.Form_Editar_Noticia.submit();
	}
}

function ValidaForm_Noticias()
{
	
		 if (document.Form_Editar_Noticia.txt_titulo.value == "")
		 {
			alert("O campo titulo deve ser preenchido!");
			return false;
		 }
		 
		  if (document.Form_Editar_Noticia.txt_texto.value == "")
		 {
			alert("O campo texto deve ser preenchido!");
			return false;
		 }
	
	return true;
}



///////////////////////////////////////////////////////////////////////////////////
/// FORMULARIO DE ATUALIZACAO DOS DEPOIMENTOS
//////////////////////////////////////////////////////////////////////////////////
function Editar_depoimento(id)
{
	if (ValidaForm_Depoimentos())
	{
	    document.Form_Editar_Depoimento.action = 'update_depoimento.php?id='+id+'';
	    document.Form_Editar_Depoimento.submit();
	}
}

function ValidaForm_Depoimentos()
{
	
		 if (document.Form_Editar_Depoimento.txt_titulo.value == "")
		 {
			alert("O campo titulo deve ser preenchido!");
			return false;
		 }
		 
		  if (document.Form_Editar_Depoimento.txt_texto.value == "")
		 {
			alert("O campo texto deve ser preenchido!");
			return false;
		 }
	
	return true;
}

////////////////////////////////////////////////////////////////////////////////////
/// FORMULARIO INSERIR DEPOIMENTOS
//////////////////////////////////////////////////////////////////////////////////
function Inserir_Depoimentos()
{
	if (ValidaForm_Depoimentos_Inserir())
	{
	    document.Form_Inserir_Depoimento.action = 'insert_depoimento.php';
	    document.Form_Inserir_Depoimento.submit();
	}
}
function ValidaForm_Depoimentos_Inserir()
{
	
		 if (document.Form_Inserir_Depoimento.txt_titulo.value == "")
		 {
			alert("O campo titulo deve ser preenchido!");
			return false;
		 }
		 
		  if (document.Form_Inserir_Depoimento.txt_texto.value == "")
		 {
			alert("O campo texto deve ser preenchido!");
			return false;
		 }
	
	return true;
}


////////////////////////////////////////////////////////////////////////////////////
/// FORMULARIO INSERIR INFORMATIVO
//////////////////////////////////////////////////////////////////////////////////
function Inserir_Informativos()
{
	if (ValidaForm_Informativos_Inserir())
	{
	    document.Form_Inserir_Informativo.action = 'insert_informativo.php';
	    document.Form_Inserir_Informativo.submit();
	}
}
function ValidaForm_Informativos_Inserir()
{
	
		 if (document.Form_Inserir_Informativo.txt_titulo.value == "")
		 {
			alert("O campo titulo deve ser preenchido!");
			return false;
		 }
		 
		  if (document.Form_Inserir_Informativo.txt_texto.value == "")
		 {
			alert("O campo texto deve ser preenchido!");
			return false;
		 }
	
	return true;
}


///////////////////////////////////////////////////////////////////////////////////
/// FORMULARIO DE ATUALIZACAO DOS INFORMATIVOS
//////////////////////////////////////////////////////////////////////////////////
function Editar_informativo(id)
{
	if (ValidaForm_Informativos())
	{
	    document.Form_Editar_Informativo.action = 'update_informativo.php?id='+id+'';
	    document.Form_Editar_Informativo.submit();
	}
}

function ValidaForm_Informativos()
{
	
		 if (document.Form_Editar_Informativo.txt_titulo.value == "")
		 {
			alert("O campo titulo deve ser preenchido!");
			return false;
		 }
		 
		  if (document.Form_Editar_Informativo.txt_texto.value == "")
		 {
			alert("O campo texto deve ser preenchido!");
			return false;
		 }
	
	return true;
}


////////////////////////////////////////////////////////////////////////////////////
/// FORMULARIO INSERIR PROMOCOES
//////////////////////////////////////////////////////////////////////////////////
function Inserir_Promocoes()
{
	if (ValidaForm_Promocoes_Inserir())
	{
	    document.Form_Inserir_Promocoes.action = 'insert_promocoes.php';
	    document.Form_Inserir_Promocoes.submit();
	}
}
function ValidaForm_Promocoes_Inserir()
{
	
		 if (document.Form_Inserir_Promocoes.txt_titulo.value == "")
		 {
			alert("O campo titulo deve ser preenchido!");
			return false;
		 }
		 
		  if (document.Form_Inserir_Promocoes.txt_texto.value == "")
		 {
			alert("O campo texto deve ser preenchido!");
			return false;
		 }
	
	return true;
}

///////////////////////////////////////////////////////////////////////////////////
/// FORMULARIO DE ATUALIZACAO DAS PROMOCOES
//////////////////////////////////////////////////////////////////////////////////
function Editar_promocoes(id)
{
	if (ValidaForm_promocoes())
	{
	    document.Form_Editar_Promocoes.action = 'update_promocoes.php?id='+id+'';
	    document.Form_Editar_Promocoes.submit();
	}
}

function ValidaForm_promocoes()
{
	
		 if (document.Form_Editar_Promocoes.txt_titulo.value == "")
		 {
			alert("O campo titulo deve ser preenchido!");
			return false;
		 }
		 
		  if (document.Form_Editar_Promocoes.txt_texto.value == "")
		 {
			alert("O campo texto deve ser preenchido!");
			return false;
		 }
	
	return true;
}


///////////////////////////////////////////////////////////////////////////////////
/// FORMULARIO DE ATUALIZACAO DOS ALUNOS
//////////////////////////////////////////////////////////////////////////////////
function editar_aluno(id)
{
	if (ValidaForm_Editar_Alunos())
	{
	    document.Editar_Alunos.action = 'update_aluno02.php?id='+id+'';
	    document.Editar_Alunos.submit();
	}
}

function ValidaForm_Editar_Alunos()
{
	
	 if (document.Editar_Alunos.txt_nome.value == ""){
		alert("O campo Nome deve ser preenchido!");
		return false;
		}
	 
	  if (document.Editar_Alunos.txt_email.value == ""){
		alert("O campo E-mail deve ser preenchido!");
		return false;
		}
	 
	  if (document.Editar_Alunos.txt_senha.value == ""){
		alert("O campo Senha deve ser preenchido!");
		return false;
		}
	 
	  if (document.Editar_Alunos.txt_senhaa.value == ""){
		alert("O campo Repetir senha deve ser preenchido!");
		return false;
		}
	 
	 if (document.Editar_Alunos.txt_senha.value != document.Editar_Alunos.txt_senhaa.value){
		 alert("Os campos SENHA e REPETIR SENHA devem ser iguais!");
		 return false;
		 }
	
	return true;
}


///////////////////////////////////////////////////////////////////////////////////
/// FORMULARIO DE ATUALIZACAO DOS ALUNOS 02
//////////////////////////////////////////////////////////////////////////////////
function editar_aluno02(id)
{
	if (ValidaForm_Editar_Alunos02())
	{
	    document.Editar_Alunos02.action = 'update_aluno.php?id='+id+'';
	    document.Editar_Alunos02.submit();
	}
}

function ValidaForm_Editar_Alunos02()
{
	
	 if (document.Editar_Alunos02.txt_nome.value == ""){
		alert("O campo Nome deve ser preenchido!");
		return false;
		}
	 
	  if (document.Editar_Alunos02.txt_email.value == ""){
		alert("O campo E-mail deve ser preenchido!");
		return false;
		}
	 
	  if (document.Editar_Alunos02.txt_senha.value == ""){
		alert("O campo Senha deve ser preenchido!");
		return false;
		}
	 
	  if (document.Editar_Alunos02.txt_senhaa.value == ""){
		alert("O campo Repetir senha deve ser preenchido!");
		return false;
		}
	 
	 if (document.Editar_Alunos02.txt_senha.value != document.Editar_Alunos02.txt_senhaa.value){
		 alert("Os campos SENHA e REPETIR SENHA devem ser iguais!");
		 return false;
		 }
	
	return true;
}


///////////////////////////////////////////////////////////////////////////////////
/// FORMULARIO INSERIR AGENDA
//////////////////////////////////////////////////////////////////////////////////
function Inserir_Agenda()
{
	if (ValidaForm_Inserir_Agenda())
	{
	    document.Form_Inserir_Agenda.action = 'insert_agenda.php';
	    document.Form_Inserir_Agenda.submit();
	}
}

function ValidaForm_Inserir_Agenda()
{
	
		 if (document.Form_Inserir_Agenda.txt_titulo.value == "")
		 {
			alert("O campo titulo deve ser preenchido!");
			return false;
		 }
		 
		  if (document.Form_Inserir_Agenda.txt_texto.value == "")
		 {
			alert("O campo texto deve ser preenchido!");
			return false;
		 }
	
	return true;
}


///////////////////////////////////////////////////////////////////////////////////
/// FORMULARIO DE ATUALIZACAO DO ADMIN
//////////////////////////////////////////////////////////////////////////////////
function editar_admin()
{
	if (ValidaForm_Editar_Admin())
	{
	    document.Editar_Admin.action = 'update_admin.php?id=1';
	    document.Editar_Admin.submit();
	}
}

function ValidaForm_Editar_Admin()
{
	
	 if (document.Editar_Admin.txt_nome.value == ""){
		alert("O campo Nome deve ser preenchido!");
		return false;
		}
	 
	  if (document.Editar_Admin.txt_email.value == ""){
		alert("O campo E-mail deve ser preenchido!");
		return false;
		}
	 
	  if (document.Editar_Admin.txt_senha.value == ""){
		alert("O campo Senha deve ser preenchido!");
		return false;
		}
	 
	  if (document.Editar_Admin.txt_senhaa.value == ""){
		alert("O campo Repetir senha deve ser preenchido!");
		return false;
		}
	 
	 if (document.Editar_Admin.txt_senha.value != document.Editar_Admin.txt_senhaa.value){
		 alert("Os campos SENHA e REPETIR SENHA devem ser iguais!");
		 return false;
		 }
	
	return true;
}

////////////////////////////////////////////////////////////////////////////////////
/// FORMULARIO INSERIR CONTEUDO
//////////////////////////////////////////////////////////////////////////////////
function Inserir_Conteudos()
{
	if (ValidaForm_Conteudos_Inserir())
	{
	    document.Form_Inserir_Conteudo.action = 'insert_conteudo.php';
	    document.Form_Inserir_Conteudo.submit();
	}
}
function ValidaForm_Conteudos_Inserir()
{
	
		 if (document.Form_Inserir_Conteudo.txt_titulo.value == "")
		 {
			alert("O campo titulo deve ser preenchido!");
			return false;
		 }
		 
		  if (document.Form_Inserir_Conteudo.txt_texto.value == "")
		 {
			alert("O campo texto deve ser preenchido!");
			return false;
		 }
	
	return true;
}

////////////////////////////////////////////////////////////////////////////////////
/// FORMULARIO DE ATUALIZACAO DOS CONTEUDOS
//////////////////////////////////////////////////////////////////////////////////
function Editar_conteudo(id)
{
	if (ValidaForm_Conteudos())
	{
	    document.Form_Editar_Conteudo.action = 'update_conteudo.php?id='+id+'';
	    document.Form_Editar_Conteudo.submit();
	}
}

function ValidaForm_Conteudos()
{
	
		 if (document.Form_Editar_Conteudo.txt_titulo.value == "")
		 {
			alert("O campo titulo deve ser preenchido!");
			return false;
		 }
		 
		  if (document.Form_Editar_Conteudo.txt_texto.value == "")
		 {
			alert("O campo texto deve ser preenchido!");
			return false;
		 }
	
	return true;
}


