The warranty is irrelevant, sale of goods act trumps that. Next time take it back.

Recently had my iPhone 4 swapped out for a new one despite being over 14 months from initial purchase. Even got a new one rather than a refurb, as it wasn't the first failure I'd had.
_________________________
Remind me to change my signature to something more interesting someday