<attach for=element event=onmouseover handler=topm>
<attach for=element event=onmouseout handler=verm>
<script>
  function topm(){element.className += ' hover';}
  function verm(){element.className = element.className.replace(/ hover/g, '');}
</script>