

function loadPage() {
	resetCareertype();
	resetTerms();
}

function showTerms() {
	var e = document.getElementById("bro_terms_div");
	if(e) {
		e.style.display = "block";
	}
}

function hideTerms() {
	var e = document.getElementById("bro_terms_div");
	if(e) {
		e.style.display = "none";
	}
}

var __cnt;
__cnt = 0;
function resetCareertype() {
	try {
		__cnt++;
		if(__cnt == 20) {
			return;
		}
		var i = document.forms[0].bro_none.selectedIndex;
		//document.forms[0].bro_none.selectedIndex = null;
		//document.forms[0].bro_none.selectedIndex = i;
		changeCareertype(document.forms[0].bro_none);
	} catch(e) {
		setTimeout('resetCareertype();',100);
	}
}

function resetTerms() {
	try {
		__cnt++;
		if(__cnt == 20) {
			return;
		}
		var i = document.forms[0].bro_terms.selectedIndex;
		//document.forms[0].bro_none.selectedIndex = null;
		//document.forms[0].bro_none.selectedIndex = i;
		if(document.forms[0].bro_none.options[i] == 'IN_HIGH_SCHOOL') {
			showTerms();
		}
	} catch(e) {
		setTimeout('resetCareertype();',100);
	}
}


function changeCareertype(sel) {
	var opt = sel.options[sel.selectedIndex].value;
	sel = sel.form.bro_ProgramCategory;
	var i;
	for(i=sel.options.length-1;i>=0;i--) {
		sel.options[i] = null;
	}
	var obj = new Object();
	switch(opt) {
		case 'ARTS':
			obj = ARTS();
			break;
		case 'AVIATION':
			obj = AVIATION();
			break;
		case 'BUSINESS':
			obj = BUSINESS();
			break;
		case 'CRIMINAL':
			obj = CRIMINAL();
			break;
		case 'CULINARY':
			obj = CULINARY();
			break;
		case 'EDUCATION':
			obj = EDUCATION();
			break;
		case 'HEALTHCARE':
			obj = HEALTHCARE();
			break;
		case 'LIBERALARTS':
			obj = LIBERALARTS();
			break;
		case 'MASSAGE':
			obj = MASSAGE();
			break;
		case 'TECH':
			obj = TECH();
			break;
		case 'TRADE':
			obj = TRADE();
			break;
	}
	
	var k;
	i = 0;
	sel.options[i] = new Option("", "", true, true);
	for(k in obj) {
		i++;
		sel.options[i] = new Option(obj[k], k, false, false);
	}
}

function ARTS(sel) {
	return {
		"289":	"Acting",
		"13":		"Advertising & Design",
		"187":	"Animation",
		"210":	"Architecture",
		"199":	"Arts & Design",
		"242":	"Audio Engineering",
		"137":	"Broadcasting",
		"14":		"Commercial Art",
		"27":		"Computer Design",
		"16":		"Computer Drafting",
		"15":		"Computer Information",
		"17":		"Digital Arts & Design",
		"18":		"Fashion Design",
		"19":		"Fashion Marketing",
		"176":	"Fashion Merchandising",
		"20":		"Film & Video",
		"22":		"Fine Arts",
		"21":		"Game Art & Development",
		"200":	"General",
		"12":		"Graphic Art & Design",
		"23":		"Industrial Design",
		"24":		"Interactive Media",
		"25":		"Interior Design",
		"309":	"Journalism",
		"28":		"Media Arts",
		"29":		"Media Production",
		"30":		"Multimedia & Web Design",
		"235":	"Music",
		"290":	"Musical Theatre",
		"32":		"Painting",
		"33":		"Photography",
		"107":	"Recording Arts",
		"310":	"Script & Screenwriting",
		"35":		"Visual Arts & Comm.",
		"36":		"Yacht & Marine Design"
	};
}

function AVIATION() {
	return {
		"380":	"Aircraft Dispatcher",
		"194":	"Airframe and Powerplant",
		"234":	"Airline/Travel Specialist",
		"196":	"Aviation Maintenance Technician",
		"195":	"Avionics",
		"82":		"General Aviation",
		"325":	"Helicopter Flight",
		"212":	"Professional Flight",
		"213":	"Quality Control"
	};
}

function BUSINESS() {
	return {
		"134":	"Accounting/Payroll Administrator",
		"132":	"Administrative",
		"203":	"Administrative Support Specialist",
		"133":	"Advertising",
		"140":	"Auditing",
		"224":	"Bookkeeping",
		"138":	"Business Admin. & Mgmt.",
		"139":	"Call Center Mgmt.",
		"159":	"Communications Mgmt.",
		"141":	"Computer Management",
		"237":	"Customer Support",
		"189":	"Database Administration",
		"143":	"Database Management",
		"311":	"Doctor of Business Administration",
		"145":	"E-Business Management",
		"146":	"E-commerce / E-Business",
		"384":	"Economics",
		"148":	"Entertainment Business",
		"149":	"Executive Assistant",
		"135":	"Finance",
		"188":	"Financial Planning",
		"150":	"Global Management",
		"334":	"Human Resources",
		"153":	"Information Security",
		"155":	"International Business",
		"154":	"IT Management",
		"75":		"Law and Justice",
		"156":	"Management",
		"157":	"Marketing",
		"312":	"Master of Business Administration",
		"191":	"Medical Business",
		"158":	"Merchandising",
		"31":		"Network Management",
		"160":	"Office Administration",
		"228":	"Office Clerical",
		"217":	"Office Management",
		"161":	"Operations Management",
		"162":	"Project Management",
		"313":	"Public Administration",
		"163":	"Sales",
		"177":	"Small Business Mgmt.",
		"273":	"Sports Management",
		"124":	"Supply Chain Mgmt.",
		"34":		"System Admin.",
		"164":	"Technical Admin.",
		"165":	"Technical Management",
		"166":	"Telecommunications",
		"167":	"Travel and Tourism"
	};
}

function CRIMINAL() {
	return {
		"269":	"Court Reporting",
		"142":	"Criminal Justice",
		"151":	"Homeland Security",
		"26":		"Justice Business Tech.",
		"314":	"Justice/Security Adminstration",
		"341":	"Law",
		"190":	"Legal Nurse Consultant",
		"204":	"Legal Office Administration",
		"201":	"Legal Office Technology",
		"192":	"Paralegal / Legal Assistant"
	};
}

function CULINARY() {
	return {
		"300":	"Baking and Pastry",
		"79":		"Catering Management",
		"76":		"Culinary Arts",
		"78":		"Culinary Management",
		"152":	"Hotel & Restaurant Mgmt.",
		"77":		"Restaurant Management",
		"243":	"Wine Studies"
	};
}

function EDUCATION() {
	return {
		"144":	"Curriculum & Instruction",
		"296":	"Early Childhood Education",
		"147":	"Education",
		"315":	"ESL",
		"174":	"General Studies",
		"316":	"Instructional Leadership",
		"297":	"Secondary Education",
		"317":	"Special Ed.",
		"295":	"Teaching",
		"331":	"Theology/Ministry/Religion"
	};
}

function HEALTHCARE() {
	return {
		"240":	"Addictions Worker",
		"283":	"Alternative Medicine",
		"38":	"Biomedical Engineering",
		"39":	"Biomedical Informatics",
		"226":	"Cardio-Phlebotomy Technician",
		"40":	"Cardiovascular Tech.",
		"41":	"Certified Nurse",
		"225":	"Certified Nursing Assistant",
		"209":	"Chiropractic",
		"42":	"Clinical Medical Assistant",
		"55":	"Conflict Resolution",
		"54":	"Counseling",
		"211":	"Dental Assisting",
		"43":	"Dental Hygienist",
		"45":	"Dialysis Technician",
		"46":	"Echocardiographer",
		"238":	"Electrocardiography",
		"267":	"General",
		"332":	"Gerontology",
		"48":	"Health Care Administration",
		"51":	"Health Care Reimbursement",
		"202":	"Health Claims Specialist",
		"49":	"Health Information Tech.",
		"50":	"Health Unit Coordinator",
		"136":	"Human Services",
		"178":	"Insurance Billing / Coding",
		"208":	"Lab Technician",
		"52":	"Legal Nurse Consultant",
		"169":	"Marriage & Family Therapy",
		"56":	"Medical Admin. & Mgmt.",
		"57":	"Medical Assisting",
		"58":	"Medical Billing and Coding",
		"59":	"Medical Business",
		"60":	"Medical Clinical Specialist",
		"44":	"Medical Diagnostics",
		"61":	"Medical Executive Assistant",
		"62":	"Medical Laboratory Technician",
		"227":	"Medical Office Assistant",
		"53":	"Medical Radiography",
		"207":	"Medical Sonographer",
		"63":	"Medical Specialization",
		"64":	"Medical Transcription",
		"171":	"Mental Health Counseling",
		"65":	"Nursing",
		"326":	"Nursing - RN to BSN",
		"239":	"Orthopedic",
		"67":	"Patient Care",
		"68":	"Pharmacy Technician",
		"69":	"Phlebotomy",
		"205":	"Physical Therapist",
		"168":	"Psychology",
		"70":	"Radiology",
		"236":	"Rehabilitation Therapy Assistant",
		"71":	"Respiratory Care & Therapy",
		"328":	"Skin Care",
		"170":	"Sport-Exercise Psychology",
		"73":	"Surgical Technology",
		"206":	"Ultrasound Technologist",
		"175":	"Veterinary / Animal Study",
		"74":	"X-Ray Technician"
	};
}

function LIBERALARTS() {
	return {
		"344":	"American Studies",
		"345":	"Anthropology",
		"346":	"Archaeology",
		"347":	"Art History",
		"348":	"Biochemistry",
		"349":	"Biochemistry &  Molecular Biology",
		"350":	"Bioinformatics",
		"351":	"Bioinformatics Technician",
		"352":	"Biology",
		"353":	"Chemistry",
		"354":	"Elected Studies",
		"355":	"English",
		"356":	"English Literature",
		"357":	"Environmental Science",
		"358":	"General Arts and Sciences",
		"359":	"General Science",
		"360":	"General Studies",
		"361":	"Geography",
		"362":	"History",
		"363":	"Human Biology",
		"364":	"Individual Courses",
		"365":	"Italian",
		"366":	"Japanese",
		"367":	"Languages and Literature",
		"368":	"Languages Other than English",
		"369":	"Latin",
		"370":	"Latin & Greek",
		"371":	"Liberal Arts",
		"372":	"Liberal Arts with a Business Emphasis",
		"373":	"Library",
		"374":	"Literature",
		"385":	"Mathematics",
		"386":	"Political Science",
		"375":	"Psychology",
		"376":	"Social Sciences",
		"377":	"Sociology",
		"378":	"Spanish"
	};
}

function MASSAGE() {
	return {
		"257":	"Acupuncture & Oriental Medicine",
		"291":	"Alternative Medicine",
		"292":	"Aromatherapy",
		"327":	"Beauty Advanced Training",
		"259":	"Chiropractic",
		"307":	"Colonic Hydrotherapy",
		"181":	"Cosmetology",
		"263":	"Esthetics / Skincare / Electrolysis",
		"306":	"Eyelash Extension",
		"305":	"Feng Shui",
		"183":	"Hair Design / Barbering",
		"276":	"Healtheology / Metaphysics / Divinity",
		"308":	"Herbal Studies",
		"260":	"Holistic Health / Homeopathy",
		"278":	"Holistic Skincare",
		"268":	"Hypnotherapy/Parapsychics/Reiki",
		"293":	"Instructor Training",
		"288":	"Iridology",
		"340":	"Kinesiology",
		"303":	"Laser",
		"277":	"Life Coaching",
		"265":	"Make-Up/Permanent Make-Up",
		"37":	"Massage Therapy",
		"266":	"Massage Therapy CEU's",
		"264":	"Nail Technician/Hand & Foot Therapist",
		"275":	"Naturopathic/Neuro-Natural Health",
		"280":	"Nutrition",
		"66":	"Occupational Therapy",
		"47":	"Personal Training / Fitness",
		"258":	"Physical Therapy",
		"321":	"Polarity",
		"262":	"Reflexology",
		"294":	"Spa",
		"72":	"Spa Therapies",
		"284":	"Wardrobe Stylist",
		"333":	"Yoga Instructor"
	};
}

function TECH() {
	return {
		"83":		"A+ Certification",
		"81":		"Advanced Electronics",
		"80":		"Advanced Enterprise Applications",
		"84":		"Architectural Engineering",
		"274":	"Audio Technology",
		"87":		"Cable Network Technician",
		"185":	"Certified Internet Webmaster",
		"88":		"Certified Quality Engineer",
		"90":		"Cisco&reg;",
		"214":	"Communication Technician",
		"186":	"CompTIA",
		"91":		"Computer & Network Servicing",
		"92":		"Computer & Telecom. Electronics",
		"93":		"Computer Aided Design Tech.",
		"85":		"Computer Applications",
		"94":		"Computer Engineering",
		"105":	"Computer Hardware",
		"330":	"Computer Information Systems - CIS",
		"95":		"Computer Networking",
		"96":		"Computer Office Technologies",
		"97":		"Computer Programming",
		"98":		"Computer Repair",
		"99":		"Computer Science",
		"100":	"Computer Systems Security",
		"102":	"Computer Systems Technician",
		"103":	"Computer Technical Support",
		"104":	"Computer Technology",
		"106":	"Computerized Office Applications",
		"193":	"Control Systems Technology",
		"389":	"Corporate Training",
		"179":	"Database Development",
		"285":	"Desktop & Web Publishing",
		"220":	"Engineering Management",
		"111":	"Enterprise Applications Developer",
		"112":	"Game Software Development",
		"114":	"Industrial Instrumentation",
		"115":	"Information Systems",
		"116":	"Information Technology",
		"117":	"Instructional Technology",
		"118":	"Internet  Programmer",
		"119":	"Java Programming",
		"335":	"MCSE",
		"121":	"Mechanical Engineering",
		"122":	"Microsoft Certification",
		"318":	"Network & Communications Managment",
		"218":	"Network Administration Security",
		"123":	"Office Systems Technology",
		"184":	"Oracle",
		"125":	"PC Support Specialist",
		"127":	"Programming",
		"129":	"Robotics",
		"101":	"Software Development",
		"219":	"Software Engineering",
		"130":	"Software Technologies",
		"180":	"Technology Management",
		"131":	"Visual Communications",
		"89":		"Web Development"
	};
}

function TRADE() {
	return {
		"128":	"Air Conditioning/Refrigeration",
		"86":		"Auto Body Technology",
		"173":	"Automotive Technology",
		"304":	"Construction Management",
		"320":	"Diving - Commercial",
		"339":	"Diving - Scuba",
		"108":	"Electrical Engineering",
		"109":	"Electrician",
		"110":	"Electronic  Engineering",
		"221":	"Electronic Service Technician",
		"342":	"Fire Science",
		"336":	"Gunsmithing",
		"329":	"Home Inspection Training",
		"172":	"HVAC",
		"113":	"Industrial Electrical Technology",
		"120":	"Marine Mechanics",
		"382":	"Motorcycle Mechanics",
		"383":	"NASCAR Technician",
		"126":	"Plumber",
		"381":	"Watch-Clock Making / Repair",
		"241":	"Welding"
	};
}
