/**
 * Compontente para Twitter ao vivo na home, usando Juitter.
 * @author Julio Vedovatto <julio@juliovedovatto.com>
 */
;(function($){
	$(function() {
		if (!$('div#body').is('.home'))
			return false;
		
		$('div#twitter-home-tweets').Juitter({
			searchType:'fromUser', // needed, you can use 'searchWord', 'fromUser', 'toUser'
			searchObject:'nasocial', // needed, you can insert a username here or a word to be searched for, if you wish multiple search, separate the words by comma.
			lang:'pt',
			live:'live-15', // the number after 'live-' indicates the time in seconds to wait before request the Twitter API for updates.
			loadMSG: 'image/gif', 
			imgName: 'imagens/componentes/twitter/loader.gif',
			total: 5,
			readMore: 'veja no Twitter',
			nameUser:'image', 
			openExternalLinks: 'newWindow',
	        filter:'sex->*BAD word*,porn->*BAD word*,fuck->*BAD word*,shit->*BAD word*',  // insert the words you want to hide from the tweets followed by what you want to show instead example: 'sex->censured' or 'porn->BLOCKED WORD' you can define as many as you want, if you don't want to replace the word, simply remove it, just add the words you want separated like this 'porn,sex,fuck'... Be aware that the tweets will still be showed, only the bad words will be removed
	        details: false
		});
	});
})(jQuery);