// Force wrap on top-level menu items
$('#Menu > li > a').each(function() {
  text = $(this).text();
  pos = text.indexOf(' ');
  if (pos > -1) {
    if (pos != text.lastIndexOf(' ')) {
      if (pos < 6) {
        pos = text.indexOf(' ', pos + 1);
      }
    }
    text = text.slice(0, pos) + '<br />' + text.slice(pos + 1);
    $(this).html(text);
  }
});
