<!--
function Subject()
{
	 this.NAME = null;
	 this.LongValue = -1;
	 this.Value = null;
	 this.Component = null;
	 this.cdStatus = true;
}

function Component()
{
	this.NAME = null;
	this.LongValue = -1;	
	this.Value = "N/A";
}

var subject = new Array();
var sindex = 0;

subject[sindex] = new Subject();

subject[sindex].NAME = "Select One";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();
subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "Empty List";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Accounting";
subject[sindex].LongValue = -1;
subject[sindex].Value = "";
subject[sindex].cdStatus = false;

subject[sindex].Component = new Array();
subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "Associate Degrees";
subject[sindex].Component[0].Value = "BusinessAdministration - DegreePrograms";
subject[sindex].Component[0].LongValue = -1;

subject[sindex].Component[1] = new Component();
subject[sindex].Component[1].NAME = "Certificates";
subject[sindex].Component[1].Value = "BusinessAdministration - CertificatePrograms";
subject[sindex].Component[1].LongValue = -1;

subject[sindex].Component[2] = new Component();
subject[sindex].Component[2].NAME = "Skills Certificates";
subject[sindex].Component[2].Value = "BusinessAdministration - SkillCertificates";
subject[sindex].Component[2].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Administration of Justice";
subject[sindex].Value = "";
subject[sindex].LongValue = -2;
subject[sindex].cdStatus = false;

subject[sindex].Component = new Array();
subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "Associate Degrees";
subject[sindex].Component[0].Value = "AdminJustice - DegreePrograms";
subject[sindex].Component[0].LongValue = -1;

subject[sindex].Component[1] = new Component();
subject[sindex].Component[1].NAME = "Certificates";
subject[sindex].Component[1].Value = "AdminJustice - CertificatePrograms";
subject[sindex].Component[1].LongValue = -1;

subject[sindex].Component[2] = new Component();
subject[sindex].Component[2].NAME = "Skills Certificates";
subject[sindex].Component[2].Value = "AdminJustice - SkillCertificates";
subject[sindex].Component[2].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "African-American Studies";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "American Sign Language";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Anatomy";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Animation";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = false;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "Associate Degrees";
subject[sindex].Component[0].Value = "Art - DegreePrograms";
subject[sindex].Component[0].LongValue = -1;

subject[sindex].Component[1] = new Component();
subject[sindex].Component[1].NAME = "Certificates";
subject[sindex].Component[1].Value = "Art - CertificatePrograms";
subject[sindex].Component[1].LongValue = -1;

subject[sindex].Component[2] = new Component();
subject[sindex].Component[2].NAME = "Skills Certificates";
subject[sindex].Component[2].Value = "Art - SkillCertificates";
subject[sindex].Component[2].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Anthropology";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = false;

subject[sindex].Component = new Array();
subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "Associate Degrees";
subject[sindex].Component[0].Value = "Anthropology - DegreePrograms";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Architecture";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = false;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "Associate Degrees";
subject[sindex].Component[0].Value = "Architecture - DegreePrograms";
subject[sindex].Component[0].LongValue = -1;

subject[sindex].Component[1] = new Component();
subject[sindex].Component[1].NAME = "Certificates";
subject[sindex].Component[1].Value = "Architecture - CertificatePrograms";
subject[sindex].Component[1].LongValue = -1;

subject[sindex].Component[2] = new Component();
subject[sindex].Component[2].NAME = "Skills Certificates";
subject[sindex].Component[2].Value = "Architecture - SkillCertificates";
subject[sindex].Component[2].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Arts";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = false;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "Associate Degrees";
subject[sindex].Component[0].Value = "Art - DegreePrograms";
subject[sindex].Component[0].LongValue = -1;

subject[sindex].Component[1] = new Component();
subject[sindex].Component[1].NAME = "Certificates";
subject[sindex].Component[1].Value = "Art - CertificatePrograms";
subject[sindex].Component[1].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Asian-American Studies";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Automobile Technology";
subject[sindex].LongValue = -1;
subject[sindex].Value = "";
subject[sindex].cdStatus = false;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "Associate Degrees";
subject[sindex].Component[0].Value = "AutoTech - DegreePrograms";
subject[sindex].Component[0].LongValue = -1;

subject[sindex].Component[1] = new Component();
subject[sindex].Component[1].NAME = "Certificates";
subject[sindex].Component[1].Value = "AutoTech - CertificatePrograms";
subject[sindex].Component[1].LongValue = -1;

subject[sindex].Component[2] = new Component();
subject[sindex].Component[2].NAME = "Skills Certificates";
subject[sindex].Component[2].Value = "AutoTech - SkillCertificates";
subject[sindex].Component[2].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Biology";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = false;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "Certificates";
subject[sindex].Component[0].Value = "LifeSciences - CertificatePrograms";
subject[sindex].Component[0].LongValue = -1;

subject[sindex].Component[1] = new Component();
subject[sindex].Component[1].NAME = "Skills Certificates";
subject[sindex].Component[1].Value = "LifeSciences - SkillCertificates";
subject[sindex].Component[1].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Broadcasting";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Business";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = false;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "Associate Degrees";
subject[sindex].Component[0].Value = "BusinessAdministration - DegreePrograms";
subject[sindex].Component[0].LongValue = -1;

subject[sindex].Component[1] = new Component();
subject[sindex].Component[1].NAME = "Certificates";
subject[sindex].Component[1].Value = "BusinessAdministration - CertificatePrograms";
subject[sindex].Component[1].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "CAOT";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = false;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "Associate Degrees";
subject[sindex].Component[0].Value = "CAOT - DegreePrograms";
subject[sindex].Component[0].LongValue = -1;

subject[sindex].Component[1] = new Component();
subject[sindex].Component[1].NAME = "Certificates";
subject[sindex].Component[1].Value = "CAOT - CertificatePrograms";
subject[sindex].Component[1].LongValue = -1;

subject[sindex].Component[2] = new Component();
subject[sindex].Component[2].NAME = "Skills Certificates";
subject[sindex].Component[2].Value = "CAOT - SkillCertificates";
subject[sindex].Component[2].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Chemistry";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Chicano Studies";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = false;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "Associate Degrees";
subject[sindex].Component[0].Value = "ChicanoStudies - DegreePrograms";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Child Development";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = false;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "Associate Degrees";
subject[sindex].Component[0].Value = "ChildDev - DegreePrograms";
subject[sindex].Component[0].LongValue = -1;

subject[sindex].Component[1] = new Component();
subject[sindex].Component[1].NAME = "Certificates";
subject[sindex].Component[1].Value = "ChildDev - CertificatePrograms";
subject[sindex].Component[1].LongValue = -1;

subject[sindex].Component[2] = new Component();
subject[sindex].Component[2].NAME = "Skills Certificates";
subject[sindex].Component[2].Value = "ChildDev - SkillCertificates";
subject[sindex].Component[2].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Chinese";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Civil Engineering";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Computer Aided Drafting";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = false;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "Associate Degrees";
subject[sindex].Component[0].Value = "Engineering - DegreePrograms";
subject[sindex].Component[0].LongValue = -1;

subject[sindex].Component[1] = new Component();
subject[sindex].Component[1].NAME = "Certificates";
subject[sindex].Component[1].Value = "Engineering - CertificatePrograms";
subject[sindex].Component[1].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "CSIT";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = false;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "Associate Degrees";
subject[sindex].Component[0].Value = "BusinessAdministration - DegreePrograms";
subject[sindex].Component[0].LongValue = -1;

subject[sindex].Component[1] = new Component();
subject[sindex].Component[1].NAME = "Certificates";
subject[sindex].Component[1].Value = "BusinessAdministration - CertificatePrograms";
subject[sindex].Component[1].LongValue = -1;

subject[sindex].Component[2] = new Component();
subject[sindex].Component[2].NAME = "Skills Certificates";
subject[sindex].Component[2].Value = "BusinessAdministration - SkillCertificates";
subject[sindex].Component[2].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Counseling";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Dance Studies";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Dance Techniques";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Earth Science";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();
subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Economics";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Education";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Electronics";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = false;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "Skills Certificates";
subject[sindex].Component[0].Value = "Electronics - CertificatePrograms";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Electrical Engineering";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Electrical Engineering Technology";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Electron Microscopy";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = false;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "Associate Degrees";
subject[sindex].Component[0].Value = "LifeSciences - DegreePrograms";
subject[sindex].Component[0].LongValue = -1;

subject[sindex].Component[1] = new Component();
subject[sindex].Component[1].NAME = "Certificates";
subject[sindex].Component[1].Value = "LifeSciences - CertificatePrograms";
subject[sindex].Component[1].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Emergency Department Assistant";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = false;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "Certificates";
subject[sindex].Component[0].Value = "LifeSciences - CertificatePrograms";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "English";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "ESL";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Environmental Science";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();
subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Family and Consumer Studies";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = false;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "Certificates";
subject[sindex].Component[0].Value = "ChildDev - CertificatePrograms";
subject[sindex].Component[0].LongValue = -1;

subject[sindex].Component[1] = new Component();
subject[sindex].Component[1].NAME = "Skills Certificates";
subject[sindex].Component[1].Value = "ChildDev - SkillCertificates";
subject[sindex].Component[1].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Finance";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Fire Technology";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = false;

subject[sindex].Component = new Array();
subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "Associate Degrees";
subject[sindex].Component[0].Value = "AdminJustice - DegreePrograms";
subject[sindex].Component[0].LongValue = -1;

subject[sindex].Component[1] = new Component();
subject[sindex].Component[1].NAME = "Skills Certificates";
subject[sindex].Component[1].Value = "AdminJustice - SkillCertificates";
subject[sindex].Component[1].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "French";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "General Engineering";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Geography";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();
subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Geology";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();
subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Governmental Supervision";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Health";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = false;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "Associate Degrees";
subject[sindex].Component[0].Value = "PhysicalEducation - DegreePrograms";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Health Information Technology";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = false;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "Associate Degrees";
subject[sindex].Component[0].Value = "LifeSciences - DegreePrograms";
subject[sindex].Component[0].LongValue = -1;

subject[sindex].Component[1] = new Component();
subject[sindex].Component[1].NAME = "Certificates";
subject[sindex].Component[1].Value = "LifeSciences - CertificatePrograms";
subject[sindex].Component[1].LongValue = -1;

subject[sindex].Component[2] = new Component();
subject[sindex].Component[2].NAME = "Skills Certificates";
subject[sindex].Component[2].Value = "LifeSciences - SkillCertificates";
subject[sindex].Component[2].LongValue = -1; 
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "History";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Humanities";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "International Business";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = false;

subject[sindex].Component = new Array();
subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "Certificates";
subject[sindex].Component[0].Value = "Anthropology - CertificatePrograms";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Italian";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Japanese";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Journalism";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = false;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "Associate Degrees";
subject[sindex].Component[0].Value = "Journalism - DegreePrograms";
subject[sindex].Component[0].LongValue = -1;

subject[sindex].Component[1] = new Component();
subject[sindex].Component[1].NAME = "Certificates";
subject[sindex].Component[1].Value = "Journalism - CertificatePrograms";
subject[sindex].Component[1].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Law";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Learning Skills";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Library Science";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;

//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Management";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = false;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "Associate Degrees";
subject[sindex].Component[0].Value = "BusinessAdministration - DegreePrograms";
subject[sindex].Component[0].LongValue = -1;

subject[sindex].Component[1] = new Component();
subject[sindex].Component[1].NAME = "Certificates";
subject[sindex].Component[1].Value = "BusinessAdministration - CertificatePrograms";
subject[sindex].Component[1].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Marketing";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = false;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "Associate Degrees";
subject[sindex].Component[0].Value = "BusinessAdministration - DegreePrograms";
subject[sindex].Component[0].LongValue = -1;

subject[sindex].Component[1] = new Component();
subject[sindex].Component[1].NAME = "Certificates";
subject[sindex].Component[1].Value = "BusinessAdministration - CertificatePrograms";
subject[sindex].Component[1].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Mathematics";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = false;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "Associate Degrees";
subject[sindex].Component[0].Value = "Mathematics - DegreePrograms";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Medical Assisting";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = false;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "Associate Degrees";
subject[sindex].Component[0].Value = "LifeSciences - DegreePrograms";
subject[sindex].Component[0].LongValue = -1;

subject[sindex].Component[1] = new Component();
subject[sindex].Component[1].NAME = "Certificates";
subject[sindex].Component[1].Value = "LifeSciences - CertificatePrograms";
subject[sindex].Component[1].LongValue = -1;

subject[sindex].Component[2] = new Component();
subject[sindex].Component[2].NAME = "Skills Certificates";
subject[sindex].Component[2].Value = "LifeSciences - SkillCertificates";
subject[sindex].Component[2].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Meteorology";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();
subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Microbiology";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Music";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = false;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "Associate Degrees";
subject[sindex].Component[0].Value = "Music - DegreePrograms";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Nursing";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = false;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "Associate Degrees";
subject[sindex].Component[0].Value = "Nursing - DegreePrograms";
subject[sindex].Component[0].LongValue = -1;

subject[sindex].Component[1] = new Component();
subject[sindex].Component[1].NAME = "Certificates";
subject[sindex].Component[1].Value = "Nursing - CertificatePrograms";
subject[sindex].Component[1].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Oceanography";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();
subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Philosophy";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Photography";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = false;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "Associate Degrees";
subject[sindex].Component[0].Value = "Photography - DegreePrograms";
subject[sindex].Component[0].LongValue = -1;

subject[sindex].Component[1] = new Component();
subject[sindex].Component[1].NAME = "Certificates";
subject[sindex].Component[1].Value = "Photography - CertificatePrograms";
subject[sindex].Component[1].LongValue = -1;

subject[sindex].Component[2] = new Component();
subject[sindex].Component[2].NAME = "Skills Certificates";
subject[sindex].Component[2].Value = "Photography - SkillCertificates";
subject[sindex].Component[2].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Physical Education";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = false;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "Associate Degrees";
subject[sindex].Component[0].Value = "PhysicalEducation - DegreePrograms";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Physical Fitness and Body Movement";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Physics";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Physiology";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Political Science";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Psychology";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = false;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "Certificates";
subject[sindex].Component[0].Value = "Psychology - CertificatePrograms";
subject[sindex].Component[0].LongValue = -1;

subject[sindex].Component[1] = new Component();
subject[sindex].Component[1].NAME = "Skills Certificates";
subject[sindex].Component[1].Value = "Psychology - SkillCertificates";
subject[sindex].Component[1].LongValue = -1;

//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Public Relations";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = false;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "Associate Degrees";
subject[sindex].Component[0].Value = "Journalism - DegreePrograms";
subject[sindex].Component[0].LongValue = -1;

subject[sindex].Component[1] = new Component();
subject[sindex].Component[1].NAME = "Certificates";
subject[sindex].Component[1].Value = "Journalism - CertificatePrograms";
subject[sindex].Component[1].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Reading";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Real Estate";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = false;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "Associate Degrees";
subject[sindex].Component[0].Value = "BusinessAdministration - DegreePrograms";
subject[sindex].Component[0].LongValue = -1;

subject[sindex].Component[1] = new Component();
subject[sindex].Component[1].NAME = "Certificates";
subject[sindex].Component[1].Value = "BusinessAdministration - CertificatePrograms";
subject[sindex].Component[1].LongValue = -1;

subject[sindex].Component[2] = new Component();
subject[sindex].Component[2].NAME = "Skills Certificates";
subject[sindex].Component[2].Value = "BusinessAdministration - SkillCertificates";
subject[sindex].Component[2].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Respiratory Therapy";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = false;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "Associate Degrees";
subject[sindex].Component[0].Value = "LifeSciences - DegreePrograms";
subject[sindex].Component[0].LongValue = -1;

subject[sindex].Component[1] = new Component();
subject[sindex].Component[1].NAME = "Certificates";
subject[sindex].Component[1].Value = "LifeSciences - CertificatePrograms";
subject[sindex].Component[1].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Sociology";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Spanish";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Speech Communication";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = true;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "N/A";
subject[sindex].Component[0].Value = "N/A";
subject[sindex].Component[0].LongValue = -1;
//===============================================================================
sindex += 1;
subject[sindex] = new Subject();
subject[sindex].NAME = "Theater";
subject[sindex].Value = "";
subject[sindex].LongValue = -1;
subject[sindex].cdStatus = false;

subject[sindex].Component = new Array();

subject[sindex].Component[0] = new Component();
subject[sindex].Component[0].NAME = "Associate Degrees";
subject[sindex].Component[0].Value = "SpeechAndTheaterArts - DegreePrograms";
subject[sindex].Component[0].LongValue = -1;

subject[sindex].Component[1] = new Component();
subject[sindex].Component[1].NAME = "Skills Certificates";
subject[sindex].Component[1].Value = "SpeechAndTheaterArts - SkillCertificates";
subject[sindex].Component[1].LongValue = -1;
//===============================================================================

function changeMenuBySubject(cm)
{
   try {
   
	var selectedSubjectIndex = SubjectMenu[0].selectedIndex;
	var selectedSubject = "";
	var selectedSubjectIndex = -1;
	var selectedComponent = "";
	var selectedComponentIndex = -1;

	var i;

	if (selectedSubjectIndex >= 0)
		selectedSubject = SubjectMenu[0].options[selectedSubjectIndex].value;

	// make sure user didn't click on an empty box
	if ((cm != -1) && (SubjectMenu[cm].length < 1))
	  	return;

	// get the chosen Component from this SubjectMenu
	if (cm == -1)
	  	selectedSubject = 0;
	else
	{
	  	if (SubjectMenu[cm].selectedIndex == -1)
	    		return;

		selectedSubjectIndex = SubjectMenu[0].selectedIndex;
				
		if (selectedSubjectIndex > -1)
	  		selectedSubject = SubjectMenu[0].options[selectedSubjectIndex].value;
		else
			return;
	}

	// fill up the next menu based on the selectedSubject
	if (cm == 0)
	{
		//a Subject is selected, construct Family menu
		
		SubjectMenu[cm+1].disabled = subject[selectedSubjectIndex].cdStatus;		
		var componentCount = subject[selectedSubjectIndex].Component.length;
		
		for (i = 0; i < componentCount; i++)
		{
			var componentName = subject[selectedSubjectIndex].Component[i].NAME;
			var componentValue = subject[selectedSubjectIndex].Component[i].Value;
			SubjectMenu[cm+1].options[i] = new Option(componentName,componentValue);
		}
		SubjectMenu[cm+1].length = componentCount;
	}
	else if (cm == 1)
	{
		//a Family is selected, construct Model menu
		selectedComponentIndex = SubjectMenu[cm].selectedIndex;
		selectedComponent = SubjectMenu[cm].options[selectedComponentIndex].value;		
		if (selectedComponentIndex == 0 && selectedComponent == "")
		{
			SubjectMenu[cm].selectedIndex = -1;
			return;
		}
	}
	else {
		//clear out all menus to the right of this menu
		for (i = cm+2; i < SubjectMenu.length; i++)
		{
	   		SubjectMenu[i].length = 0;
			SubjectMenu[i].options[0] = new Option("...");			
		}
	}
   }catch(err) {
   	alert(err.description);
   }
}

//--->

