function positionLegendAnnotation(fixToTop){var $sidebar=$(".page_info_margin");if($(window).width()>860&&fixToTop){var distance=$(window).scrollTop();var right=Math.max(0,($(window).width()-$(".epmc_pageHolder").width())/2);if(distance>250){$sidebar.css({position:"fixed",top:"0px",right:right+"px"});}else{$sidebar.css("position","static");}}else{$sidebar.css("position","static");}}