Merck suffered two legal defeats Aug. 17 involving its pain relief drug Vioxx, but is planning to appeal these setbacks, the company said.