
var arrItems1 = new Array();
var arrItemsGrp1 = new Array();
var arrItemsVal = new Array();

arrItems1[3] = "Identifying Training Needs";
arrItemsGrp1[3] = 1;
arrItemsVal[3] = "in-company-train-identifying.htm";
arrItems1[4] = "Training Design";
arrItemsGrp1[4] = 1;
arrItemsVal[4] = "in-company-train-design.htm";
arrItems1[5] = "Strategic and Operational Training Strategy";
arrItemsGrp1[5] = 1;
arrItemsVal[5] = "in-company-train-operational.htm";
arrItems1[6] = "Making Training Fun!";
arrItemsGrp1[6] = 1;
arrItemsVal[6] = "in-company-train-fun.htm";
arrItems1[7] = "Training Evaluation";
arrItemsGrp1[7] = 1;
arrItemsVal[7] = "in-company-train-evaluation.htm";
arrItems1[8] = "Handling Difficult Delegates";
arrItemsGrp1[8] = 1;
arrItemsVal[8] = "in-company-train-difficult.htm";
arrItems1[9] = "Managing Behaviour In Groups";
arrItemsGrp1[9] = 1;
arrItemsVal[9] = "in-company-train-groups.htm";

arrItems1[10] = "Behavioural Interviewing Skills Courses";
arrItemsGrp1[10] = 2;
arrItemsVal[10] = "in-company-recruitment-behavioural.htm";
arrItems1[11] = "Accredited Interviewing Skills Programmes";
arrItemsGrp1[11] = 2;
arrItemsVal[11] = "in-company-recruitment-accredited.htm";
arrItems1[12] = "Assessor Skills";
arrItemsGrp1[12] = 2;
arrItemsVal[12] = "in-company-recruitment-assessor.htm";

arrItems1[13] = "Feedback Skills";
arrItemsGrp1[13] = 3;
arrItemsVal[13] = "in-company-appraisal-feedback.htm";
arrItems1[14] = "Appraisee Skills";
arrItemsGrp1[14] = 3;
arrItemsVal[14] = "in-company-appraisee-skills.htm";
arrItems1[15] = "Agreeing Effective Objectives";
arrItemsGrp1[15] = 3;
arrItemsVal[15] = "in-company-appraisal-agreeing.htm";
arrItems1[16] = "Repertory Grid For Job Analysis & Review";
arrItemsGrp1[16] = 3;
arrItemsVal[16] = "in-company-appraisal-repertory.htm";
arrItems1[17] = "The Psychology of Managing Performance";
arrItemsGrp1[17] = 3;
arrItemsVal[17] = "in-company-appraisal-psychology.htm";
arrItems1[18] = "Performance Management Process";
arrItemsGrp1[18] = 3;
arrItemsVal[18] = "in-company-appraisal-supporting.htm";

arrItems1[19] = "Modular Management Programme";
arrItemsGrp1[19] = 4;
arrItemsVal[19] = "management-skills-training.htm";
arrItems1[20] = "Absence Management";
arrItemsGrp1[20] = 4;
arrItemsVal[20] = "absence-management.htm";

arrItems1[21] = "Assertiveness Skills";
arrItemsGrp1[21] = 5;
arrItemsVal[21] = "in-company-personal-difficult.htm";
arrItems1[22] = "Coaching & Developing People";
arrItemsGrp1[22] = 5;
arrItemsVal[22] = "in-company-personal-coaching.htm";
/*arrItems1[23] = "Diversity / Equal Opportunities";
arrItemsGrp1[23] = 5;
arrItemsVal[23] = "in-company-personal-diversity.htm";*/
arrItems1[24] = "Facilitation Skills";
arrItemsGrp1[24] = 5;
arrItemsVal[24] = "in-company-personal-facilitation.htm";
arrItems1[25] = "Innovative Problem Solving";
arrItemsGrp1[25] = 5;
arrItemsVal[25] = "in-company-personal-creative.htm";
arrItems1[26] = "Interviewee Skills";
arrItemsGrp1[26] = 5;
arrItemsVal[26] = "in-company-personal-job.htm";
arrItems1[27] = "Leadership Skills";
arrItemsGrp1[27] = 5;
arrItemsVal[27] = "in-company-personal-leadership.htm";
arrItems1[28] = "Listening & Questioning Skills";
arrItemsGrp1[28] = 5;
arrItemsVal[28] = "listening-and-questioning.htm";
arrItems1[29] = "Modular Management Programmes";
arrItemsGrp1[29] = 5;
arrItemsVal[29] = "management-skills-training.htm";
arrItems1[30] = "Chairing Meetings";
arrItemsGrp1[30] = 5;
arrItemsVal[30] = "in-company-personal-running-chairing.htm";
arrItems1[31] = "Minute Taking Skills";
arrItemsGrp1[31] = 5;
arrItemsVal[31] = "in-company-personal-minute-taking.htm";
arrItems1[32] = "Negotiatation Skills";
arrItemsGrp1[32] = 5;
arrItemsVal[32] = "in-company-personal-negotiating.htm";
arrItems1[33] = "Presentation Skills";
arrItemsGrp1[33] = 5;
arrItemsVal[33] = "in-company-personal-presentation.htm";
arrItems1[34] = "Supervisory Skills";
arrItemsGrp1[34] = 5;
arrItemsVal[34] = "in-company-personal-supervisory.htm";
arrItems1[35] = "Team Building";
arrItemsGrp1[35] = 5;
arrItemsVal[35] = "in-company-personal-team-building.htm";
arrItems1[36] = "Stress Management";
arrItemsGrp1[36] = 5;
arrItemsVal[36] = "in-company-personal-thriving.htm";
arrItems1[37] = "Time Management";
arrItemsGrp1[37] = 5;
arrItemsVal[37] = "in-company-personal-time-management.htm";

arrItems1[38] = "The Buxton Experience";
arrItemsGrp1[38] = 6;
arrItemsVal[38] = "in-company-buxton-experience.htm";

arrItems1[39] = "Life Coaching";
arrItemsGrp1[39] = 7;
arrItemsVal[39] = "lifecoaching.htm";
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;
  // Add Default Choice - in case there are no values
  myEle = document.createElement("option") ;
  myEle.value = 0 ;
  myEle.text = " - - Course Title - - " ;
  // controlToPopulate.add(myEle) ;
  controlToPopulate.appendChild(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.setAttribute('value',arrItemsVal[x]);
      // myEle.text = ItemArray[x] ;
      var txt = document.createTextNode(ItemArray[x]);
      myEle.appendChild(txt)
      // controlToPopulate.add(myEle) ;
      controlToPopulate.appendChild(myEle)
    }
  }
}

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;
  // Add Default Choice - in case there are no values
  myEle=document.createElement("option");
  theText=document.createTextNode(" - - Course Title - - ");
  myEle.appendChild(theText);
  myEle.setAttribute("value","0");
  controlToPopulate.appendChild(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.setAttribute("value",arrItemsVal[x]);
      // myEle.text = ItemArray[x] ;
      var txt = document.createTextNode(ItemArray[x]);
      myEle.appendChild(txt)
      // controlToPopulate.add(myEle) ;
      controlToPopulate.appendChild(myEle)
    }
  }
}


function goToUrl(val)
{
	if(val!='' && val!='0')
	{
		window.location.href=val;
	}
}