function displayTwitterFeed(searchTerms, title, subject)
{
	 new TWTR.Widget({
		version: 2,
		type: 'search',
		search: searchTerms,
		interval: 6000,
		title: title,
		subject: subject,
		width: 245,
		height: 300,
		theme: {
		shell: {
		  background: '#427583',
		  color: '#ffffff'
		},
		tweets: {
		  background: '#ffffff',
		  color: '#444444',
		  links: '#1985b5'
		}
		},
		features: {
		scrollbar: false,
		loop: true,
		live: true,
		hashtags: true,
		timestamp: true,
		avatars: true,
		behavior: 'default'
		}
	}).render().start();
}

function displayTwitterFeedByUsername(username) 
{
	new TWTR.Widget({
	  version: 2,
	  type: 'profile',
	  rpp: 4,
	  interval: 6000,
	  width: 250,
	  height: 300,
	  theme: {
	    shell: {
	      background: '#427583',
	      color: '#ffffff'
	    },
	    tweets: {
	      background: '#ffffff',
	      color: '#000000',
	      links: '#07aeeb'
	    }
	  },
	  features: {
	    scrollbar: false,
	    loop: false,
	    live: false,
	    hashtags: true,
	    timestamp: true,
	    avatars: false,
	    behavior: 'all'
	  }
	}).render().setUser(username).start();
}

