// Load Tweets
getTwitters('tweet', { 
  id: 'SF_Foundation', 
  count: 1, 
  enableLinks: true, 
  ignoreReplies: false, // I set this to 'False' temporarily to fix a bug in the code. 06/19/2011 -Dru
  clearContents: true,
  template: '"%text%" <a class="posted" href="http://twitter.com/%user_screen_name%/statuses/%id%/" target="_blank"> - Posted by SF Foundation // %time%</a>'
});

$(window).load(function() {
// equal column heights
	var leftCol = Math.max($('.l-col').height());
	var rightCol = Math.max($('.r-col').height());
	if (leftCol > rightCol){
	$('.r-col').height(leftCol);
	}
});

// Doc Ready Function scripts
$(function(){
	$.localScroll();
	$('.features li:first-child').addClass('first'); //simulate first-child CSS3 selector
	$(".scrollable").scrollable();
	$("a.email").overlay({ effect: 'apple', expose: '#111' });
	$(".tabs").tabs("#slideshow > div", {
		effect:'horizontal',
		rotate:true
		})
		.slideshow({ 
			autoplay:'true',
			interval:'7000',
			clickable: true
		 });

	$('#slideshow-flare').cycle({
		fx: 'fade',
		delay: 0,
		speed: 1500,
		timeout: 1
	}); //flare slideshow
	
	if ($('.stickynav').length) {
		$('.stickynav').stickyfloat({duration: 400,offsetY: 50});
	};
});



