EDITABLE CODE:
LiveDemo:jQuery - slice(start, end) Method
Note:The selector :even and :odd use a 0-based indexing