The stock market surged on news that the US government intented to buy bad debt from banks to prevent their collapse. Insurance companies, which are in an industry that has profit even more dependent on the strength of the economy than other industries, gained sharply.