
<!--
var timeout         = 100;
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('.logintop, .alert{padding-bottom:1px;}');
document.write('.triangle{top:-2px;}');
document.write('.on_tab1,.on_tab2,.on_tab3,.on_tab4,.on_tab5,.on_tab6{top:-3px;}');
document.write('</style>');
document.write('<![endif]--> ');

document.write('<div class="tabholder">');

// 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 style="float:left;">');
document.write('<ul id="sddm" class="tabs4"> ');
document.write('<li><a href="/getting_started/index.html" onmouseover="mopen(\'m1\')" onmouseout="mclosetime()" class="left twolinessp">Insurance Basics</a>');
document.write('<div id="m1" onmouseover="mcancelclosetime()" onmouseout="mclosetime()"> ');
document.write('<a href="/getting_started/health_insurance/index.html">Understanding Health Insurance</a> ');
document.write('<a href="/getting_started/medicare/index.html">Understanding Medicare</a> ');
document.write('<a href="/getting_started/how_to_shop/index.html">How to shop for Health Insurance</a> ');
document.write('<a href="/getting_started/plans_different_people/index.html">Plans for People Like You</a> ');
document.write('<a href="/getting_started/making_insurance_work/index.html">Making Insurance Work for You</a> ');
document.write('<a href="/getting_started/register/index.html">Ready to Register?</a> ');
document.write('</div> ');
document.write('</li> ');
document.write('<li><a href="/coverage/index.html" onmouseover="mopen(\'m2\')" onmouseout="mclosetime()">Coverage Options</a> ');
document.write('<div id="m2" onmouseover="mcancelclosetime()" onmouseout="mclosetime()"> ');
document.write('<a href="/coverage/individual/index.html">Individual and Family Plans</a> ');
document.write('<a href="/coverage/medicare/index.html">Medicare and Retirement</a> ');
document.write('<a href="/coverage/medicaid/index.html">Medicaid and Medical Assistance Programs</a> ');
document.write('<a href="/coverage/group/index.html">Employer Offered Plans</a> ');
document.write('</div> ');
document.write('</li> ');
document.write('<li><a href="/health/index.html" onmouseover="mopen(\'m3\')" onmouseout="mclosetime()">Health and Wellness</a> ');
document.write('<div id="m3" onmouseover="mcancelclosetime()" onmouseout="mclosetime()"> ');
document.write('<a href="/health/preventive_care/index.html">Preventive Care</a> ');
document.write('<a href="/health/coping/index.html">Coping with Illness</a> ');
document.write('<a href="/health/achieving_wellness/index.html">Achieving Wellness</a> ');
document.write('</div> ');
document.write('</li> ');
document.write('<li><a href="/member/index.html" class="right">Already a Member?</a> ');
document.write('</li> ');
document.write('</ul> ');
document.write('</div>');
document.write('<div class="logintop">');
// insert alert below

document.write('<!--<b>News Alert:</b> Swine flu hits<br>midwest. <a href="#">See full report</a>-->');

// end alert message
document.write('<div class="panel_button" style="display: visible;">');
document.write('<a href="/login.html" />Log In</a> ');
document.write('</div>');
document.write('<div style="clear:both"></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";
            }
        }
    }
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
