showLoadding=false; var chatLoadding=false; function Reload() { if(!chatLoadding){ chatLoadding=true; $.ajax({ url: '/ChannalChatLi.aspx?chanid=42102&random='+(new Date()).getTime(), type: 'POST', data: $('#formChatUL42102').formSerialize(), cache: false, timeout: 20000, error: function() { chatLoadding=false; }, success: function(data) { chatLoadding=false;$('#ulChat42102').append(data);}, complete: function(){chatLoadding=false;} }); } } function AddFace(face) { $('#chattxt').val($('#chattxt').val()+':'+face+':'); } document.write('
'); $(function(){$('#ChatPanal42102').load('/ChannalChat.aspx?chanid=42102&random='+(new Date()).getTime());setInterval(Reload,5000);});