$(document).ready(function() {
    // add a '-over' to the selected image url to switch the image to the selected version
    $('ul#steps li.selected img').each(function() {
        $(this).attr('src', $(this).attr('src').substring(0,$(this).attr('src').length-4)+'-over.jpg');
    });
});

