I have a script that makes the element display = block using onmouseover
<script language="JavaScript">
function aaa()
{
document.getElementById('cat').style.display = "block";
}
</script>
<a href='#' onmouseover='aaa()'>hover on me</a>
<div id='cat' style='display:none;'>this will show</div>
I wanted to return that element back to it's original display properties (none) when the mouse isn't over the
"<a href='#' onmouseover='aaa()'>hover on me</a>"
how can I do this?