var TicketLeap = {
	
	init: function(){
		
		if ($('page-features')) TicketLeap.features();
		
	},
	
	features: function(){
		var smoothScrolling = new Fx.SmoothScroll({
		    links: '.features-list a',
		    wheelStops: false,
				duration: 500
		});
	}
	
}

window.addEvent('domready', TicketLeap.init);



/* Extensions to MooTools Core
------------------------------ */

Element.implement({
	
	show: function(){
		if (this.hasClass('hidden')) {
			this.removeClass('hidden');
		}
	},
	
	hide: function(){
		if (!this.hasClass('hidden')) {
			this.addClass('hidden');
		}
	},
	
	hidden: function(){
		if (!this.hasClass('hidden')) {
			return false;
		} else {
			return true;
		}
	}
	
});

Window.implement({
	
	$$F: function(selector){
		return $$(selector)[0];
	}
	
});