Movable poles of the solutions of Painleve's equation of the third kind and their relation with mathieu functions