$(function(){

	sendRequest(function(oj) {
		eval("res = "+oj.responseText);
		if(res.news[0].data1 == "noDatas") {
			$("#showMsg").html('');
		} else {
			if(res.news[0].data3.length == 0){
				$("#showMsg").html(res.news[0].data1);
			} else {
				$("#showMsg").html('<a href="' + res.news[0].data3 + '">' + res.news[0].data1 + '</a>');
			}
		}
	},{action:'news'},'POST','../../mod/msgDisp.php',true,true);	

});