
<!--
  var nsoImageTypeNormal      = 0;
  var nsoImageTypeHover       = 1;
  var nsoImageTypeActive      = 2;
  var nsoImageTypeActiveHover = 3;

  var nsoMenuHostname = document.location.hostname;
  var nsoMenuPort     = (document.location.port == '') ? '' : ':' + document.location.port;

  var nsoProtocolTypeHTTP  = 'http://' + nsoMenuHostname + nsoMenuPort;
  var nsoProtocolTypeHTTPS = 'https://' + nsoMenuHostname + nsoMenuPort;
  var nsoProtocolTypeNone  = '';

  var nsoMainMenuNormal     = '<td><a href="#HREF" onMouseOver="nsoSwapImage(\'#NAME\', nsoImageTypeHover);" onMouseOut="nsoSwapImage(\'#NAME\', nsoImageTypeNormal);"><img name="#NAME" src="/networkservices/images/navbar/#NAME_0.gif" width="#WIDTH" height="26px" border="0"></a></td>';
  var nsoMainMenuActive     = '<td><img src="/networkservices/images/navbar/#NAME_2.gif" width="#WIDTH" height="26px" border="0"></td>';
  var nsoMainMenuActiveLink = '<td><a href="#HREF"  onMouseOver="nsoSwapImage(\'#NAME\', nsoImageTypeActiveHover);" onMouseOut="nsoSwapImage(\'#NAME\', nsoImageTypeActive);"><img name="#NAME" src="/networkservices/images/navbar/#NAME_2.gif" width="#WIDTH" height="26px" border="0"></a></td>';

  var nsoSubMenuNormal     = '<td><a href="#HREF" onMouseOver="nsoSwapImage(\'#NAME\', nsoImageTypeHover);" onMouseOut="nsoSwapImage(\'#NAME\', nsoImageTypeNormal);"><img name="#NAME" src="/networkservices/images/navbar/#NAME_0.gif" width="#WIDTH" height="22px" border="0"></a></td>';
  var nsoSubMenuActive     = '<td><img src="/networkservices/images/navbar/#NAME_2.gif" width="#WIDTH" height="22px" border="0"></td>';
  var nsoSubMenuActiveLink = '<td><a href="#HREF" onMouseOver="nsoSwapImage(\'#NAME\', nsoImageTypeActiveHover);" onMouseOut="nsoSwapImage(\'#NAME\', nsoImageTypeActive);"><img name="#NAME" src="/networkservices/images/navbar/#NAME_2.gif" width="#WIDTH" height="22px" border="0"></a></td>';
  var nsoSubMenuInactive   = '<td><img src="/networkservices/images/navbar/#NAME_0.gif" width="#WIDTH" height="22px" border="0"></td>';

  function nsoMenuImage(name, width, protocol, href)
  {
      this.name     = name;
      this.width    = width;
      this.protocol = protocol;
      this.href     = href;
  }


  var nsoMainMenuArray = new Array( new nsoMenuImage('Home',            '86px', nsoProtocolTypeHTTP, '/NETWORKSERVICES/home.jsp'),
                                    new nsoMenuImage('Clinical_Tools', '118px', nsoProtocolTypeHTTP, '/NETWORKSERVICES/clintools.jsp'),
                                    new nsoMenuImage('Admin_Tools',    '118px', nsoProtocolTypeHTTP, '/NETWORKSERVICES/admintools.jsp'),
                                    new nsoMenuImage('Client_Info',    '123px', nsoProtocolTypeHTTP, '/NETWORKSERVICES/clientinfo.jsp')
                                  );

  var nsoSubMenuArray;

  switch(nsoMainMenuID)
  {
      case 0:
          nsoSubMenuArray = new Array( new nsoMenuImage('Sub_Home', '494px', null)
                                     );
          break;
      case 1:
          nsoSubMenuArray = new Array( new nsoMenuImage('Sub_Utilization_Review', '116px', nsoProtocolTypeHTTP, '/networkservices/UtilizationReview.html'),
                                       new nsoMenuImage('Sub_Guidelines',          '93px', nsoProtocolTypeHTTP, '/networkservices/clinical.html')
                                       
                                     );
          break;
      case 2:
          nsoSubMenuArray = new Array( new nsoMenuImage('Sub_Referrals',         '78px', nsoProtocolTypeHTTP, '/networkservices/referraltools.html'),
                                       new nsoMenuImage('Sub_Payer_Path',        '96px', nsoProtocolTypeNone, 'https://www.payerpath.com/loadproduct.asp?groupid=74'),
                                       new nsoMenuImage('Sub_Reference',         '81px', nsoProtocolTypeHTTP, '/networkservices/referencetools.html')
                                       
                                     );
          break;
      case 3:
          nsoSubMenuArray = new Array( new nsoMenuImage('Sub_Comprehensive_Client_List', '155px', nsoProtocolTypeHTTP, '/networkservices/payor_reports.html'),
									   new nsoMenuImage('Sub_Benefit_Card',               '92px', nsoProtocolTypeHTTP, '/networkservices/pdfs/GuideLines/fh-id.pdf')
                                     );
          break;
  }

  function nsoReplaceVariables(output, nsoImage)
  {
      output = output.replace(/#NAME/g,  nsoImage.name);
      output = output.replace(/#WIDTH/g, nsoImage.width);
      output = output.replace(/#HREF/g,  nsoImage.protocol + nsoImage.href);

      return output;
	  
	     if (window.location.href = "http://ptrws112-fhepreview.firsthealth.com/NETWORKSERVICES/ccl.jsp")
	{window.location.href = "http://ptrws112-fhepreview.firsthealth.com/networkservices/payor_reports.html"}
  }

  function nsoOutputMainMenu()
  {
      var output = '';

      for (var i=0; i<nsoMainMenuArray.length; i++)
      {
          if (i == nsoMainMenuID)
          {
              if (nsoHightlightMainMenu)
              {
                  output = nsoMainMenuActiveLink;
              }
              else
              {
                  output = nsoMainMenuActive;
              }
          }
          else
          {
              output = nsoMainMenuNormal;
          }

          document.write(nsoReplaceVariables(output, nsoMainMenuArray[i]) + '\n');
      }
  }

  function nsoOutputSubMenu()
  {
      var output = '';

      for (var i=0; i<nsoSubMenuArray.length; i++)
      {
          if (i == nsoSubMenuID)
          {
              if (nsoHightlightSubMenu)
              {
                  output = nsoSubMenuActiveLink;
              }
              else
              {
                  output = nsoSubMenuActive;
              }
          }
          else
          {
              if (nsoSubMenuArray[i].href == null)
              {
                  output = nsoSubMenuInactive;
              }
              else
              {
                  output = nsoSubMenuNormal;
              }
          }

          document.write(nsoReplaceVariables(output, nsoSubMenuArray[i]) + '\n');
      }
  }

  function nsoSwapImage(which, type)
  {
      if (document.images)
      {
          document.images[which].src = "/networkservices/images/navbar/" + which + "_" + type + ".gif";
      }
	 
  }


//-->
//new nsoMenuImage('Sub_My_Account',        '93px', nsoProtocolTypeHTTP, '/NETWORKSERVICES/myaccount.jsp')

//new nsoMenuImage('Sub_Internet_Visits',     '91px', nsoProtocolTypeHTTPS, '/iVisits/')