Litigation with a Variable Cost of Trial