function doDestacaTexto(Texto, termoBusca){ /*******************************************************************/ // CASO QUEIRA MODIFICAR O ESTILO DA MARCAÇÃO ALTERE ESSAS VARIÁVEIS /*******************************************************************/ inicioTag = ""; fimTag = ""; var novoTexto = ""; var i = -1; var lcTermoBusca = termoBusca.toLowerCase(); var lcTexto = Texto.toLowerCase(); while (Texto.length > 0){ i = lcTexto.indexOf(lcTermoBusca, i+1); if (i < 0){ novoTexto += Texto; Texto = ""; } else{ if (Texto.lastIndexOf(">", i) >= Texto.lastIndexOf("<", i)){ if (lcTexto.lastIndexOf("/script>", i) >= lcTexto.lastIndexOf("