$(document).ready(function() {
    $('#slideshow').cycle({
		fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
	});
	
	 //find all accordions
	 $(".accordion .header").click( function() {
		if ($(this).next().hasClass('showing')) {
			$(this).next().slideUp(500).removeClass('showing')
		} else{
		$('.showing').slideUp(500).removeClass('showing');
		$(this).next().slideDown(500).addClass('showing');
									}
		return false;
	});
	
	$('.teammember').mouseover(function() {
		$(this).find("img").attr("style","border-color: #576925");
		$(this).next().show();
		$('.teammember').css('zIndex', 10)
		$(this).css('zIndex', 100);
		$(this).find('.bio').css('zIndex', 100).show(0);


	});
	
	$('.teammember').mouseout(function() {
		$(this).find("img").attr("style","border-color: gray");
		$(this).find('.bio').hide();
	});
	
	$(".tweet").tweet({
	            username: "flipfloporg",
	            count: 10,
	            auto_join_text_default: null,
	            auto_join_text_ed: null,
	            auto_join_text_ing: null,
	            auto_join_text_reply: null,
	            auto_join_text_url: null,
	            loading_text: "loading tweets..."
	        });
	
	
	
});
