var myAjax;

function iniAjax(){
	
if(window.XMLHttpRequest){ 

	myAjax = new XMLHttpRequest(); 

}	

else if(window.ActiveXObject){  

	myAjax = new ActiveXObject("Microsoft.XMLHTTP");
	
	if(!myAjax){ 
	
	myAjax = new ActiveXObject("Msxml2.XMLHTTP"); 
	
	}


}

return myAjax;

}
