
/*
 * Menu tips Animation
 */

jQuery(document).ready(function(){

	jQuery(".menu2 a").append("<em></em>");
	
	jQuery(".menu2 a").hover(function() {
		jQuery(this).find("em").animate({opacity: "show", top: "-75"}, "slow");
		var hoverText = jQuery(this).attr("title");
	    jQuery(this).find("em").text(hoverText);
	}, function() {
		jQuery(this).find("em").animate({opacity: "hide", top: "-85"}, "fast");
	});


});

/*
 * Menu Nested Accordion
 */

jQuery().ready(function(){	
	// applying the settings
	jQuery('#theMenu').Accordion({
		active: 'h3.selected',
		header: 'h3.head',
		alwaysOpen: false,
		animated: true,
		showSpeed: 400,
		hideSpeed: 800
	});
});	
