function getXMLHTTP()
{
var xmlHttp=null;
try
 {
 // Firefox, Opera 8.0+, Safari
 xmlHttp=new XMLHttpRequest();
 }
catch (e)
 {
 //Internet Explorer
 try
  {
  xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
  }
 catch (e)
  {
  xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
 }
return xmlHttp;
}

function getFunc(strURL,base_path,key)
 {   

    //strURL = base_path+"/featurecat.php/?tid="+strURL+"&k="+key;
    var req = getXMLHTTP();
	if(req)
	{ 
	req.onreadystatechange = function()
	{ 
		if(req.readyState == 4)
		{  
			
			
				var ajaxStr = req.responseText;    
				document.getElementById('ajax_block').innerHTML= ajaxStr; 
				
				
			
		}            
	}        
	req.open("GET", strURL, true); //open url using get method
	req.send(null);
	}
}