/**
 * Torna a tag LI do menu funcionando com hover
 * @param $ - objeto jQuery
 */
function makeLiHover($) {

	$("#cabecalho_menu_left > li").each(function() {

		$(this).mouseover(function() {
			$(this).toggleClass("over");
		});
		
		$(this).mouseout(function() {
			$(this).toggleClass("over");
		});
	});
};

/*
 * API do twitter.
 */
function twitter(){

new TWTR.Widget({
  version: 2,
  type: 'search',
  search: 'jrimum',
  interval: 8000,
  title: 'Coment&aacute;rios a respeito do',
  subject: 'Projeto JRimum',
  width: 'auto',
  height: 200,
  theme: {
    shell: {
      background: '#334534',
      color: '#ffffff'
    },
    tweets: {
      background: '#fbfbfb',
      color: '#444444',
      links: '#e64d00'
    }
  },
  features: {
    scrollbar: true,
    loop: true,
    live: true,
    hashtags: true,
    timestamp: true,
    avatars: true,
    toptweets: true,
    behavior: 'default'
  }
}).render().start();

};
