var curNav = '';


function ChangePassword()
{
  var popup = window.open('/change-password.nu', 'NU', 'width=650,height=400,toolbar=0,scrollbars=0,status=1,menubar=0,location=0');
  popup.opener = window;
}

function showLogin2(WhichSite)
{
  document.getElementById('LogIntoEMail').style.display = 'none';
  document.getElementById('LogIntoDiscovery').style.display = 'none';
  document.getElementById('LogIntoIQWeb').style.display = 'none';
  
  new Effect.Grow('overlay');
  
  setTimeout('new Effect.BlindDown(\'LogInto' + WhichSite + '\')', 1000);
  
  setTimeout('document.getElementById(\'Focus-' + WhichSite + '\').focus()', 1500);
}

function showNav(WhichNav)
{
  if(curNav != WhichNav)
  {
    if(curNav == '')
    { new Effect.BlindDown(WhichNav); }
    else
    {
      new Effect.BlindUp(curNav);
      
      setTimeout('new Effect.BlindDown(' + WhichNav + ')', 1250);
    }
    
    curNav = WhichNav;
  }
  else
  {
    new Effect.BlindUp(WhichNav);
    
    curNav = '';
  }
}

function table1_over(row)
{ row.setAttribute('bgcolor', '#ffffcc', 0); }

function table1_out(row, color)
{ row.setAttribute('bgcolor', color, 0); }