<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var arrItems1 = new Array();
var arrItemsGrp1 = new Array();

arrItems1[3] = "Continuing Education - Agent";
arrItemsGrp1[3] = 1;
arrItems1[4] = "Continuing Education - Broker/Principal";
arrItemsGrp1[4] = 1;
arrItems1[5] = "Designation/Certification";
arrItemsGrp1[5] = 1;
arrItems1[6] = "Licensing - Agent";
arrItemsGrp1[6] = 1;
arrItems1[7] = "Licensing - Broker/Principal";
arrItemsGrp1[7] = 1;
arrItems1[8] = "Mentoring/Coaching";
arrItemsGrp1[8] = 1;
arrItems1[9] = "Skill Based Training ";
arrItemsGrp1[9] = 1;
arrItems1[10] = "Proficiency";
arrItemsGrp1[10] = 1;
arrItems1[11] = "Other Events";
arrItemsGrp1[11] = 1;

arrItems1[12] = "Exam Prep - Cram Courses";
arrItemsGrp1[12] = 2;
arrItems1[13] = "License - Appraiser";
arrItemsGrp1[13] = 2;
arrItems1[14] = "License - Loan Officer";
arrItemsGrp1[14] = 2;
arrItems1[15] = "Post-License - Real Estate";
arrItemsGrp1[15] = 2;
arrItems1[16] = "Pre-License - Real Estate";
arrItemsGrp1[16] = 2;

arrItems1[17] = "Appraiser";
arrItemsGrp1[17] = 3;
arrItems1[18] = "Loan Officer";
arrItemsGrp1[18] = 3;
arrItems1[19] = "Real Estate Broker ";
arrItemsGrp1[19] = 3;
arrItems1[20] = "Real Estate Agent";
arrItemsGrp1[20] = 3;
arrItems1[21] = "Other";
arrItemsGrp1[21] = 3;

arrItems1[22] = "Coaching and Mentoring";
arrItemsGrp1[22] = 4;
arrItems1[23] = "Designations and Certifications";
arrItemsGrp1[23] = 4;
arrItems1[24] = "Skills Based Training ";
arrItemsGrp1[24] = 4;
arrItems1[25] = "Proficiency and Technology";
arrItemsGrp1[25] = 4;
arrItems1[26] = "Seminars and Conventions";
arrItemsGrp1[26] = 4;
arrItems1[27] = "Other";
arrItemsGrp1[27] = 4;

arrItems1[28] = "Appraisal";
arrItemsGrp1[28] = 5;
arrItems1[29] = "Continuing Education";
arrItemsGrp1[29] = 5;
arrItems1[30] = "Inspection";
arrItemsGrp1[30] = 5;
arrItems1[31] = "Licensing";
arrItemsGrp1[31] = 5;
arrItems1[32] = "Test";
arrItemsGrp1[32] = 5;


var arrItems2 = new Array();
var arrItemsGrp2 = new Array();


arrItems2[33] = "Exam Prep For Agents RL025";
arrItemsGrp2[33] = 12
arrItems2[34] = "Exam Prep For Brokers RL026";
arrItemsGrp2[34] = 12

arrItems2[35] = "Appraiser Pre-License RL017";
arrItemsGrp2[35] = 13
arrItems2[36] = "Appraiser Practice RL018";
arrItemsGrp2[36] = 13
arrItems2[37] = "Appraiser Procedures RL019";
arrItemsGrp2[37] = 13
arrItems2[38] = "USPAP RL020";
arrItemsGrp2[38] = 13

arrItems2[39] = "Loan Officer/Mortgage Broker Pre-License RL021";
arrItemsGrp2[39] = 14
arrItems2[40] = "Real Estate Finanace/Mortgage Lending RL022";
arrItemsGrp2[40] = 14
arrItems2[41] = "Real Estate Law/Contracts RL023";
arrItemsGrp2[41] = 14
arrItems2[42] = "Real Estate Practice/Brokerage RL024";
arrItemsGrp2[42] = 14

arrItems2[43] = "Sales Associate/Agent Post License RL010";
arrItemsGrp2[43] = 15
arrItems2[44] = "Real Estate Post License RL011";
arrItemsGrp2[44] = 15
arrItems2[45] = "Real Estate Finance/Mortgage Lending RL012";
arrItemsGrp2[45] = 15
arrItems2[46] = "Real Estate Law/Contracts RL013";
arrItemsGrp2[46] = 15
arrItems2[47] = "Real Estate Practice/Brokerage RL014";
arrItemsGrp2[47] = 15
arrItems2[48] = "Real Estate Principals/Fundamentals RL015";
arrItemsGrp2[48] = 15
arrItems2[49] = "Property Management RL016";
arrItemsGrp2[49] = 15

arrItems2[50] = "Agent/Sales Associate Pre-License RL001";
arrItemsGrp2[50] = 16
arrItems2[51] = "Sales Associate/Agent Pre-License RL002";
arrItemsGrp2[51] = 16
arrItems2[52] = "Broker/Principal Pre-License RL003";
arrItemsGrp2[52] = 16
arrItems2[53] = "Associate/Affiliate Broker License RL004";
arrItemsGrp2[53] = 16
arrItems2[54] = "Real Estate Finance RL005";
arrItemsGrp2[54] = 16
arrItems2[55] = "Real Estate Law/Contracts RL006";
arrItemsGrp2[55] = 16
arrItems2[56] = "Real Estate Practice/Brokerage RL007";
arrItemsGrp2[56] = 16
arrItems2[57] = "Real Estate Math RL008";
arrItemsGrp2[57] = 16
arrItems2[58] = "Property Management RL009";
arrItemsGrp2[58] = 16

arrItems2[59] = "Accredited Real Estate Professional (AREP)-(REPS)-RC013";
arrItemsGrp2[59] = 5
arrItems2[60] = "Career Management Real Estate Professional(CMREP)-(REPS)-RC007";
arrItemsGrp2[60] = 5
arrItems2[61] = "Commercial Real Estate Professional (CREP)-(REPS)-RC008";
arrItemsGrp2[61] = 5
arrItems2[62] = "Consumer Certified Real Estate Consultant (C-CREC)-(NAREC)-RC012";
arrItemsGrp2[62] = 5
arrItems2[63] = "E-Business Real Estate Professional (EREP)-(REPS)-RC014 ";
arrItemsGrp2[63] = 5
arrItems2[64] = "Mortgage Real Estate Professional (MREP)-(REPS)-RC016";
arrItemsGrp2[64] = 5
arrItems2[65] = "Referral Real Estate Professional (RREP)-(REPS)-RC015";
arrItemsGrp2[65] = 5
arrItems2[66] = "Senior Housing Specialist (SRES)-(SAREC)-RC011";
arrItemsGrp2[66] = 5



function selectChange(control, controlToPopulate, ItemArray, GroupArray)
{
  var myEle ;
  var x ;
  // Empty the second drop down box of any choices
  for (var q=controlToPopulate.options.length;q>=0;q--) controlToPopulate.options[q]=null;
  if (control.name == "firstChoice") {
    // Empty the third drop down box of any choices
    for (var q=myChoices.thirdChoice.options.length;q>=0;q--) myChoices.thirdChoice.options[q] = null;
 }
  // ADD Default Choice - in case there are no values
  myEle = document.createElement("option") ;
  myEle.value = 0 ;
  myEle.text = "[SELECT]" ;
  controlToPopulate.add(myEle) ;
  // Now loop through the array of individual items
  // Any containing the same child id are added to
  // the second dropdown box
  for ( x = 0 ; x < ItemArray.length  ; x++ )
    {
      if ( GroupArray[x] == control.value )
        {
          myEle = document.createElement("option") ;
          myEle.value = x ;
          myEle.text = ItemArray[x] ;
          controlToPopulate.add(myEle) ;
        }
    }
}
//  End -->
</script>
