jQuery(document).ready(function($) {
			$('#nav li.with-sub').hover(function() {
						var nLink = $(this).find('a:first');
						var nPop = $(this).find('ul.pop-nav');

						if (nLink.width() + 10 > nPop.width()) {
							nPop.width((nLink.width() + 10) + 'px');
						}

						nLink.addClass('hover');
						nPop.show();
					}, function() {
						$(this).find('a:first').removeClass('hover');
						$(this).find('ul.pop-nav').hide();
					});
		});

