Depends how cheap the car is.
There's plenty of written off Mondeo 00-07s in scrap yards now, so you'd always be able to get an engine for it (or from a Mazda 3/6).
If the head gasket has gone then there may be other problems, as suggested, so make sure the purchase price is low enough to cover a replacement engine then you won't be out of pocket.
I wouldn't go anywhere near Ford as they will charge £65 per hour just to find out what is wrong.
_________________________
2011 Focus 3-door Zetec 1.6 TDCi.
Previous <img src="/images/graemlins/stemo.gif" alt="" />s - 2006 Panther Black & 2007 Red. Gone and quite forgotten <img src="/images/graemlins/lol.gif" alt="" />