@Krinkle Those are precisely the scenarios I mentioned: http://jsfiddle.net/HNuen/