Adding classes with JavaScript
This can be simplified to this:

$(window).scroll(function() {
    var $sticky = $('#contentSideIner'),
        elTop = $sticky.offset().top, 
        wTop = $(window).scrollTop();
    $sticky.toggleClass('sticky',  wTop &gt; elTop)
        .toggleClass('stickyBottom', wTop &gt; elTop + 4685);
});



The window object already exists, so no need to wait until it loads before attaching an event handler to it.
Don't cache objects outside of the event handler unless it's really needed (consumes more memory, code is less encapsulated, makes your page susceptible to problems if layout or DOM elements change, etc...)
Use jQuery chaining for multiple method calls on the same jQuery object
Only use one event handler and put both .toggleClass() calls in the same event handler.