run();
var interval;
function run(){
interval = setInterval(chat,"3000");
} // www.jbxue.comfunction chat(){
$.post("searchMessage.action",{"mark":"receive","ajax":"ajax"},function(data){
$("span[name='mes']").html(data.num);
},"json");
}
$("#closeChat").click(function(){
clearTimeout(interval);
});
});