<!-- 
// 
function ratonin(src,fondoin) { 
if (!src.contains(event.fromElement)) {
	src.style.cursor = 'hand'; 
	src.bgColor = fondoin; 
	} 
} 
function ratonout(src,fondout) { 
	if (!src.contains(event.toElement)) { 
	src.style.cursor = 'default'; 
	src.bgColor = fondout; 
	} 
} 
function ratonclick(src) { 
if(event.srcElement.tagName=='TD'){ 
	src.children.tags('A')[0].click();
} 
}
function textCounter(campo, countcampo, maxlimit){//conta/mostra caracteres restantes e limita o tamanho do campo
    if (campo.value.length > maxlimit) //se passar do limite nao deixa entrar o caracter
        campo.value = campo.value.substring(0, maxlimit);
        //reduz o valor do campo de contadem
    else 
        countcampo.value = maxlimit - campo.value.length;
}
function popupabre(largura,altura, id)
{
	var popup_URL = "../tema/popup_mp3.php?id="+id;
	popup = window.open(popup_URL,"MP3","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,menubar=no,width=" + largura + " height=" + altura);
}
function popupabrecoment(largura,altura, id)
{
	var popup_URL = "../tema/popup_coment.php?pro_id="+id;
	popup = window.open(popup_URL,"COMENTARIO","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,menubar=no,width=" + largura + " height=" + altura);
}
function popupabrefoto(largura,altura, id)
{
	var popup_URL = "../tema/popup_foto.php?id="+id;
	popup = window.open(popup_URL,"FOTOS","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,menubar=no,width=" + largura + " height=" + altura + ",top="+((screen.availHeight/2)-(altura/2))+",left="+((screen.availWidth/2)-(largura/2)));
	popup.focus();
}

function confereComent()
{
	str = "É preciso preencher o nome, o e-mail e o texto.";

	if (document.forms[0].nome.value.length == 0)
	{
		alert(str);
		return false;	
	}
	if (document.forms[0].email.value.length == 0)
	{
		alert(str);
		return false;	
	}
	if (document.forms[0].desc.value.length == 0)
	{
		alert(str);
		return false;	
	}
}
-->