(function($){
	$.fn.niceSelect = function(options) {
		var defaults = {
			width: '100px',
			height: '20px'
		};
		var options = $.extend(defaults, options);
		
		return this.each(function() {
			var o = $(this);
			var first = o.find('li:first-child').html();
			o.css({display: 'none', position: 'absolute', 'z-index': 6000}).wrap('<div class="nc" style="width: '+options.width+'; height: '+options.height+'; line-height: '+options.height+'"></div>');
			$('<p>' + first + '</p>').insertBefore(o).parent().hover(
				function() { 
					o.fadeIn("350");					
				},
				function(){
					o.fadeOut("fast");
				}
			);
		});
	};
})(jQuery);
