If it is out of warranty, it is many times cheaper to buy a new top-loader than pay a repairman to fix a top- or front-loader.
Heck, even if you fix it yourself, you can nearly break even buying a new top-loader. The parts assemblies can be darned pricey.
Of course, if you must have a front-loader, a reapair amn will likely cost less than a new front-loading washer.