function parseTweet(inc) {
	inc = inc.replace(/((https?|s?ftp|ssh)\:\/\/[^"\s\<\>]*[^.,;'">\:\s\<\>\)\]\!])/gi, '<a href="$1" target="_blank">$1</a>');
	inc = inc.replace(/(^|\s+)@([a-zA-Z0-9_-]+)/gi, '$1<a href="http://twitter.com/$2" target="_blank">@$2</a>');
	inc = inc.replace(/(^|\s+)#([a-zA-Z0-9_-]+)/gi, '$1<a href="http://search.twitter.com/search?q=%23$2" target="_blank">#$2</a>');
	return inc;
}

function twitter(t) {
	text = parseTweet(t.status.text);
	$('tweet').innerHTML = '<a href="http://www.twitter.com/filemobile" target="_blank">@filemobile</a> | '+text
}
