jQuery.fn.hovermenu = function() {
	return this.each(function(){
		var li = $('> li', this);
		li.each(function(i) {
			var ul = $('> ul', this);
			if (ul.size() > 0) {
				$(this).addClass('dropdown');
				$(this).bind('mouseover', function(e) {
					$('> ul', this).show();
				});
				$(this).bind('mouseout', function(e) {
					$('> ul', this).hide();
				});
			}
		});
	});
};
