


// Create the dropdown base
$("<select />").insertAfter(".subnav ul");

// Create default option "Go to..."
$("<option />", {
   "selected": "selected",
   "value"   : "",
   "text"    : "Go to..."
}).appendTo(".subnav select");

// Populate dropdown with menu items
$(".subnav ul li a").each(function() {
 var el = $(this);
 $("<option />", {
     "value"   : el.attr("href"),
     "text"    : el.text()
 }).appendTo(".subnav select");
});


$(".subnav select").change(function() {
  window.location = $(this).find("option:selected").val();
});

$("header.site-header h1").fitText(.69);
