Toronto's airport was under "red alert" because of the threat of lightning when an Air France (search) jetliner landed in a fierce rainstorm despite having enough fuel to reach another airport — a decision that was made by the pilot, airport authorities said Wednesday.

Investigators searching the wreckage of the Airbus A340 (search) found the flight data and voice recorders — the so-called "black boxes," said Steve Shaw, spokesman for the Greater Toronto Airports Authority (search). Officials hope the recorders will provide clues to what caused the aircraft to skid off a runway Tuesday at Lester B. Pearson International Airport and burst into flames.

All 309 passengers and crew escaped alive in an evacuation that took less than two minutes. Air France said 22 people were injured, while airport officials said 43 were hurt. The wreckage of the jetliner — torn into three pieces — still smoldered Wednesday.

Brian Lackey, vice president of operations for the Greater Toronto Airport Authority, said Wednesday the jetliner had enough fuel to divert to Montreal or another airport where the weather was better, but "that's the pilot's decision."

The airport was under a "red alert," which indicates potential for lightning but does not prevent planes from landing or taking off, officials said.

Lackey said airport workers were struck by the severity of the storm. "As we were looking out the window we were commenting that storm was extremely severe," he said. "Normally if there are thunderstorms in the area, a pilot may decide to circle until it's safe to land."

Airport Fire Chief Mike Figliola said three-quarters of the passengers and crew managed to escape in the 52 seconds it took for emergency crews to arrive. "The crew did a great job, they're trained to get the people off," Figliola said.

At Air France headquarters in Roissy, France, airline chairman Jean-Cyril Spinetta also praised the flight crew. "I don't know if we should speak of a miracle ... but above all the professionalism of the crew," Spinetta said.

He said the co-pilot, who was in charge of the landing, had 10,700 hours of flying time, and the 57-year-old pilot had 15,000 hours.

Spinetta said Air France bought the aircraft new on Sept. 7, 1999. It was last serviced July 15 and had logged 28,418 flight-hours and 3,711 takeoffs and landings.

He said it was too early to determine the cause of the crash, the first of an Airbus A340 in its 13 years of commercial service.

Two dozen Air France officials, including a medical team and a psychologist, flew to Toronto. A separate team of experts — including six from Airbus, three from the French accident investigation bureau and three from Air France — headed to Toronto earlier, Spinetta said.

The National Transportation Safety Board has also sent a team of specialists to assist in the investigation.

The first sign of trouble came minutes before landing when the pilot aborted an initial attempt because of the storm and powerful winds. About a minute before the jetliner touched down, the lights in the cabin went out, passenger Olivier Dubois said.

Gwen Dunlop, who was returning from a vacation in France, said some passengers went down emergency chutes, while others jumped from the plane on their own. "We were all trying to go up a hill; it was all mud and we lost our shoes," she said.

Some of the 297 passengers and 12 crew members reached the nearby highway.

"It was chaotic," police Sgt. Craig Platt said. "Thankfully, the drivers on highway 401 stopped and offered their assistance."

Many people lost parts of their clothing when they jumped from the plane; others later took off wet clothes and exchanged them for warm blankets.

Dominique Pajot, 54, a Paris businessman who had been sitting in first class, said his clothes were soaked in the rainstorm so he carried them in a plastic bag, and was wearing a hospital gown and hospital-issued pajama pants. His brown leather loafers were caked with mud.

"I am happy," Pajot said. "I don't know whether it's a lucky day or an unlucky one."

David Learmount, an aviation safety expert with British-based Flight International magazine, said the crash appears similar to others in which planes have overshot runways before hitting obstacles or uneven ground — in this case a gully about 300 feet beyond the tarmac.

So-called overruns are "not all that rare," especially during heavy rainstorms when a plane's wheels can fail to grip the tarmac, Learmount said.