// Resume Morph
window.addEvent('domready', function(){
	var el = $('resume'),
        color = el.getStyle('backgroundColor');
 
    $('resume').addEvents({
        mouseenter: function(){
       
            // Change background color on mouseover
            this.morph({
    	        'background-color': '#FFF2E6',
                'background-image': 'url(images/getit.png)',
                'background-repeat': 'no-repeat',
                'background-position': [0, 52],
            });
		},
        mouseleave: function(){
            // Morphes back to the original style
            this.morph({
                'background-image': 'none',
                backgroundColor: color
            });
        }
    });
	
    $('aboutenter').addEvents({
        mouseenter: function(){
       
            // Change background color on mouseover
            $('about').morph({
                'background-image': 'url(images/about-float.gif)',
                'background-repeat': 'no-repeat',
                'background-position': [5, 40],
            });
		},
        mouseleave: function(){
            // Morphes back to the original style
            $('about').morph({
                'background-image': 'none',
            });
        }
    });
	
});


// MSmoothScroll
window.addEvent('domready',function() 
	{new SmoothScroll({ duration:1600, transition:Fx.Transitions.Expo.easeInOut, wheelStops:false }, window);}
);
