Up to 35% of hip fracture patients have been shown to experience heart injury after surgery, and as many as 10% have a heart attack or die in the three months after surgery. Hip and knee arthroplasty patients are also at risk of cardiovascular complications. Patients who have these complications have higher levels of inflammation postoperatively. Statins (such as atorvastatin/Lipitor) lower cholesterol and also lessen inflammation. Both of these effects are important in preventing heart attacks. Statins have been shown to reduce the risk of heart attacks in non-surgical patients, and to protect from heart attacks in patients having heart surgery. Whether statins can prevent heart attacks in orthopedic patients is not known.