var $j = jQuery.noConflict();
$j(document).ready(function () {  
	//Append a div with hover class to all the LI  
	$j('li.topMenu').append('<div class="hover"></div>');  
	$j('li.topMenu').hover(
		function() {
		//Mouseover, fadeIn the hidden hover class
//		$j('div.hover').css('display', 'none');
//		$j('ul.subMenu').css('display', 'none');
		$j(this).children('div').stop(true,true).fadeIn('fast');
		$j(this).children("ul.subMenu").stop(true,true).slideDown('fast').show();
		},   
		function() {
		//Mouseout, fadeOut the hover class  
		$j(this).children('div').stop(true,true).fadeOut('fast');
		$j(this).children("ul.subMenu").stop(true,true).slideUp('fast');
		}).click (function () {  
		//Add selected class if user clicked on it  
			$j(this).addClass('selected');  
	});
});