$(function() {
    $('img#social-network-logo').hover(function() {
	imageSource = $(this).attr('src');
	$(this).attr('src', imageSource.replace(/grayscale/g, 'color'));
    }, function() {
	imageSource = $(this).attr('src');
	$(this).attr('src', $(this).attr('src').replace(/color/g, 'grayscale'));
    });
});
