<html>
<head></head>
<body>
<div id="id1" οnmοuseοver="over()" οnmοuseοut="out()" style="width:100px;height:100px;border:1px solid red;"></div>
<div id="id2" style="width:100px;height:100px;border:1px solid blue;display:none;"></div>
<script>
function over(){
x=document.getElementById("id2");
x.style.display="block";
}
function out(){
x=document.getElementById("id2");
x.style.display="none";
}
</script>
</body>
</html>