Spin polarized Kondo transport through a quantum dot connected to ferromagnetic leads