function Mostra(id1, id2) {
  if (id1 != '') expMenu(id1);
  if (id2 != '') expMenu(id2);
}
function expMenu(id) {
  var itm = null;
  if (document.getElementById) {
		itm = document.getElementById(id);
  } else if (document.all){
		itm = document.all[id];
  } else if (document.layers){
		itm = document.layers[id];
  }
	
  if (!itm) {
  }
  else if (itm.style) {
		if (itm.style.display == "none") { itm.style.display = ""; }
	else { itm.style.display = "none"; }
    }
  else { itm.visibility = "show"; }
}


<!--Início Janela Ver Foto Zoom
function ampliar_imagem(URL, width, height) {
	
   var left = 50;
   var top = 50;

   window.open(URL, '', 'width='+width+', height='+height+', top='+top+', left='+left+', scrollbars=auto, status=no, toolbar=no, location=no, directories=no, menubar=no, resizable=no, fullscreen=no');
}
//-->Termino Janela Ver Foto Zoom

<!--Início Janela Ver Cursos
function visualizar_cursos(URL, width, height) {
	var larguratela = screen.width;
	var alturatela = screen.height;
	var largurajanela = '700';
	var alturajanela = '600';
	
	var iniciolargura = (larguratela - largurajanela) / 2;
	var inicioaltura = (alturatela-alturajanela) / 2;

   window.open(URL, 'cursos', 'width='+largurajanela+', height='+alturajanela+', top='+inicioaltura+', left='+iniciolargura+', scrollbars=yes, status=no, toolbar=no, location=no, directories=no, menubar=no, resizable=yes, fullscreen=no');
}
//-->Termino Janela Ver Cursos

<!--Início validação newsletter
function valida_form_newslleter(){
	var nome = document.form_newsllleter.nome.value;
	var email = document.form_newsllleter.email.value;
	if(nome.length < 1){
		alert('Você deve preencher o campo Nome.');
		form_newsllleter.nome.focus();
	return false;
	} else if(email.indexOf('@') < 1){
		alert('Você deve preencher o campo Email com um endereço válido.');
		form_newsllleter.email.focus();
	return false;
	} else
		return true;
}
//-->Termino validação newsletter

<!--Início validação newsletter
function valida_form_email(){
	var user = document.form_webmail.user.value;
	var pass = document.form_webmail.pass.value;
	if(user.indexOf('@') < 1){
		alert('Você deve preencher o campo Usuário com o seu endereço de email completo.');
		form_webmail.user.focus();
	return false;
	} else if(pass.length < 1){
		alert('Você deve preencher o campo Senha.');
		form_webmail.pass.focus();
	return false;
	} else
		return true;
}
//-->Termino validação newsletter

<!--Início formata DATA-TELEFONE
function txtBoxFormat(objeto, sMask, evtKeyPress) {
    var i, nCount, sValue, fldLen, mskLen,bolMask, sCod, nTecla;


if(document.all) { // Internet Explorer
    nTecla = evtKeyPress.keyCode;
} else if(document.layers) { // Nestcape
    nTecla = evtKeyPress.which;
} else {
    nTecla = evtKeyPress.which;
    if (nTecla == 8) {
        return true;
    }
}

    sValue = objeto.value;

    // Limpa todos os caracteres de formatação que
    // já estiverem no campo.
    sValue = sValue.toString().replace( "-", "" );
    sValue = sValue.toString().replace( "-", "" );
    sValue = sValue.toString().replace( ".", "" );
    sValue = sValue.toString().replace( ".", "" );
    sValue = sValue.toString().replace( "../default.htm", "" );
    sValue = sValue.toString().replace( "../default.htm", "" );
    sValue = sValue.toString().replace( ":", "" );
    sValue = sValue.toString().replace( ":", "" );
    sValue = sValue.toString().replace( "(", "" );
    sValue = sValue.toString().replace( "(", "" );
    sValue = sValue.toString().replace( ")", "" );
    sValue = sValue.toString().replace( ")", "" );
    sValue = sValue.toString().replace( " ", "" );
    sValue = sValue.toString().replace( " ", "" );
    fldLen = sValue.length;
    mskLen = sMask.length;

    i = 0;
    nCount = 0;
    sCod = "";
    mskLen = fldLen;

    while (i <= mskLen) {
      bolMask = ((sMask.charAt(i) == "-") || (sMask.charAt(i) == ".") || (sMask.charAt(i) == "../default.htm") || (sMask.charAt(i) == ":"))
      bolMask = bolMask || ((sMask.charAt(i) == "(") || (sMask.charAt(i) == ")") || (sMask.charAt(i) == " "))

      if (bolMask) {
        sCod += sMask.charAt(i);
        mskLen++; }
      else {
        sCod += sValue.charAt(nCount);
        nCount++;
      }

      i++;
    }

    objeto.value = sCod;

    if (nTecla != 8) { // backspace
      if (sMask.charAt(i-1) == "9") { // apenas números...
        return ((nTecla > 47) && (nTecla < 58)); } 
      else { // qualquer caracter...
       return true;
      } 
    }

    else {
      return true;
    }
  }
//-->Termino formata DATA-TELEFONE