$(function () {
	$('#navigation').accordion({
		active: false,
		header: '.head',
		navigation: true,
		event: 'click',
		fillSpace: false,
		animated: 'easeslide'
	});
			
	// 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('#navigation');
			
	$('#switch select').change(function() {
		('#navigation').accordion("activate", this.selectedIndex-1 );
	});
	
	$('#faq').accordion({
		active: false,
		header: '.head',
		navigation: true,
		event: 'click',
		fillSpace: false,
		animated: 'easeslide'
	});
			
	// 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('#faq');
			
	$('#switch select').change(function() {
		('#faq').accordion("activate", this.selectedIndex-1 );
	});

	$("#list").menu({
		fx: "backout",
		speed: 0,
		click: function(event, menuItem) {}
	});
});