var xmlhttp
	/*@cc_on @*/
	/*@if (@_jscript_version >= 5)
	  try {
	  xmlhttp=new ActiveXObject("Msxml2.XMLHTTP")
	 } catch (e) {
	  try {
	    xmlhttp=new ActiveXObject("Microsoft.XMLHTTP")
	  } catch (E) {
	   xmlhttp=false
	  }
	 }
	@else
	 xmlhttp=false
	@end @*/
	if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
	 try {
	  xmlhttp = new XMLHttpRequest();
	 } catch (e) {
	  xmlhttp=false
	 }
	}
	function myXMLHttpRequest() {
	  var xmlhttplocal;
	  try {
	    xmlhttplocal= new ActiveXObject("Msxml2.XMLHTTP")
	 } catch (e) {
	  try {
	    xmlhttplocal= new ActiveXObject("Microsoft.XMLHTTP")
	  } catch (E) {
	    xmlhttplocal=false;
	  }
	 }

	if (!xmlhttplocal && typeof XMLHttpRequest!='undefined') {
	 try {
	  var xmlhttplocal = new XMLHttpRequest();
	 } catch (e) {
	  var xmlhttplocal=false;
	  alert('couldn\'t create xmlhttp object');
	 }
	}
	return(xmlhttplocal);
}
var thelaydulieu

function getlistnewother(id,rec,idnews,cat) {
	thelaydulieu = document.getElementById(id); // the UL
	thelaydulieu.innerHTML = "<table width='100%' height='100px'><tr><td align='center' valign='center'><IMG height='32' src='images/ajax-loader.gif' width='32' border='0'></td></tr></table>";	
	xmlhttp.open('get', 'ajaxlistnewother.aspx?rec=' + rec + '&idnews=' + idnews + '&cat=' + cat);
    xmlhttp.onreadystatechange = handleResponselistnewother;
    xmlhttp.send(null);		
}

function handleResponselistnewother() {
 
  if(xmlhttp.readyState == 4){
		if (xmlhttp.status == 200){
       	
        var response = xmlhttp.responseText;
		//var theTinHangNgay = document.getElementById('tinhangngay');
      	thelaydulieu.innerHTML=response;
    	}
	}
}

function getlistmenuother(id,rec,cat) {
	thelaydulieu = document.getElementById(id); // the UL
	thelaydulieu.innerHTML = "<table width='100%' height='100px'><tr><td align='center' valign='center'><IMG height='32' src='images/ajax-loader.gif' width='32' border='0'></td></tr></table>";	
	xmlhttp.open('get', 'ajaxlistmenuother.aspx?rec=' + rec + '&cat=' + cat);
    xmlhttp.onreadystatechange = handleResponselistmenuother;
    xmlhttp.send(null);		
}

function handleResponselistmenuother() {
 
  if(xmlhttp.readyState == 4){
		if (xmlhttp.status == 200){
       	
        var response = xmlhttp.responseText;
		//var theTinHangNgay = document.getElementById('tinhangngay');
      	thelaydulieu.innerHTML=response;
    	}
	}
}