function createRequestObject(){
	var request_o; //declare the variable to hold the object.
	var browser = navigator.appName; //find the browser name
	if(browser == "Microsoft Internet Explorer"){
		/* Create the object using MSIE's method */
		request_o = new ActiveXObject("Microsoft.XMLHTTP");
	}else{
		/* Create the object using other browser's method */
		request_o = new XMLHttpRequest();
	}
	return request_o; //return the object
}
var http = createRequestObject(); 
function getdynamicitems()
{	
	http.open('get', 'internal_request.php?item=CAT');
	http.onreadystatechange = handleitem; 
	http.send(null);
}
function handleitem(){
	
	if(http.readyState == 4){ 
		var response = http.responseText;
			//alert(response);
		document.getElementById('lNav').innerHTML = response;
	}
}