").appendTo("#nav");jQuery("",{"selected":"selected","value":"","text":"Navigate to..."}).appendTo("nav select");jQuery("#nav a").each(function(){var el=jQuery(this);jQuery("",{"value":el.attr("href"),"text":el.text()}).appendTo("#nav select");});jQuery("#nav select").change(function(){window.location=jQuery(this).find("option:selected").val();});});