Front end damage (hood, bumper, frame) to a 98 WILL TOTAL it. It's hard to imagine otherwise. Here's a price list:
Hood $13,700
Bumper $1,600
Control arm $560
That itself works out to about $16K. Factor in paint and labor and you get into the mid 20s, around 25K. A '98 is probably worth around...