$(document).ready(function() {
	$.Juitter.start({
		searchType:"searchWord", // needed, you can use "searchWord", "fromUser", "toUser"
		searchObject:'"RT @twopular"', // optional, but it will search for the default value on the juitter config, you can insert a username here or a word to be searched.
		live:"live-5", //optional, disabled by default, the number after "live-" indicates the time in minutes to wait before request the Twitter API for updates.
		lang:"en" // optional, restricts tweets to the given language, example: "en" = english, "pt" = portuguese, "it" = italian, "es" = spanish, find out more about the ISO 639-1 languages code on http://en.wikipedia.org/wiki/ISO_639-1.
	});	
	$("#aRodrigo").click(function(){
		$.Juitter.changeRequest({
			searchType:"fromUser",
			searchObject:"rodrigofante",
			live:"live-10", // it will be updated every 10 minutes
			elementId:this.id  // this will be used to highlight selected links adding a class "on" - on it, and removing all the "on" classes for all others elements containing also the class "jLinks", only supported by the changingRequest method.
		});
	});

});
