// JavaScript Document
var Toolbar = new Class({
	Implements: [Options],
	options: {
	//Properties
	twitterFullHeight: 0,
	twitterContainer: []},
	
	//Initialization of Methods
	initialize: function(twitterFullHeight, twitterContainer){
		this.twitterHeight = twitterFullHeight;	
		this.twitterContainer = twitterContainer[0];
		this.twitterContainer2 = twitterContainer[1];
	},
	
	//Standby Methods
	twitterLoad : function(){
		
		//Varibale Decleration
		var twitterContainer = $(this.twitterContainer);
		var twitterContainer2 = $(this.twitterContainer2);
		var originalSize = twitterContainer.getSize();
		var twitterHeight = this.twitterHeight;
		
		//Mouse Event Listeners
		twitterContainer.addEvents({
			'mouseover' : function(event){
			event.stop();
			$(this).morph({'height': twitterHeight});
			},
			'mouseout' : function(event){
			event.stop();
			$(this).morph({'height': originalSize.y});
			}
		});
		
		twitterContainer2.addEvents({
			'mouseover' : function(event){
			event.stop();
			$(twitterContainer).morph({'height': twitterHeight});
			},
			'mouseout' : function(event){
			event.stop();
			$(twitterContainer).morph({'height': originalSize.y});
			}
		});
	}
	
//End of Class
});
