jQuery(document).ready(function(d){var b=d("#head_wrap");var a=d("#posts_content");var c=d("#content").offset();var e=d(".sidebar.fixed .viewport");if(b.length){b.addClass("fixed");d(window).resize(function(){a.css({"padding-top":b.height()});b.css({width:a.width()-1})})}if(e.length){d(window).resize(function(){e.css({height:d(window).height()-c.top})})}});