This 2-part study will evaluate the effectiveness and side effects of two anti-inflammatory drugs for relieving pain and improving jaw function in patients with temporomandibular disorder (TMD). Part 1 will evaluate celecoxib (Celebrex); Part 2 will evaluate etanercept (Enbrel). The Food and Drug Administration has approved both of these drugs for treating certain forms of arthritis.