/****
	deBlog(entry)
	-removes the "On the blog:" intro which gets retweeted	
*****/

function deBlog(entry) {
	if((entry.from_user == 'aiaio') && (entry.text.match(/^On the blog:/))){
		entry.text = entry.text.replace(/On the blog:/,'');
	}
	return entry;
}

$(document).ready(function() {
						   
	var input = $("input#search");
	
	if((input.attr("value") != "search aiaio") && !input.hasClass("active")) {
		input.toggleClass("active");
	};
	
	input.focus(function(){
		if($(this).attr("value") == "search aiaio") {
			$(this).attr("value", "").toggleClass("active");
		};
	});
	input.blur(function(){
		if($(this).attr("value") == "") {
			$(this).toggleClass("active").attr("value", "search aiaio");
		};
	});
	
});
