	jQuery().ready(function(){
		
		// second simple accordion with special markup
		jQuery('#navigation').accordion({
			active: true,
			header: '.head',
			navigation: true,
			event: 'mouseover',
			fillSpace: false,
			alwaysOpen: false,
			autoheight: 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');
		
		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");
		});
	});
	
	
	// Colorbox
	
	$(document).ready(function(){
				//Set the ColorBox event to elements.
				$(".slideshow").colorbox({slideshow:true});
			});
			
	$(document).ready(function(){
				$(".thumbrow img").fadeTo("fast", 0.7); // This sets the opacity of the thumbs to fade down to 60% when the page loads
				
				$(".thumbrow img").hover(function(){
				$(this).fadeTo("fast", 1.0); // This should set the opacity to 100% on hover
				},function(){
				$(this).fadeTo("slow", 0.7); // This should set the opacity back to 60% on mouseout
				});
			});
