GlaxoSmithKline on Friday agreed to pay $20 million to settle charges of violating the Foreign Corrupt Practices Act for what authorities called a pay-to-prescribe scheme in China. In doing so, Glaxo becomes the latest global drug maker to face such accusations as part of a long-running probe by US authorities into companies that paid bribes overseas in order to boost sales of their medicines.