﻿// JScript File

function MudaCorFundo(obj,pCor)
{
	obj.style.backgroundColor = pCor;
}


function redim(iframe)
{
	if(navigator.appName=="Microsoft Internet Explorer")
		var altura = parseInt(document.body.scrollHeight);
	else
		var altura = parseInt(document.body.offsetHeight);

	parent.document.getElementById(iframe).style.height = altura+100+"px";
}

function ambienteOnline()
{
     alert(document.getElementById("frmConteudo").src);
//    document.getElementById("frmConteudo").src = "docentes/principal.aspx";
}


function abreDiv(obj)
{	
	var div;
	div = obj;
	
	if (document.getElementById(div).style.display == "none")
		document.getElementById(div).style.display = "block";
	else
		document.getElementById(div).style.display = "none";
}