Let's start with where are you, and then follow that with what vehicle are you driving? 98 was a changeover year for Suzuki and your 98 Vitara could be either an SE series or an SQ series.
On the SQ series the wiper motor is located directly behind the battery - there is a 4 pin connector between the motor that is susceptible to corrosion damage from battery acid, and will cause the symptoms you describe.
The AutoGuide.com network consists of the largest network of enthusiast-owned enthusiast-operated automotive communities.
AutoGuide.com provides the latest car reviews, auto show coverage, new car prices, and automotive news. The AutoGuide network operates more than 100 automotive forums where our users consult peers for shopping information and advice, and share opinions as a community.