function ajax(element_to_load, 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(element_to_load).innerHTML = http.responseText;
            
			$("#description_container").show();
			
            $(function(){
                $("#" + element_to_load).jCarouselLite({
                    btnNext: "#arrow_next",
                    btnPrev: "#arrow_previous",
                    easing: "easeOutElastic",
                    height: 300,
                    width: 520,
                    visible: 1,
                    vertical: true,
                    speed: 1000
                });
            });
			
			
        }
    }
    http.send(params);
}

