// JavaScript Document

$(document).ready(function() {
			// highly customized accordion
			jQuery('#acordeon').accordion({
			event: 'click',
			active: '.selected',
			selectedClass: 'active',
			//animated: "bounceslide",
			//animated: 'easeslide',
			autoheight: true,
			header: "a.acor"
			}).bind("change.ui-accordion", function(event, ui) {
			jQuery('<div>' + ui.oldHeader.text() + ' hidden, ' + ui.newHeader.text() + ' shown</div>').appendTo('#log');
			})
			//Fade Imges Links	
			$("a img").fadeTo("fast", 1.0); // This sets the opacity of the thumbs to fade down to 60% when the page loads
			$("a img").hover(function(){
				$(this).fadeTo("fast", 0.65); // This should set the opacity to 100% on hover
				},function(){
				$(this).fadeTo("fast", 1.0); // This should set the opacity back to 60% on mouseout
			});
			$.localScroll();
		});