//Load a new page of information.
function processChange(imageid)
{
	var url="embedblog/eb-includes/eb-admin/view/ajax_image.php?imageid=" + escape(imageid);
	url=url+"&dummy="+new Date().getTime();
	request.open("GET", url, true);
	request.onreadystatechange=showConfirmation;
	request.send(null);
}
function showConfirmation()
{
	if (request.readyState == 4)
	{
		if (request.status == 200)
		{
			var response = request.responseText;
			//Find the data to be deleted on the page
			var list=document.getElementById("imagedetails");
			//Create some replacement text
			document.getElementById("imagedetails").innerHTML = response;
		}
		else
		{
			document.getElementById("imagedetails").innerHTML = "<p>There was a problem connecting to the server. Please wait a few moments and try loading the page again.</p>";
		}
	}
}