Prime Minister Gordon Brown , given up in Britain as political flotsam just weeks ago , has emerged from the global financial crisis as a leader whose ideas are influencing policy from Europe to Washington .