function $(id) { return document.getElementById(id); } function ShowMenu (menuId, state) { if(state == "none" || state == "" || state == null) $(menuId).style.display = "block"; else $(menuId).style.display = "none"; //$(menuId).style.display = (state == "none" || state == "" || state == null) ? 'block' : 'none'; } function toggleDisplay(menuId, state) { var obj = $(menuId); var parent = $('hSubNavHolder'); var uls = parent.getElementsByTagName('ul'); for (var i=0; i < uls.length; i++) { uls[i].style.display = 'none'; } ShowMenu(menuId, state); } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i