tw = {
	tw_mouse_on: false,
	init: function(){
		getTwitters('tweet', { 
		  id: 'tsvchamber',
		  count: 1,
		  enableLinks: true,
		  ignoreReplies: true,
		  clearContents: true,
		  template: '"%text%" <a href="http://twitter.com/%user_screen_name%/statuses/%id%/">%time%</a>'
		});
		$('tweet').setStyle('display: none');
		$('tweet').setOpacity(0.3);
	}
}

Event.observe(window, 'load', function() {
	tw.init();
	$('tweet').observe('mouseover',function(s){
		if(tw.tw_mouse_on == false){
			new Effect.Opacity('tweet',{ 
				to: 1, 
				duration: .2, 
				afterFinish: function(){
					tw.tw_mouse_on = true;
				}
			});
		}
	});
	$('tweet').observe('mouseout',function(s){
		if(tw.tw_mouse_on == true){
			new Effect.Opacity('tweet',{ 
				to: .3, 
				duration: .2, 
				afterFinish: function(){
					tw.tw_mouse_on = false;
				}
			});
		}
	});
});
