<!------------- TWITTER  -------------->
		$(document).ready(function() {
				$("#feed").getTwitter({
					userName: "moogfest",
					numTweets: 1,
					loaderText: "Loading Moog tweets...",
					slideIn: false,
					slideDuration: 750,
					showHeading: false,
					headingText: "Latest Tweets",
					showProfileLink: false,
					showTimestamp: true
				});
			});
		
<!------------- SPRITELY  -------------->
		(function($) {
			$(document).ready(function() {
				$('#background').pan({fps: 30, speed: 1, dir: 'left'});
			});
		})(jQuery);
		
<!------------- GLOWING LOGO  -------------->
$(document).ready(function(){
    setInterval(function(){

        var versions = $('.textVersion:visible');
 
        if(versions.length<2){
            // If only one layer is visible, show the other
            $('.textVersion').fadeIn(2000);
        }
        else{
            // Hide the upper layer
           versions.eq(0).fadeOut(2000);
        }
    },1000);
 
});

<!------------- GOOGLE FEED  -------------->
(function($) {

if (!window.google)  {
    alert('You must include the Google AJAX Feed API script');
    return;
}    

if (!google.feeds) google.load("feeds", "1");

$.fn.gFeed = function(options) {
    var opts = jQuery.extend({
        target: this,
        max:   0   // max number of items per feed
    }, options || {});
    
    var g = new google.feeds.FeedControl();

    this.each(function() {
        var url = this.href || opts.url;
        var title = opts.title || this.title || $(this).text();
        g.addFeed(url, title);
        g.setNumEntries(opts.max);
    });
    
    $(opts.target).each(function() {
        g.draw(this, opts.tabs ? { drawMode: google.feeds.FeedControl.DRAW_MODE_TABBED } : null );
    });
    
    return this;
};

})(jQuery);
