
<!--
var timeout         = 0;
var closetimer      = 0;
var ddmenuitem      = 0;

// open hidden layer
function mopen(id)
{   
    // cancel close timer
    mcancelclosetime();

    // close old layer
    if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';

    // get new layer and show it
    ddmenuitem = document.getElementById(id);
    ddmenuitem.style.visibility = 'visible';

}
// close showed layer
function mclose()
{
    if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
}

// go close timer
function mclosetime()
{
    closetimer = window.setTimeout(mclose, timeout);
}

// cancel close timer
function mcancelclosetime()
{
    if(closetimer)
    {
        window.clearTimeout(closetimer);
        closetimer = null;
    }
}


// close layer when click-out
document.onclick = mclose; 
// -->

document.write('<!--[if IE 6]>');
document.write('<style>');
document.write('.triangle{top:-6px;}');
document.write('.on_tab1,.on_tab2,.on_tab3,.on_tab4,.on_tab5,.on_tab6,.on_tab7{top:-6px;}');
document.write('</style>');
document.write('<![endif]-->');

// FOR TWO LINES OF TEXT WITHIN TABS, USE "twolines" CLASS (EX: class="tab1 left twolines")
// CHANGE UL CLASS TO MATCH NUMBER OF TABS (EX: For four tabs, use class="tabs4")

document.write('<div class="tabholder">');

document.write('<div style="float:left;">');
document.write('<div class="dnLogoButton">');
document.write('<a href="/ut/index.html"><img src="/ut/images/dn_header/spacer.gif" height="60" width="200" border="0" alt="Dearborn National"></a>');
document.write('</div>');
document.write('</div>');

document.write('<div style="float:left; padding-top:71px;">');
document.write('<ul id="sddm" class="tabs4">');
document.write('<li><a href="/ut/index.html" class="left">Home</a>');
document.write('</li>');
document.write('<li><a href="/ut/lang_en/employees/employees.html" onmouseover="mopen(\'m2\')" onmouseout="mclosetime()">Employees</a>');
document.write('<div id="m2" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">');
//document.write('<a href="/ut/lang_en/employees/employees.html">Employee Benefits</a>');
document.write('<a href="/ut/lang_en/employees/gtl.html">Life Insurance</a>');
document.write('<a href="/ut/lang_en/employees/add.html" class="twolinesUT">Accidental Death and<br>Dismemberment</a>');
document.write('<a href="/ut/lang_en/employees/std.html">Short-Term Disability</a>');
document.write('<a href="/ut/lang_en/employees/ltd.html">Long-Term Disability</a>');
document.write('<a href="/ut/lang_en/resources/online_beneficiary_management.html" class="twolinesUT">Online Beneficiary<br>Management</a>');
document.write('<a href="/ut/lang_en/resources/online_will_preparation.html">Online Will Preparation</a>');
document.write('<a href="/ut/lang_en/forms/employee_forms.html">Forms</a>');
document.write('<a href="/ut/lang_en/faq/faq_ee.htm">FAQ - Employees</a>');
document.write('<a href="/ut/lang_en/resources/resources.html">Other Resources</a>');
document.write('</div>');
document.write('</li>');
document.write('<li><a href="/ut/lang_en/ret_employees/ret_employees.html" onmouseover="mopen(\'m3\')" onmouseout="mclosetime()">Retired Employees</a>');
document.write('<div id="m3" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">');
document.write('<a href="/ut/lang_en/ret_employees/gtl.html">Life Insurance</a>');
document.write('<a href="/ut/lang_en/resources/online_beneficiary_management.html" class="twolinesUT">Online Beneficiary<br>Management</a>');
document.write('<a href="/ut/lang_en/resources/online_will_preparation.html">Online Will Preparation</a>');
document.write('<a href="/ut/lang_en/forms/retired_employee_forms.html">Forms</a>');
document.write('<a href="/ut/lang_en/faq/faq_re.htm" class="twolinesUT">FAQ - Retired<br>Employees</a>');
document.write('<a href="/ut/lang_en/resources/resources.html">Other Resources</a>');
document.write('</div>');
document.write('</li>');
document.write('<li><a href="/ut/lang_en/forms/forms.html" onmouseover="mopen(\'m4\')" onmouseout="mclosetime()">Forms</a>');
document.write('<div id="m4" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">');
document.write('<a href="/ut/lang_en/forms/employee_forms.html">Employees</a>');
document.write('<a href="/ut/lang_en/forms/retired_employee_forms.html">Retired Employees</a>');
document.write('</div>');
document.write('</li>');
document.write('<li><a href="/ut/lang_en/resources/resources.html" onmouseover="mopen(\'m5\')" onmouseout="mclosetime()" class="right">Resources</a>');
document.write('<div id="m5" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">');
document.write('<a href="/ut/lang_en/resources/online_beneficiary_management.html">Beneficiary Management</a>');
document.write('<a href="/ut/lang_en/resources/online_will_preparation.html">Online Will Preparation</a>');
document.write('<a href="/ut/lang_en/resources/disability_resource_services.html" class="twolinesUT">Disability Resource<br>Services</a>');
document.write('<a href="/ut/lang_en/resources/beneficiary_resources_online.html"  class="twolinesUT">Beneficiary Resource<br>Services</a>');
document.write('<a href="/ut/lang_en/resources/travel_resources.html" class="twolinesUT">Travel Resource<br>Services</a>');
document.write('<a href="/ut/lang_en/resources/blue_carelink.html">Blue Care<em>Link</em></a>');
document.write('<a href="/ut/lang_en/faq/faq_ee.htm">FAQ - Employees</a>');
document.write('<a href="/ut/lang_en/faq/faq_re.htm" class="twolinesUT">FAQ - Retired<br>Employees</a>');
document.write('</div>');
document.write('</li>');
document.write('</ul>');
document.write('</div>');

//document.write('<div class="logintop">');
//document.write('<div class="individual_button" style="display: visible;">');
//document.write('<img src="images/dn_header/spacer.gif" height="36" width="10" border="0" alt="">');
//document.write('<a href="/individuals/index.html" />Individual</a>');
//document.write('</div>');
//document.write('<div class="employer_button" style="display: visible;">');
//document.write('<img src="images/dn_header/spacer.gif" height="36" width="10" border="0" alt="">');
//document.write('<a href="/employers/index.html" />Employer</a>');
//document.write('</div>');
//document.write('<div class="producer_button" style="display: visible;">');
//document.write('<img src="images/dn_header/spacer.gif" height="36" width="10" border="0" alt="">');
//document.write('<a href="/producers/index.html" />Producer</a>');
//document.write('</div>');
//document.write('<div style="clear:both"></div>');
//document.write('</div>');

document.write('</div>');

//Code for glossary and external link popups
var cX = 0; var cY = 0; var rX = 0; var rY = 0;
function UpdateCursorPosition(e){cX = e.pageX; cY = e.pageY;}
function UpdateCursorPositionDocAll(e){
    if (!e){
        var e = window.event;
    }
    cX = e.clientX; cY = e.clientY;
}

if(document.all) { document.onmousemove = UpdateCursorPositionDocAll; }
else { document.onmousemove = UpdateCursorPosition; }

function AssignPosition(d) {

    if(self.pageYOffset) {
        rX = self.pageXOffset;
        rY = self.pageYOffset;
    }
    else if(document.documentElement && document.documentElement.scrollTop) {
        rX = document.documentElement.scrollLeft;
        rY = document.documentElement.scrollTop;
    }
    else if(document.body) {
        rX = document.body.scrollLeft;
        rY = document.body.scrollTop;
    }
    if(document.all) {
cX += rX;
cY = cY+rY+10;
    }
    d.style.left = (cX-155) + "px";
    d.style.top = (cY+15) + "px";
}

function toggleDiv(id,flagit) {
    if (flagit=="1"){
        if (document.layers){
            document.layers[''+id+''].visibility = "show";document.layers[''+id+''].display="block";AssignPosition(document.layers[''+id+'']);
        }else if (document.all){
            document.all[''+id+''].style.visibility = "visible";document.all[''+id+''].style.display="block";AssignPosition(document.all[''+id+'']);
        }else if (document.getElementById){
            document.getElementById(''+id+'').style.visibility = "visible";document.getElementById(''+id+'').style.display="block";AssignPosition(document.getElementById(''+id+''));
        }
    }else{
        if (flagit=="0"){
            if (document.layers){
                document.layers[''+id+''].visibility = "hide";document.layers[''+id+''].display="none";
            }else if (document.all){
                document.all[''+id+''].style.visibility = "hidden";document.all[''+id+''].style.display="none";
            }else if (document.getElementById){
                document.getElementById(''+id+'').style.visibility = "hidden";document.getElementById(''+id+'').style.display="none";
            }
        }
    }
}
