function Selector(sSelector) {
	this.simpleSelectors = sSelector.split(' ').reverse();
}

p = Selector.prototype;

p.next = function () {
	var sSimple = this.simpleSelectors.pop();
	if(sSimple)
		return new SimpleSelector(sSimple);
	
	return null;
}

