

function make_full(picture_name, vehicle_num){

http = new XMLHttpRequest();	

	var url = "includes/make_large.php";

	var params = "picture="+picture_name+"&vehicle_num="+vehicle_num;

	http.open("POST", url, true);

	

	//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) {

			document.getElementById('big_image').innerHTML = http.responseText;

		}

	}



		http.send(params);



}