jQuery.fn.make_menu = function() {
	if ($(this).size()) {
		// Hide this unordered list
		menuid = $(this).attr('id');
		$(this).after('<form id="' + menuid + '-select-menu"><select></select><input type="submit" class="websiteButton" value="Visit Website" title="Opens in a new window" /></form>');
		
		// Fill Select Drop down
		$(this).find('li a').each(function(){
			$('#' + menuid + '-select-menu select').append('<option value="' + $(this).attr("href") + '">' + $(this).html() + '</option>');
		});
		
		// Open link on submit
		$("#" + menuid + "-select-menu").submit(function(){
			window.open($("#" + menuid + "-select-menu select").val());
			return false;
		});
		
		// Remove the unordered list from the DOM
		$(this).remove();
	}
}