A man who for 40 years was plagued by fainting fits whenever he was woken by the door bell or his alarm clock has finally found a cure for the problem.

Allan Todd, 63, saw more than 20 doctors, none of whom could find the cause of the blackouts.

At their worst the seizures were striking up to seven times a day, leaving him lying inert and helpless on the floor for up to five hours.

He could move his eyes and hear his wife speaking but he was powerless to move.

All telephones, alarm clocks and wake-up calls were banned from the bedroom for fear they would trigger the problem.

It was not until Mr Todd visited a new ''faints and falls'' facility at Newcastle's Royal Victoria Infirmary that specialists discovered the true extent of his condition.

Over a three-day period in a special sleep unit he was strapped to an array of monitors as he slept which discovered that the shock of a wake-up call turned off his heart and rendered him brain-dead for up to 30 seconds. ''I was told it was a miracle I was still here,'' said Mr Todd, of Scalby, near Scarborough, North Yorkshire.

''I was taking my life in my own hands just going to sleep. It got to the stage when my wife wouldn't wake me up for fear it would start a session. ''Even the window cleaner was kept away from the house while I was asleep because he used to come at 8am and make a lot of noise.''

The father-of-three said the fainting fits came more frequently and were more energy-sapping each time.

Doctors thought epilepsy could be the cause and a heavy dose of medication was prescribed but had no effect.

But it was when he passed out on a holiday to Tenerife that he was seen by a doctor who started him on the road to recovery.

The Spanish medic said he needed a special ''tilt test'' - usually used for diagnosing blood problems.

On returning to Scarborough, he was told there was a six-month waiting list for the test unless he paid to go private.

A week later, a consultant referred him to the fainting and falls facility in Newcastle, where a doctor diagnosed him as having a heart problem.

He was fitted with a temporary pacemaker which was later upgraded to a proper model which was programmed to kick-start his heart with an electrical current whenever it stopped beating for longer than 1.5 seconds.

The RVI day case facility - the only one in the UK - was set up in 1991 to provide older patients with rapid access to hospital treatment.

A study by Newcastle University showed that the unique out-patient unit has provided enormous savings for the NHS - equivalent to freeing up a whole ward for a year.

The research showed the facility helped relieve pressure on accident and emergency services, saving the NHS about £2.5 million a year. Three consultants see 3,500 patients each year, and there are 1,500 new admissions annually.