Hi Ady, there are two types of key fob, infrared and radio frequency.
Infrared:- fasten all seat belts? and close all doors,
turn ignition sw from position 1 to pos 2 at least 4
times in 6 seconds this enters the program mode
leave key in position 1
press and hold lock or unlock button
exit program by starting engine
Radio freq:- turn ignition sw to position2 4 times in 3 seconds
switch ignition off and remove key
clock LED illuminates
press lock or unlock button
clock LED flashes to confirm correct programming
exit program mode switch ignition on & wait 20 sec
If all else fails have a look at www.mirez.co.uk they list all known mondeo c/locking faults and the cures
nigel
March 2008