$(document).ready(function() {		
	var width = 0;
	$("cufon").each(function() {
		width = width + parseInt(this.style.width.replace(/px/i, ''));
		
	});	
	//var width = $('#tr').css('width');
	//width = parseInt( width.replace(/px/i, ''));	
	listwa(980);
});

function listwa(width) {
	
	var left = parseInt( $('#tresc').css("left").replace(/px/i, '') );
	if (left == 0 - width) {
		left=980;
	}
	left = left -1;
	$('#tresc').css({'left':left+'px'});
	$('#tresc').css({'width':width+'px'});	
	setTimeout(function() {
		listwa(width);
	}, 20);

}


