//first we check the browser name and version to be ie6
if((navigator.appName==”Microsoft Internet Explorer”) && (parseInt(navigator.appVersion) <=6)) {
//then we browse through the li tags
var target=document.getElementById(’target’).getElementsByTagName(’li’);
for(i=0; i<target.length; i++) {
//then we set that on mouseover event to add besides the actual class the “over” class, and on mouseout to remove the over class
target[i].onmouseover=function() { this.className+=” over”; }
target[i].onmouseout=function() { this.className=this.className.replace(” over”, “”); }
}
}