TORONTO -- The Toronto stock market closed lower Thursday as energy shares and oil prices retreated and investors sold off transportation giant Bombardier (TSX:BBD.B) amid a big writedown.

   The S&P/TSX composite index dropped 42.61 points to 14,041.82, with support coming from mining stocks, which turned positive after a string of sell-offs.

   Bombardier was a major drag on the TSX as its stock tumbled $1.07 or 25.85 per cent to $3.07 on a very heavy volume of 65 million shares as it announced it will write down the value of its Learjet 85 program, resulting in a pretax charge of about US$1.4 billion in its fourth quarter. Bombardier is cutting about 1,000 employees in Mexico and the United States due to weak demand for the business jet.

   Analysts said markets were also alarmed by the fact that cash flow from the aerospace division is expected to be only US$800 million, down from an estimate of between US$1.2 billion and US$$1.6 billion in its prior forecast. Markets were already jittery over delays associated with its much anticipated CSeries jet.

   "To me, that was a real telling point," said Ian Nakamoto, director of research at 3MACS.

   "When you cut it by that amount, they may have to come back to the market, you never know. That's part of it. When you have cash flow, you can develop various products and services. With less cash flow, you develop less."

   Also, Target Corp. (NYSE:TGT) announced Wednesday morning that it is exiting its Canadian business and will record about US$5.4 billion in pre-tax losses in its fourth-quarter. Its shares gained 1.8 per cent to US$75.65. Target has 133 stores and 17,600 employees across Canada.

   On the TSX, Canadian Tire (TSX:CTC.A) seemed to be a beneficiary from the Target announcement with its shares ahead $3.38 or 2.9 per cent to $119.62.

   BlackBerry (TSX:BB) fell $2.94 or 19.57 per cent to $12.08 on the TSX after it and Samsung poured cold water on a report that the South Korean electronics company wants to make a $7.5-billion takeover offer for the struggling Canadian company. BlackBerry stock surged 29 per cent Wednesday after Reuters reported that Samsung had recently made overtures to buy the company.

   It was a volatile session on financial markets after the Swiss central bank surprised markets by scrapping a policy that limited how much the euro could fall against the Swiss franc.

   The Canadian dollar was caught up in the ensuing gyrations on markets, down 0.14 of a cent to 83.58 cents US after going as high as 84.65 cents US.

   New York indexes were lower amid a weak earnings report from Bank of America as the Dow Jones industrials declined 106.38 points to 17,320.71, the Nasdaq was down 68.5 points to 4,570.82 and the S&P 500 index slid 18.6 points to 1,992.67.

   Bank of America posted earnings per share of 25 cents a share, six cents short of expectations. Revenue fell 12.6 per cent to US$18.96 billion, missing forecasts calling for $21.08 billion and its shares fell 5.25 per cent to $15.20.

   The energy sector shed early advances and was down 1.15 per cent as oil prices turned lower with the February contract down $2.23 to US$46.25 a barrel, giving back a big chunk of Wednesday's advance of $2.59 a barrel after the Federal Reserve said in its latest regional survey that the U.S. economy was growing at a moderate pace in December and early January.

   The TSX gold sector was the major advancer, ahead seven per cent as expectations the European Central Bank will embark on a round of quantitative easing next week to support the economy pushed bullion prices higher. February bullion gained $30.30 to US$1,264.80 an ounce and Barrick Gold (TSX:ABX) jumped 9.75 per cent to $13.62.

   The metals and mining sector was up 0.3 per cent after plunging the previous two sessions. Copper prices revived somewhat after plunging 14 cents a pound Wednesday in the wake of a weak U.S. retail sales report and a downward revision to global economic growth by the World Bank. The March copper contract was up five cents to US$2.56 a pound.