jQuery.fn.dropdown = function () {
	this.bind('mouseover', function () {
		if (window._dropdownTimeout) clearTimeout(window._dropdownTimeout);
		jQuery(this).find('ul').css('display','block');
	}).bind('mouseout', function () {
		var dropdown = this;
		window._dropdownTimeout = setTimeout(function () {
			jQuery(dropdown).find('ul').css('display','none');
			window._dropdownTimeout = null;
		}, 2000);
	});
};