var HomeNav = new Class({

	//implements
	Implements: [Options],

	//options
	options: {
		items: new Array(),
		transitionTime: 100
	},
	
	
	
	//initialization
	initialize: function(options) {		
		//set options
		this.setOptions(options);
		
		var self = this;	
		
		
		self.options.items.each(function(el, k){
			
			el.set('tween', {
				'duration' : self.options.transitionTime,
				'ease' : 'cubic:out'
			});
			
			if(el.hasClass('active') != true){
				el.setStyle('opacity', 1);	
			}
			
			el.addEvents({
				
				'mouseenter' : function(e){
					this.tween('opacity', .5)
				},
				
				'mouseleave' : function(e){
					if(this.hasClass('active') != true){
						this.tween('opacity', 1)
					}
				}
				
			});
			
		})
		
	},
	
	start: function() {
		
		var self = this; 
		
		
	}
	
	
	
});