//Needs Mootools - Fades buttons in and out on hover - Conor L.
window.addEvent('domready', function () {
    var fadeLayers = $$('.fader');
    var fadeLayersFully = $$('.faderFull');

    //Give each item in the array a mouseover and mouseout function to fade them in and out :)
    fadeLayers.addEvents({
        'mouseover': function () {
            this.fade(0.6);
        },
        'mouseout': function () {
            this.fade(1);
        }
    });

    //Give each item in the array a mouseover and mouseout function to fade them in and out :)
    fadeLayersFully.addEvents({
        'mouseover': function () {
            this.set('tween', { transition: Fx.Transitions.Expo.easeOut });
            this.tween('opacity', '0');
        },
        'mouseout': function () {
            this.set('tween', { transition: Fx.Transitions.Expo.easeIn });
            this.tween('opacity', '1');
        }
    });
});





