// JavaScript Document
$(document).ready(function(){

	$(".menu a").hover(function() {
		$(this).next("em").animate({opacity: "show", top: "-109"}, "slow");
	}, function() {
		$(this).next("em").animate({opacity: "hide", top: "-120"}, "slow");
	});


});
		// ACCORDION
	jQuery().ready(function(){
		// first simple accordion with special markup
	jQuery('.list3').accordion({
			header: 'div.title',
			active: false,
			alwaysOpen: false,
			animated: 'easeslide',
			autoheight: false
		});
		
		
		// bind to change event of select to control first and seconds accordion
		// similar to tab's plugin triggerTab(), without an extra method
		var accordions = jQuery('.list3');
		
		jQuery('#switch select').change(function() {
			accordions.accordion("activate", this.selectedIndex-1 );
		});
		jQuery('#close').click(function() {
			accordions.accordion("activate", -1);
		});
		jQuery('#switch2').change(function() {
			accordions.accordion("activate", this.value);
		});
		jQuery('#enable').click(function() {
			accordions.accordion("enable");
		});
		jQuery('#disable').click(function() {
			accordions.accordion("disable");
		});
		jQuery('#remove').click(function() {
			accordions.accordion("destroy");
			wizardButtons.unbind("click");
		});
	});
