rem: lis = hf.getElementsByTagName('LI'); 
add: lis = hf.getElementsByTagName('li'); 
context: function diffcheck() {     var dli = false; // the li where the diff radio is checked    var oli = false; // the li where the oldid radio is checked    hf = document.getElementById('pagehistory');    if(!hf) return;    lis = hf.getElementsByTagName('LI');    for (i=0;i<lis.length;i++) {        inputs=lis[i].getElementsByTagName('INPUT');        if(inputs[1] && inputs[0]) {            if(inputs[1].checked || inputs[0].checked) { // this row has a checked radio button                if(inputs[1].checked && inputs[0].checked && inputs[0].value == inputs[1].value) return false;                if(oli) { // it's the second checked radio                    if(inputs[1].checked) {                    oli.className = "selected";                    return false                     }                } else if (inputs[0].checked) {                    return false;                }                if(inputs[0].checked) dli = lis[i];                if(!oli) inputs[0].style.visibility = 'hidden';                if(dli) inputs[1].style.visibility = 'hidden';                lis[i].className = "selected";                oli = lis[i];            }  else { // no radio is checked in this row                if(!oli) inputs[0].style.visibility = 'hidden';                else inputs[0].style.visibility = 'visible';                if(dli) inputs[1].style.visibility = 'hidden';                else inputs[1].style.visibility = 'visible';                lis[i].className = "";            }        }    }}
meta: 7642	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7642/a473d6ec1a46d0ad3a728b112431ebfde164928c/wikibits.js/buggy/skins/common/wikibits.js