rollover = {}
rollover.switchAttribute = function(elem, from, to) {
    var jq = $(elem);
    var newSrc = jq.attr(from);
    jq.attr(from, jq.attr(to));
    jq.attr(to, newSrc);
}

$(document).ready(function(){
    $('img.rollover').
        mouseover(function(){
            rollover.switchAttribute(this, 'altsrc', 'src');
        }).
        mouseleave(function(){
            rollover.switchAttribute(this, 'altsrc', 'src');
        });
        
    $('div#TekstContentInhoud').jScrollPane();
});


