var windowHeight,scrollTop,float_top,float_max_height,lfbar_height,rfbar_height;var DivTopBrowser=$(".move").offset().top;var float_height=.2;var BrowserHeight=window.innerHeight;$(function(){float_top=retop(float_height)-DivTopBrowser;lfbar_height=$("#lfbar").height();rfbar_height=$("#rfbar").height();if(lfbar_height>=rfbar_height)float_max_height=lfbar_height;else float_max_height=rfbar_height});$(".move").css("top",retop(float_height)-DivTopBrowser);$(window).on("scroll",function(){windowHeight=$(window).height();if(float_top+float_max_height<=BrowserHeight)$(".move").stop(false,false).animate({top:retop(float_height)-DivTopBrowser},300)});function retop(sch_percentage){var ScrollTop=$(window).scrollTop();return ScrollTop+BrowserHeight*sch_percentage}function hide(target){document.getElementById(target).style.display="none"};