A New Jersey judge has ordered Merck & Co. to release records on how much it spent on a trial involving its Vioxx painkiller.

The information would provide a window into how much Merck spends on its trials, and what its legal defense costs could be in the future. More than 21,000 suits have been filed against Merck, which has vowed to try each case over Vioxx.