jQ(document).ready(function () {
	//Append a div with hover class to all the LI
	jQ('#menu li').append('<div class="hover"><\/div>');
	jQ('#menu li').hover(
	//Mouseover, fadeIn the hidden hover class	
	function() {
	jQ(this).children('div').fadeIn('1000');	
	}, 
	//Mouseout, fadeOut the hover class
	function() {
	jQ(this).children('div').fadeOut('1000');	
	}).click (function () {
	//Add selected class if user clicked on it
	jQ(this).addClass('selected');
	});
	});
	