$(function(){
	
	$('#header ul li a').attr('title','');
	
	$('#header ul li:last-child a').css('border-right','0px');
	
	//header recent tweet  
	 function linkify(string){  
         string = string.replace(  
         /((https?\:\/\/)|(www\.))(\S+)(\w{2,4})(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/gi,  
         function(url){  
              var full_url = url;  
              if (!full_url.match('^https?:\/\/')) {  
              full_url = 'http://' + full_url;  
         }  
         return '<a href="' + full_url + '">' + url + '</a>';  
         }  
    );  
    return string;  
    }  
	
	$.getJSON('http://api.twitter.com/1/statuses/user_timeline/Ltwup.json?count=1&callback=?',function(tweet){  
         tweet = linkify(tweet[0].text);  
         $("#tweet").html('<h3>Most Recent Tweet</h3>' + tweet);  
    });  
	
})
