<li onmouseover="pand(this,'display');" onmouseout="pand(this,'hidden');">
<div id='small'>
asdfasdf
</div>
</li>
function pand(obj, cName) {
switch (cName) {
case 'display':
obj.className = 'on';
break;
case 'hidden':
obj.className = '';
break;
}
var objNodes = obj.childNodes;
for (var i = 0; i < objNodes.length; i++) {
if (objNodes[i].id == 'small') {
objNodes[i].className = cName;
break;
}
else {
continue;
}
}
}