Finally ajaxified version of inqiry.