getTwitters('tweet', { 
	id: 'SEA_PrimeTeam', 
	count: 4, 
	enableLinks: true, 
	ignoreReplies: true, 
	clearContents: true,
	template: '<p><strong>%time%</strong> - %text%<a href="http://twitter.com/%user_screen_name%/statuses/%id_str%/"></a></p>'
});

$(document).ready(function () {
	$('#accordion-1').easyAccordion({ 
			autoStart: true,
			slideInterval: 5000,
			slideNum:false
	});
	$.each($(".expander"), function(val){
		if ($(this).html().charAt(0) == "+"){
			$(this).next(".expand").hide();
		}
	});
	$(".expander").bind("click", function(){
		if ($(this).html().charAt(0) == "-"){
			$(this).html("+"+$(this).html().substring(1)).next(".expand").hide('fast');
		} else {
			$(this).html("-"+$(this).html().substring(1)).next(".expand").show('fast');
		}
	});
	$(".expander").hover(function (){
			if ($(this).html().charAt(0) == "-"){
				$(this).append($("<span style=\"font-weight:normal; color:#C00;\">&nbsp;(Click to close)</span>").show());
			} else {
				$(this).append($("<span style=\"font-weight:normal; color:#3366CC;\">&nbsp;(Click to read)</span>").show());
			}
		}, function (){
			$(this).find("span:last").remove();
		}
	);
});

$(function() {
	$('#fader').cycle({ timeout: 8000, cleartype: 1, speed: 300 });
});

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-3309015-3']);
_gaq.push(['_trackPageview']);
(function() {
	var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
	ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
	var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
