$(document).ready(function() {
    $('.accessibility').cycle({
		fx: 'fade',
		speed:1000,
        timeout:10000
// choose your transition type, ex: fade, scrollUp, shuffle, etc...
	});
});

$(function() {
	if(location.pathname != "/") {
		var now = location.href.split('/');
		var endDir = now.slice(now.length-2,now.length-1);
		jQuery('.overbox li a[href$="'+endDir+'/"]').addClass('active');
	}
});

