nth: function(cur,result,dir){ 
nth: function(cur,result,dir,elem){ 
	nth: function(cur,result,dir){		result = result || 1;		var num = 0;		for ( ; cur; cur = cur[dir] ) {			if ( cur.nodeType == 1 ) num++;			if ( num == result || result == "even" && num % 2 == 0 && num > 1 ||				result == "odd" && num % 2 == 1 ) return cur;		}	},
6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6056/e50a2f6ca3a03501510228f940f48a0faa12127d/selector.js/buggy/src/selector/selector.js