$(document).ready(function(){


if($('#floater_inner').length != 0) {
	var msie6 = $.browser == 'msie' && $.browser.version < 7;
    if (!msie6) {
        var top = $('#floater_inner').offset().top - parseFloat($('#floater_inner').css('margin-top').replace(/auto/, 0));

        $(window).scroll(function (event) {

            // what the y position of the scroll is

            var y = jQuery(this).scrollTop();
// whether that's below the form
            if (y >= top-20) {
                // if so, ad the fixed class
                $('#floater_inner').addClass('fixed');
            } else {
                // otherwise remove it
                $('#floater_inner').removeClass('fixed');
            }
        });
    }
}

});
