varlocalMenuWidthUsed=0;// Track how much space is occupied by the ul
varlocalMenuWidthUsed=0;// Track how much space is occupied by the ul
varlocalMenuRightSideWidth=$('#local-masthead .masthead > nav ul.float-right.menu').outerWidth();// width of any right-side nav, which would change on browser resize
varlocalMenuRightSideWidth=$('#masthead .masthead-inner > nav ul.float-right.menu').outerWidth();// width of any right-side nav, which would change on browser resize
localMenuRightSideWidth=localMenuRightSideWidth+1;// padding, eleminate NaN if it doesn't exsist
localMenuRightSideWidth=localMenuRightSideWidth+1;// padding, eleminate NaN if it doesn't exsist
// Calculate how much space we've used
// Calculate how much space we've used
// We calculate each li and not the parent ul as some teams may make the ul 100% wide
// We calculate each li and not the parent ul as some teams may make the ul 100% wide