$(function(){
	$("#faded").faded({
		speed: 1000,
		crossfade: true,
		bigtarget: false,
		autoplay: 5000,
		autorestart: 2000,
		random: false,
		autopagination:false
	});
});

jQuery().ready(function(){
		jQuery('#accordion').accordion({ 
			 active: '.selected', 
			 selectedClass: 'selected', 
			 header: "strong" ,
			 autoheight: true
		})
	});
pathArray = window.location.href.split('#');

$(document).ready(function(){
	$(".list2 li a").live("click", function(){
		$(".current1").removeClass("current1");
		$(this).parent().addClass("current1");
		$(".active_tab").slideUp("slow");
		$($(this).attr("href")).addClass("active_tab").slideDown("slow");
		return false;		
	});
	$(".tab-content1:first").addClass("active_tab").show();
	if(pathArray[1]){
		$(".active_tab").slideUp("slow");
		$("#"+pathArray[1]).addClass("active_tab").slideDown("slow");
	}
});
