function updateTime()
{
	$( '.inputHoraCidade' ).each(function()
	{
		var obj = $( this );
		var city = $( this ).attr( 'id' );
		
		$.ajax({
			url: "getLocalTime.php?city=" + city,
			success : function(text)
			{
				obj.val( text );
				//alert( text );
			}
		});
	});
}


$(document).ready(function()
{
	updateTime();
	window.setInterval( 'updateTime()', 5000 );
});




