function abre_pop (url, winname, width, height) {
	var trails = "width=" + width + ",height=" + height + ",toolbar=no,directories=no,status=no,scrollbars=yes,resizable=no,menubar=no,location=no";
	newWindow = window.open(url,winname,trails);
	//old.close();
}

function abre_pop2 (url, winname, width, height) {
	var trails = "width=" + width + ",height=" + height + ",toolbar=no,directories=no,status=no,scrollbars=no,resizable=no,menubar=no,location=no";
	newWindow = window.open(url,winname,trails);
	//old.close();
}

function abre_publicidade()
{
	if ( navigator.appName == "Netscape" )
	{
		var x = 0;
		var y = 0;
		x = (screen.width - (300)) / 2;
		y = (screen.height - (430)) / 2;

NS=window.open("/webflights/publicidade/f_index.asp","publicidade","toolbar=1,location=0,directories=0,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=630,height=384,screenX=" + x + ",screenY=" + y);
		NS.focus();
	} else {
		var x = 0;
		var y = 0;
		x = (screen.width - (300)) / 2;
		y = (screen.height - (430)) / 2;

IE=window.open("/webflights/publicidade/index.asp","publicidade","toolbar=no,location=0,directories=0,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=630,height=380,screenX=" + x + ",screenY=" + y);
	}
}

function vote()
{
	var desktop = window.open('/extras/enquete/enquete_pop.asp', '_blank', 'width=350,height=250,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=no')
}

function vejaresults()
{
	var desktop = window.open('/extras/enquete/enquete_view.asp', '_blank', 'width=350,height=250,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=no')
}

// efeito da cor nas TDs
function mOvr(src,clrOver) {if (!src.contains(event.fromElement)) {src.style.cursor = 'default';
src.bgColor = clrOver;}}
function mOut(src,clrIn) {if (!src.contains(event.toElement)) {src.style.cursor = 'default';
src.bgColor = clrIn;}}
