
/* funcao javascript */

function f_over ( obj )
{
	src=document.getElementById(obj);
	a = "./_res/" + obj + "ov.png";
	return a;
}

function f_out ( obj )
{
	src=document.getElementById(obj);
	a = "./_res/" + obj + ".png";
	return a;
}

function apareceseta( obj )
{
	src=document.getElementById(obj);
	a = "./_res/seta-branco.png";
	return a;
}

function someseta( obj )
{
	src=document.getElementById(obj);
	a = "./_res/spacer.gif";
	return a;
}

function cursor()
{
	if (navigator.appName == "Microsoft Internet Explorer")
	{
		a = "hand";
		return a;
	}
	else 
	{
		a = "pointer";
		return a;
	}
}

function doThis( optionValue )
{
	window.est_place.location= optionValue;
}

function seleciona ( val )
{
	document.location= val; 
}

//abre ( link , nome, width, height)
function abre(x,y,a,b) 
{
	var w = a;
	var h = b;
	var lado = (screen.width - w) / 2;
	var topo = (screen.height - h) / 2;

	window.open(x,y,'scrollbars=yes, height='+h+',width='+w+',top='+topo+',left='+lado+'');
}