$(function() {
$('').appendTo('header [role="navigation"]');
$('', {
'value': '',
'text': 'メニュー',
'selected': 'selected'
}).appendTo('header [role="navigation"] > select');
$('header [role="navigation"] a').each(function() {
var el = $(this);
$('', {
'value': el.attr('href'),
'text': el.text()
}).appendTo('header [role="navigation"] > select');
});
$('header [role="navigation"] > select, .widget-archive-dropdown select').change(function() {
window.location = $(this).find('option:selected').val();
});
});