			$(function () {
			  var msie6 = $.browser == 'msie' && $.browser.version < 7;
			  if (!msie6) {
			    var top = $('#navilinks').offset().top - 10;/* - parseFloat($('#navilinks').css('margin-top').replace(/auto/, 0));*/
			    $(window).scroll(function (event) {
			      var y = $(this).scrollTop();
			      if (y >= top) { $('#navilinks').addClass('fixed'); $('#navirechts').addClass('fixed'); }
			      else { $('#navilinks').removeClass('fixed'); $('#navirechts').removeClass('fixed'); }
			    });
			  }
			});
