In August , GlaxoSmithKline agreed to pay $ 2.5 million to settle a suit by Eliot Spitzer , the New York attorney general , alleging that Glaxo had hidden results from trials showing that its antidepressant Paxil might increase suicidal thoughts in children and teenagers .