70
| <![CDATA[<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-28551763-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>]]>
|
85
| <![CDATA[<script>
function abre_pop(pagina,largura,altura) {
w = screen.width;
h = screen.height;
meio_w = w/2;
meio_h = h/2;
altura2 = altura/2;
largura2 = largura/2;
meio1 = meio_h-altura2;
meio2 = meio_w-largura2;
window.open(pagina,'','height=' + altura + ', width=' + largura + ', top='+meio1+', left='+meio2+'');
}
</script>]]>
|
350
| <![CDATA[<script>
function formatar(mascara, documento){
var i = documento.value.length;
var saida = mascara.substring(0,1);
var texto = mascara.substring(i)
if (texto.substring(0,1) != saida){
documento.value += texto.substring(0,1);
}
}
$(document).on("keydown", "#message", function () {
var caracteresRestantes = 500;
var caracteresDigitados = parseInt($(this).val().length);
var caracteresRestantes = caracteresRestantes - caracteresDigitados;
$(".caracteres").text(caracteresRestantes);
});
</script>]]>
|