//mapeamento para os atalhos funcionarem em todos os navegadores com jquery
$(document).bind('keydown', 'alt+1', 
		function (){		
			window.location="#menu";
			}
);
$(document).bind('keydown', 'alt+2', 
		function (){		
			window.location="#content";
			}
);
$(document).bind('keydown', 'alt+3', 
		function (){		
			window.location="";
			}
);
$(document).bind('keydown', 'alt+4', 
		function (){
			document.getElementById('palavra').focus();
			}
);


jQuery('#highlights, #acessibilidade').corner({
    tl: { radius: 5},
    tr: { radius: 5},
    bl: { radius: 0},
    br: { radius: 0},
    antiAlias: true,
    autoPad: true,
    validTags: ["a"]
  });

jQuery('#footer, .divisaoNav').corner({
    tl: { radius: 0},
    tr: { radius: 0},
    bl: { radius: 5},
    br: { radius: 5},
    antiAlias: true,
    autoPad: true,
    validTags: ["a"]
  });

jQuery('#sidebar, .titContDest, #box, #box1, #box2, #barra_mec').corner({
    tl: { radius: 5},
    tr: { radius: 5},
    bl: { radius: 5},
    br: { radius: 5},
    antiAlias: true,
    autoPad: true,
    validTags: ["a"]
  });



// Ciclo de destaques
jQuery(function(){
  jQuery('.destaque').cycle({ 
	fx:      'fade', 
	timeout: 6000, 
	delay:   -2000,
	next:    '#proximo', 
	prev:    '#anterior',
	pager:   '.nav' 
	});
});

jQuery(function(){
  jQuery('.headerRight').cycle({ 
	fx:      'fade', 
	timeout: 6000, 
	delay:   -2000
	});
});
