<script type="text/javascript">
function openMenu(node) {
var style,
subMenu = node.parentNode.getElementsByTagName("ul")[0];
if ( subMenu.ownerDocument && subMenu.ownerDocument.defaultView ) {
style = subMenu.ownerDocument.defaultView.getComputedStyle( subMenu, null );
} else if ( subMenu.currentStyle ) {
style = subMenu.currentStyle;
}
style.display == "none" ? subMenu.style.display = "block" : subMenu.style.display = "none";
}
</script> |