// Abre Janela
function AbreJanela(theURL,winName,features) {
	window.open(theURL,winName,features);
}

// JavaScript do Menu
startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("menuTopo");
for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
  }
  node.onmouseout=function() {
  this.className=this.className.replace
	(" over", "");
   }
   }
  }
 }
}
window.onload=startList;

$(document).ready(function(){
	$('#cycleDestaques #slideDestaques').after('<div id="barraDestaques">').cycle({ 
		fx:     'turnDown', 
		speed:  600, 
		pause: 1,
		timeout: 6000, 
		pager:  '#barraDestaques' 
	});
	jQuery('#rankingAccordion').accordion();
	
	
	$("#txtRef").val("Busca por ID");   
	$("#txtRef").focus(function(){
		$("#txtRef").val("");
	});
	$("#txtRef").blur(function(){
		if($("#txtRef").val() == "")
			$("#txtRef").val("Busca por ID");
	});
	
	$('.rodaparceiro').jCarouselLite({
        btnNext: '.cycleNext',
        btnPrev: '.cyclePrev',
		auto: 10000,
		speed: 500,
		visible: 6
    });

});
