$(document).ready(function(){
	if($(".twitterBlock").length){
			$(".twitterBlock > p").each(function(){
			    $(this).html( 
			      $(this).html().
			      replace(/http:\/\/\S+/g,  '<a style="color:#C74E91;" href="$&" target="_blank">$&</a>').
			      replace(/\s(@)(\w+)/g,    ' @<a style="color:#C74E91;" href="http://twitter.com/$2" target="_blank">$2</a>').
			      replace(/\s(#)(\w+)/g,    ' #<a style="color:#C74E91;" href="http://www.twitter.com/search?q=$2" target="_blank">$2</a>').
			      replace(/^\w+/,           '<a style="color:#C74E91;" href="http://twitter.com/$&" target="_blank">$&</a>') 
			    );
			});
		}
	
});
