// function rotateQuotes(){
//  $.getJSON("/quotes",
//    function(data)
//    {
//      $('cite').fadeTo(1000, 0.2, function(){
//        $('cite span').empty().append(data.citation);       
//        $('cite').fadeTo(500, 1);
//      });
//      $('blockquote').fadeTo(1000, 0.1, function(){
//        $('blockquote').fadeTo(500, 1, function(){
//          setTimeout("rotateQuotes()", 4000);         
//        });
//        $('blockquote p').empty().append(data.quote); 
//      });
//    });
// }
$(document).ready(function()
{	

  // setTimeout("rotateQuotes()", 4000);  
	
	/*
	 * Fetch Twitter JSON and write to DOM
	 * To do: implement some error handling and timeouts
	 */	
  // function getTwitter()
  // {    
  //  $.getJSON("http://twitter.com/statuses/user_timeline/pebbleit.json?count=1&callback=?", 
  //  function(json)
  //  {
  //    var html = '<ul class="twitter">';
  //    $(json).each(function(tweet)
  //    { 
  //      html += '<li>' + this.text + '<br /><span>'+ jQuery.timeago(this.created_at) +'</span></li>';
  //    });
  // 
  //    $('#twitter-feed').append(html + "</ul>");
  //  }); 
  // }  
  // getTwitter();
	
	
	
});


