jQuery(document).ready(function($) {
    // $() will work as an alias for jQuery() inside of this function

	$(function () {
	 // Static sidebar box
	  var msie6 = $.browser == 'msie' && $.browser.version < 7;
	  if (!msie6) {
	    var top = $('.static-box').offset().top;
	    $(window).scroll(function (event) {
	      var y = $(this).scrollTop();
	      if (y >= top) { $('.static-box').addClass('fixed'); }
	      else { $('.static-box').removeClass('fixed'); }
	    });
	  }
	});

});
