check the speed sensor which is located where gear box oil goes. my 2000 model focus the speedo was working on and off sometimes so i changed the speed sensor which cost me around £25.00 and £15.00 for mechanic to fix it and it cured the problem.
mj
November 2008