function Timg(obj,img)
		{
			 document.getElementById(obj).src = img;
		}
function mFonte(id,muda)
	{
		var tam=11;
		if(muda=='mais')
			{
				tam=tam+5;	
			}
			else
				{
					tam=tam;
				}
		document.getElementById(id).style.fontSize=tam+'px';
	}
function oJanela(theURL,winName,features) 
	{
  		window.open(theURL,winName,features);
	}
function AreaMax(campo, max, maxtxt)
{
	var len = campo.value.length;
	if(len>max)
		{
		campo.value = campo.value.substring(0, max);
		alert("Você pode digitar apenas 500 caracteres.");
		return false;
		}
	maxtxt.value=max-campo.value.length;
}
function vOpniao()
	{
		var d=document.eOpniao;
		if(d.nome.value=="")
			{
				alert("Por favor preencha seu nome!");
				d.nome.focus();
				return false;
			}
		if(d.email.value=="")
			{
				alert("Por favor digite seu e-email!");
				d.email.focus();
				return false;
			}
		if ((d.email.value.indexOf ("@",0) == -1) || (d.email.value.indexOf (".",0) == -1))
			{
				alert("Você digitou o E-MAIL incorretamente.")
				d.email.focus();
				return false;
			}
		if(d.texto.value.length==0)
			{
				alert("Por favor digite a sua Opnião!");
				d.texto.focus();
				return false;
			}
	}
function cPag(act,idColuna)
	{
	 	window.location.href="?act="+act+"&coluna="+idColuna;	
	}