rem: var type = []; var tmp = a.parentNode.childNodes; for ( var i = 0; i < tmp.length; i++ ) { if ( tmp[i].nodeType == 1 ) type[type.length] = tmp[i]; if ( tmp[i] == a ) type.n = type.length - 1; } if ( e ) n = type.length - n - 1; type.cur = ( type[n] == a ); type.prev = ( type.n > 0 ? type[type.n - 1] : null ); type.next = ( type.n < type.length - 1 ? type[type.n + 1] : null ); return type; 
add: var type = []; var tmp = a.parentNode.childNodes; for ( var i = 0; i < tmp.length; i++ ) { if ( tmp[i].nodeType == 1 ) type[type.length] = tmp[i]; if ( tmp[i] == a ) type.n = type.length - 1; } if ( e ) n = type.length - n - 1; type.cur = ( type[n] == a ); type.prev = ( type.n > 0 ? type[type.n - 1] : null ); type.next = ( type.n < type.length - 1 ? type[type.n + 1] : null ); return type; 
context: $.sibling = function(a,n,e) {  var type = [];  var tmp = a.parentNode.childNodes;  for ( var i = 0; i < tmp.length; i++ ) {    if ( tmp[i].nodeType == 1 )      type[type.length] = tmp[i];    if ( tmp[i] == a )      type.n = type.length - 1;  }  if ( e ) n = type.length - n - 1;  type.cur = ( type[n] == a );  type.prev = ( type.n > 0 ? type[type.n - 1] : null );  type.next = ( type.n < type.length - 1 ? type[type.n + 1] : null );  return type;};
meta: 1375	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1375/f0034d64e3890553f214db0708b9a831476ea46a/jquery.js/clean/jquery/jquery.js