function deleteFacility(facID, rowID)
{
	if(confirm('Are you sure you want to delete this facility?'))
	{
		var xmlhttp=new GetXmlHttpObject();
		
		xmlhttp.onreadystatechange= function()
		{
			if (xmlhttp.readyState==4)
			{
				window.location.href="facilities.php?delete=success"
			}
		}
	
		dt = new Date().getTime()
		
		xmlhttp.open("GET", 'app_code/deleteFacility.php?facilityID='+facID+"&dt="+dt, true);
		xmlhttp.send(null);
	}
}
