function fetch_program(program_category_name, request_type) {
	
	//var cause_panel = document.getElementById("causes-cause_listing");
	//cause_panel.style.textAlign = 'center';
	$("#causes-cause_listing").html('<img style="display:block;margin:0 auto" src="http://www.bettertheworld.com/images/uploads/loading.gif" alt="alt" />');
xmlHttp.onreadystatechange=stateChanged 
if (request_type == "world-issues") {
	xmlHttp.open("GET","fetch-program.php?cat="+program_category_name+"&type="+request_type,true)
	xmlHttp.send(null);
}
else if (request_type == "charity") {
	xmlHttp.open("GET","fetch-program.php?cat="+program_category_name+"&type="+request_type,true)
	xmlHttp.send(null);
}
}

function stateChanged() 
{ 
if (xmlHttp.readyState==4)
 { 
	//alert('hi'+xmlHttp.responseText);
 //document.getElementById("txtHint").innerHTML=xmlHttp.responseText 
	$("#causes-cause_listing").html(xmlHttp.responseText);
 }
else {//document.getElementById("stage").innerHTML = "Error occurred";}
}}