N.Y. lawmakers provide money for equine safety