twitter.PublicTimelineView  = {

    // クラスメソッド
    render: function(statuses) {
	if (statuses.length > 0) {
	    var status = statuses.pop();
	    $("#statuses").after(
                $("<div class='status' id='status" + status.id + "'>" +
                  "<a href='http://twitter.com/" + status.user.screen_name + "'>" +
                  "<img src='" + status.user.profile_image_url + "' /></a>" +
                  "<div class='comment'><p class='text'>" + status.text + "</p>" +
                  "<cite class='user'>Twit From" +
                  "<a href='http://twitter.com/" + status.user.screen_name + "'>" + status.user.name +
                  "</a></cite></div>" +
                  "</div>"));
	        
	    setTimeout(function() {
		twitter.PublicTimelineView.render(statuses)
		$(".status:gt(4)").remove();
	    }, 1500);
	}
    }
}
