 //MRD: replaced all instances of $()... with jQuery()...
 //Code broke on pages where Prototype library was included. ex: admin/orders/show
 jQuery(document).ready(function(){
	
	 jQuery("#main-nav .navButton").hover(
		 function () {
			//over function
			// only add the class if it is hidden
			if (jQuery(this).children('div.inner').css('display') == 'none'){
				jQuery(this).children('div.inner').addClass('active');
				jQuery(this).addClass('top');
			}
		 }, 
		 function () {
			//out
			jQuery(this).children('div.inner').removeClass('active');
			jQuery(this).removeClass('top');			
		 } 
	 );
 
 });
