Hi team, the hover effect was created in dreamwaver and it works perfectly when used in table. but something seems unusual with hover effect once use in div. Can I apply the same effect in divs without changing any codes in javascript.

code
Code:
<div id="home"><a href="default.aspx" onmouseout="MM_swapImgRestore()" 
onmouseover="MM_swapImage('home','','_images/hover/home.jpg',1)">
<img src="_images/click/home.jpg"  alt="home"/></a></div>