var boxoverShim; if (window.createPopup && !window.XmlHttpRequest) { document.write('') boxoverShim = document.getElementById("boxoverShim"); } function showShim(boxoverObject) { try { with (boxoverShim.style) { var pp=getPosition(boxoverObject); left = pp[0]-14; top = pp[1]+3; width = boxoverObject.offsetWidth+"px"; height = eval(boxoverObject.offsetHeight-9)+"px"; display = (boxoverObject.style.visibility == "visible") ? "block" : "none"; } } catch (e) {} } function hideShim(boxoverObject) { try { boxoverShim.style.display = 'none'; } catch (e) {} } var m_id=[0]; var m_ind=[0]; var timer_id=null; var MenuTimeOut=1000; function set_over(id) { } function setImgOffExceptingOne(id) { } function reset_over(id) { if (document.getElementById('h'+id).src){ document.getElementById('h'+id).src = help_image; } else{ } } function set_img(id, img){ var imgObj = document.getElementById(id); if (imgObj != null) { imgObj.src = img; } } function m_over(m_id1,m_id2) { m_rtimer(); if (m_ind[m_id1]!=null) hide_ms(m_ind[m_id1]+1); if (m_id2!=0) { m_visibility(m_id2,'visible'); m_ind[m_id2]=m_id.length; m_id[m_id.length]=m_id2; } } function m_out() { if (timer_id!=null) { return; } if (m_id.length==1) { return; } timer_id=setTimeout('m_hide()',MenuTimeOut); } function m_in() { m_rtimer(); } function m_hide() { if (m_id.length>2) { hide_ms(m_id.length-1); timer_id=setTimeout('m_hide()',MenuTimeOut); } else { hide_ms(1); timer_id=null; } } function hide_ms(i) { var j; for(j=m_id.length-1;j>=i;j--) { m_ind[m_id[j]]=null; m_visibility(m_id[j],'hidden'); reset_over(m_id[j]); } m_id.length=i; } function m_visibility(id,visibility) { var dm=document.getElementById('menu'+id); if (dm) { if (visibility=="hidden") { hideShim(dm); } //if (document.getElementById) dm.style.visibility=visibility; //else document.all['dropmenu'+id].style.visibility=visibility; if (visibility=="visible") { showShim(dm); } } } function m_rtimer() { if (timer_id!=null) { clearTimeout(timer_id); timer_id=null; } } function m_do_hide() { m_rtimer(); m_hide(); } document.onclick=m_do_hide;