rem: (function(){  var walk = function(element, walk, start, match, all, nocash){ var el = element[start || walk]; var elements = []; while (el){ if (el.nodeType == 1 && Element.match(el, match)){ elements.push(el); if (!all) break; } el = el[walk]; } return (all) ? new Elements(elements, {ddup: false, cash: !nocash}) : $(elements[0], nocash); };  Element.implement({  getPrevious: function(match, nocash){ return walk(this, 'previousSibling', null, match, false, nocash); },  getAllPrevious: function(match, nocash){ return walk(this, 'previousSibling', null, match, true, nocash); },  getNext: function(match, nocash){ return walk(this, 'nextSibling', null, match, false, nocash); },  getAllNext: function(match, nocash){ return walk(this, 'nextSibling', null, match, true, nocash); },  getFirst: function(match, nocash){ return walk(this, 'nextSibling', 'firstChild', match, false, nocash); },  getLast: function(match, nocash){ return walk(this, 'previousSibling', 'lastChild', match, false, nocash); },  getParent: function(match, nocash){ return walk(this, 'parentNode', null, match, false, nocash); },  getParents: function(match, nocash){ return walk(this, 'parentNode', null, match, true, nocash); },  getChildren: function(match, nocash){ return walk(this, 'nextSibling', 'firstChild', match, true, nocash); },  hasChild: function(el){ if (!(el = $(el, true))) return false; return Element.getParents(el, this.get('tag'), true).contains(this); }  });  })(); 
add: return args.map(function(attr){ return this.getProperty(attr); }, this).associate(args); 
context: (function(){var walk = function(element, walk, start, match, all, nocash){	var el = element[start || walk];	var elements = [];	while (el){		if (el.nodeType == 1 && Element.match(el, match)){			elements.push(el);			if (!all) break;		}		el = el[walk];	}	return (all) ? new Elements(elements, {ddup: false, cash: !nocash}) : $(elements[0], nocash);};Element.implement({	getPrevious: function(match, nocash){		return walk(this, 'previousSibling', null, match, false, nocash);	},	getAllPrevious: function(match, nocash){		return walk(this, 'previousSibling', null, match, true, nocash);	},	getNext: function(match, nocash){		return walk(this, 'nextSibling', null, match, false, nocash);	},	getAllNext: function(match, nocash){		return walk(this, 'nextSibling', null, match, true, nocash);	},	getFirst: function(match, nocash){		return walk(this, 'nextSibling', 'firstChild', match, false, nocash);	},	getLast: function(match, nocash){		return walk(this, 'previousSibling', 'lastChild', match, false, nocash);	},	getParent: function(match, nocash){		return walk(this, 'parentNode', null, match, false, nocash);	},	getParents: function(match, nocash){		return walk(this, 'parentNode', null, match, true, nocash);	},	getChildren: function(match, nocash){		return walk(this, 'nextSibling', 'firstChild', match, true, nocash);	},	hasChild: function(el){		if (!(el = $(el, true))) return false;		return Element.getParents(el, this.get('tag'), true).contains(this);	}});})();
meta: 5569	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5569/73e82e776e0f715130186dae1a6d0a04aa910d47/mootools-trunk.js/buggy/wicket-contrib-mootools/src/java/wicket/contrib/mootools/mootools-trunk.js