jQuery has a great helper function called hover which takes two functions as it’s values.
$('#hover_div').hover(function()
{
/* something to do on mouseenter */
},
function()
{
/* something to do on mouseleave */
});
Great when you want a simple way of doing something when your mouse enters or leaves the selected element(s).