function ajax_categories(php_file_loc){
    var http = new XMLHttpRequest();
    http.open("POST", "php/" + php_file_loc, true);
    
    var params = "";
    
    //Send the proper header information along with the request
    http.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
    http.setRequestHeader("Content-length", params.length);
    http.setRequestHeader("Connection", "close");
    
    http.onreadystatechange = function(){//Call a function when the state changes.
        if (http.readyState == 4 && http.status == 200) {
            //alert(http.responseText);
            document.getElementById('category_carousel_content').innerHTML = http.responseText;
            
			$("#category_carousel").fadeIn("slow");
			
                $(function(){
                    $("#category_carousel_content").jCarouselLite({
                        btnNext: "#next_category",
                        btnPrev: "#prev_category",
						circular: false,
                        speed: 500
                    });
                });	
        }
    }
    http.send(params);
}
