okTwitterUserTimeLine.prototype.display = function(data)
{

    var container = document.getElementById(this.containerId);
    if (container == undefined) {
        return false;
    }

    while (container.firstChild)
    {
        container.removeChild(container.firstChild);
    }
    if(data.twitter.length == 0){
        var drawer = container.parentNode;
        while(drawer.className.indexOf('drawer') < 0){
            drawer = drawer.parentNode;
        }
        drawer.parentNode.removeChilde(drawer);
    } else {        
        html = "<ul>";
        for(i=0; i<data.twitter.length; i++){
            html += "<li><a href='http://www.twitter.com/"+data.twitter[i].user.screen_name+"'><img width='48' align='left' src="+data.twitter[i].user.profile_image_url+" /></a>"+this.prepText(data.twitter[i].text)+ "<br class='clear'/></li>";
        }
        html += "</ul>";
        container.innerHTML = html;
    }
}
