<ul class="subM" id="sub1">
<li>서브메뉴1</li>
<li>서브메뉴1</li>
<li>서브메뉴1</li>
</ul>
</div>
<div class="mainM" onmouseover="showLayer(2)" onmouseout="mouseOut(event, this, 2)">메인메뉴2
<ul class="subM" id="sub2">
<li>서브메뉴2</li>
<li>서브메뉴2</li>
<li>서브메뉴2</li>
</ul>