if (typeof(MooTools) == "undefined")
	alert('You have to include MooTools before buttons.js!');
if (typeof(Behaviour) == "undefined") {
	if (typeof(Include) == "undefined")
		alert('You have to include Behaviour.js or Include mechanism!');
	else
		Include.OnceIf('Behaviour', 'common/behaviour.js');
}

//alert('tabs.js');


var Buttons = {
    initialized : false,
    
    mouseover: function() {
	$(this).addClass('overButton');
    },
    
    mouseout: function() {
	$(this).removeClass('overButton');
    },
    
    init : function () {
	var inputs = {
	    '.button' : function(el) {
		$(el).addEvent('mouseover', Buttons.mouseover.bind(el), false);
		$(el).addEvent('mouseout', Buttons.mouseout.bind(el), false);				
	    }
	};
	Behaviour.apply(inputs);
	Tabs.initialized = true;
    }
};

