$(function(){var a=$(window);$(".scrollspy .nav").affix({offset:{top:function(){return a.width()<=980?480:400},bottom:50}})});