how much did you pay for that car originally? that seems like a lot, even for a '98.
also you might want to know that with engine swaps, usually the engine has to come from a car that is the same model year, or newer, anything older will automatically fail in a lot of places. you can sometimes get around that by updating all the emissions equipment and running an up-to-date (for your car that is) ECU, but that doesn't always work. i have heard of one guy on So Cal who legally registered and smogged a '98 civic hatch with a '97 JDM B18C5 though, so it's not completely impossible.