rrentLocale = parts[1];
        document.form.locale.selectedIndex = locales[parts[1]];
        break;
    }
  }

  /* set the currentLocale */
  MathJax.Hub.Config({
    menuSettings: { locale: currentLocale }
  });
  var menu = MathJax.HTML.Cookie.Get("menu");
  menu.locale = currentLocale;
  MathJax.HTML.Cookie.Set("menu", menu);

  /* Main Strings */
  MathJax.Hub.Queue(function() {
    var s;

    s = document.getElementById('s1');
    s.MathJax = {};
    MathJax.Hub.formatError(s, new Error(''));

   