function FloatOnlyWhenTextIsSignificantlyLongerThanImage(){$(".expandable").each(function(){var t=$(this).find(".ImageSection").height(),n=$(this).find(".FloatAroundGallery").height();(n<=t||n>=parseInt(t)+70)&&$(this).find(".FloatAroundGallery").css("margin-left","");n=$(this).find(".FloatAroundGallery").height();n>t&&n<parseInt(t)+70&&$(this).find(".FloatAroundGallery").css("margin-left","304px")})}$(function(){window.location.hash.length<2||(BrowserDetect.browser=="Explorer"?window.scrollTo(0,$("[data-anchor="+window.location.hash.substr(1)+"]").first().position().top):($("[data-anchor]").each(function(){var n=$(this).attr("data-anchor");$(this).attr("id",n);$(this).attr("name",n)}),window.location.hash=window.location.hash))});$(function(){setInterval(function(){FloatOnlyWhenTextIsSignificantlyLongerThanImage()},500)})