// pass in jQuery so we can use $ shortcut
(function($) {
	$.fn.jumpMenu = function() {
		return this.each(function() {
			if ($(this).is("select"))
			{
				select = $(this)
			}
			else
			{
				select = $(this).find("select")
			}

			select.change(function() {
				location.href = $(this).find(":selected").val();
			});
		});
	};
})(jQuery);
