/* default script */


var width = 0;
// find out the width of the nav items
jQuery('#nav li a').each(function(i) {	
	width += jQuery(this).width();
});

// work out how much right margin to give each to fit equally across the page
var margin = Math.floor((jQuery('#nav').width() - width) / 5);

// assign a right margin to each nav item
jQuery('#nav li').not(':last').each(function(i) {
	jQuery(this).css('marginRight', margin);
});


