rem: },  resetMenu: function() { var instance = this;  var nav = jQuery('#navigation'); var ul = nav.find('> ul'); var lis = ul.find('> li');  var num = 0; lis.each(function() { num += this.offsetWidth; }); var margin = Math.floor(((ul.width() - num)/lis.length) ); lis.css( { 'margin-right': margin, 'margin-left': 0 } ); 
context: var LiferayNoir = function () {	var $ = jQuery;	return {		init: function() {			var instance = this;						instance.handleLastChild();			instance.handleSearchForm();			instance.fixAddPage();			instance.resetMenu();		},				fixAddPage: function() {			var instance = this;			if (jQuery.browser.msie) {				jQuery('#add-page').css('position', 'absolute');			}		},		handleLastChild: function () {			var instance = this;			if (!$.browser.msie) {				return;			}			$('#footer ul li:last').addClass('last-child');		},				handleSearchForm: function() {			var searchForm = $('#banner .search');							var searchInput = searchForm.find('input[@type=image]');			var searchLink = $('<a class="search-input-link" href="javascript:;"></a>');						searchLink.click(				function() {					$(this).parents('form')[0].submit();				}			);						searchInput.hide();			searchInput.before(searchLink);		},				resetMenu: function() {			var instance = this;						var nav = jQuery('#navigation');			var ul = nav.find('> ul');			var lis = ul.find('> li');			var num = 0;			lis.each(function() {				num += this.offsetWidth;			});			var margin = Math.floor(((ul.width() - num)/lis.length) );			lis.css(				{					'margin-right': margin,					'margin-left': 0				}			);		}	};}();
meta: 8848	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8848/f44eef89555698695540ec0103a5f8a2ec774969/javascript.js/clean/themes/liferay-noir-theme/docroot/_diffs/javascript/javascript.js