
<!--
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="/index.html"><img src="/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:36px;">');
document.write('<ul id="sddm" class="tabs4">');
document.write('<li><a href="/index.html" class="left">Home</a>');
document.write('</li>');
document.write('<li><a href="/who_we_are/index.html" onmouseover="mopen(\'m2\')" onmouseout="mclosetime()">Who We Are</a>');
document.write('<div id="m2" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">');
document.write('<a href="/who_we_are/index.html">About Dearborn National</a>');
document.write('<a href="/who_we_are/financial_strength.html">Financial Strength</a>');
document.write('<a href="/who_we_are/company_overview.html">Company Overview</a>');
document.write('<a href="/who_we_are/newsroom/index.html">Newsroom</a>');
document.write('<a href="/who_we_are/leadership/index.html">Leadership</a>');
document.write('<a href="/who_we_are/careers/index.html">Careers</a>');
document.write('<a href="/who_we_are/contact_us/index.html">Contact Us</a>');
document.write('</div>');
document.write('</li>');
document.write('<li><a href="/products/index.html" onmouseover="mopen(\'m3\')" onmouseout="mclosetime()">Products</a>');
document.write('<div id="m3" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">');
document.write('<a href="/products/index.html">Products Overview</a>');
document.write('<a href="/products/dental/index.html">Dental</a>');
document.write('<a href="/products/life/index.html">Life</a>');
document.write('<a href="/products/disability/index.html">Disability</a>');
document.write('<a href="/products/critical_illness/index.html">Critical Illness</a>');
document.write('<a href="/products/value_added_services/index.html">Value-Added Services</a>');
document.write('<a href="/products/international_solutions/index.html">International Solutions</a>');
document.write('</div>');
document.write('</li>');
document.write('<li><a href="/forms/index.html" onmouseover="mopen(\'m4\')" onmouseout="mclosetime()" class="right">Forms</a>');
document.write('<div id="m4" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">');
document.write('<a href="/forms/index.html">Forms Menu</a>');
document.write('<a href="/forms/group.html">Group Benefits</a>');
document.write('<a href="/forms/annuity.html">Annuity Products</a>');
document.write('<a href="/forms/worksite_individual.html">Worksite & Individual</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";
            }
        }
    }
}
