rem: sibling = $('#contacts [role="offline"]').nextSibling; 
add: sibling = $('#contacts [role="offline"]')._.nextSibling; 
context: function _reposition(contact) {    var availability = contact.getAttribute('availability');    var show = contact.getAttribute('show');    $('#contacts')._.removeChild(contact);    contact.style.opacity = 0;    var sibling;    if(contact.getAttribute('open') == 'true')        sibling = $('#contacts [role="open"]')._.nextSibling;    else if(availability == 'available' && show == '')        sibling = $('#contacts [role="online"]')._.nextSibling;    else if(availability == 'available' && show == 'chat')        sibling = $('#contacts [role="online"]')._.nextSibling;    else if(availability == 'available' && show == 'away')        sibling = $('#contacts [role="away"]')._.nextSibling;    else if(availability == 'available' && show == 'xa')        sibling = $('#contacts [role="away"]')._.nextSibling;    else if(availability == 'available' && show == 'dnd')        sibling = $('#contacts [role="dnd"]')._.nextSibling;    else        sibling = $('#contacts [role="offline"]').nextSibling;    while(sibling &&          sibling.getAttribute('role') == 'contact' &&          $(sibling).$('[role="name"]')._.getAttribute('value').toLowerCase() <          $(contact).$('[role="name"]')._.getAttribute('value').toLowerCase())        sibling = sibling.nextSibling;        if(!sibling)        $('#contacts')._.appendChild(contact);    else        $('#contacts')._.insertBefore(contact, sibling);        fadeIn(contact);}
meta: 1705	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1705/5637a9a71472e4ea2f444b2ea5a7b203c8886fbb/contacts.js/buggy/chrome/content/contacts.js