function next(text, i) {
	str = $('#content #tt a').text();
	if (str != text)
		$('#content #tt a').text(str + text.substr(i, 1));
	else {
		$('#content #tt a').text(text.substr(0, 1));
		i = 0;
	}
	i++;
	command = "next('" + text + "', '" + i + "')";
	if (i == text.length)
		setTimeout(command, 4000);
	else
		setTimeout(command, 10);
}

$(document).ready(function(){
	var text = $('#content #tt a').text();
	next(text, 0);
});