      function getList( iSelectedIndex )
      {
         var oForm = document.forms["frmProfile"];
         var txtYearlyType = oForm.txtYearlyType.value;
         var txtSurveyYear = oForm.txtSurveyYear.value;
         var txtSurveyType = oForm.txtSurveyType.value;
         var txtStep2 = oForm.txtStep2[ getSelectedButton( oForm.txtStep2 ) ].value;
         var intStep3 = oForm.intStep3[ getSelectedButton( oForm.intStep3 ) ].value;

         if ( iSelectedIndex != null )
         {
            oForm.txtStep1.options[ iSelectedIndex - 01 ].selected = true;
         }

		 var txtStep1 = oForm.txtStep1.options[ oForm.txtStep1.options.selectedIndex ].value;
		 
         window.location = "/acs/www/Products/Profiles/" + txtYearlyType + "/" + 
                           txtSurveyYear + "/" + txtSurveyType + "/" + 
                           txtStep1 + ".htm?Type=" + txtStep2 + "&Table=" + 
                           intStep3 + "&State=" + oForm.txtStep1.options.selectedIndex;
      }

      function getProfile( sGeoID )
      {
         var oForm = document.forms["frmProfile"];
         var sYearlyType = oForm.txtYearlyType.value;
         var sSurveyYear = oForm.txtSurveyYear.value;
         var sSurveyType = oForm.txtSurveyType.value;

         // sProfileType and iTableID are global variables declared and set
         // in the calling program (each state file)
         
         if ( sProfileType.toUpperCase() == "TABULAR" )
         {
            LaunchWindow( "/acs/www/Products/Profiles/" + sYearlyType + "/" +
                          sSurveyYear + "/" + sSurveyType + "/" + 
                          sProfileType + "/" + sGeoID.substr( 00, 03 ) + "/" + 
                          sGeoID + iTableID + ".htm", "Profile", 
                          screen.availWidth - 50, screen.availHeight - 50 );
         }
         else
         {
            LaunchWindow( "/acs/www/Products/Profiles/" + sYearlyType + "/" +
                          sSurveyYear + "/" + sSurveyType + "/" + 
                          sProfileType + "/" + sGeoID.substr( 00, 03 ) + "/" + 
                          "NP" + sGeoID + ".htm", "Profile", 
                          screen.availWidth - 50, screen.availHeight - 50 );
         }
      }

      function getSelectedButton( oGroup )
      {
         for ( var i = 00; i < oGroup.length; i++ )
         {
            if ( oGroup[ i ].checked )
            {
               return i;
            }
         }
         return 00;
      }
      
      function setList( iSelectedIndex )
      {
         var oForm = document.forms["frmProfile"];
         
         with ( oForm.txtStep1 )
         {
            if ( iSelectedIndex != null )
            {
               options[ iSelectedIndex - 01 ].selected = true;
            }
         }
      }