Totaling a vehicle by insurance has to do with cost of repair vs value of vehicle. Being that is the other drivers fault (my assumption) and it's their insurance I would try arguing against the frame replacement. Given my past experience with insurance companies I wouldn't expect to get very far though. You can also make a claim for diminished value due to the crash, even if it is repaired.