//rollovers
function createRollovers() {
    var onText = "-off",
        offText = "-on";
 
    $('img.rollover' ).each( function() {

        var onImg = $(this).attr('src').replace(offText,onText),
            offImg = $(this).attr('src').replace(onText,offText);
        
        $(this).bind('mouseenter', function () {
            $(this).attr('src', onImg );
        });
        $(this).bind('mouseleave', function () {
            $(this).attr('src', offImg );
        });
    });
 
    return;
}

$(document).ready(function () {
    createRollovers();
});

