if (empVytezovaniDokThr<>nil) then if (empVytezovaniDokThr.Suspended) then empVytezovaniDokThr.Resume;