ug = new Object();
ug.a = new Array("Choose One .............");
ug.b = new Array("Choose One .............","Building your Business","Inventory Management","Technology & Automation","Pharmacy Support","Patient Care","Market Share Growth","Front-End");
ug.c = new Array("Choose One .............","Building your Business","Inventory Management","Technology and Automation","Pharmacy Support","Patient Care","Market Share Growth");
ug.d = new Array("Choose One .............","Health Systems Solutions","Order Management","Analysis & Reporting Tools","Packaging Options","Inventory Management","Clinical Information & Tools","Automation & Technology","Staffing Solutions","Consulting Services","Specialty Distribution","Strategic Partnerships");
ug.e = new Array("Choose One .............","AmerisourceBergen Solutions","Order Management","Analysis & Reporting Tools","Packaging Options","Inventory Management","Clinical Information & Tools","Automation & Technology","Staffing Solutions","Consulting Services","Specialty Distribution","HomeHealth/DME","Strategic Partnerships");
ug.f = new Array("Choose One .............","AmerisourceBergen Solutions","Order Management","Analysis & Reporting Tools","Packaging Options","Inventory Management","Clinical Information & Tools","Automation & Technology","Staffing Solutions","Consulting Services","Specialty Distribution","HomeHealth/DME","Strategic Partnerships");
ug.g = new Array("Choose One .............","AmerisourceBergen Solutions","Order Management","Analysis & Reporting Tools","Packaging Options","Inventory Management","Clinical Information & Tools","Automation & Technology","Staffing Solutions","Consulting Services","Specialty Distribution","HomeHealth/DME","Strategic Partnerships");
ug.h = new Array("Choose One .............","AmerisourceBergen Solutions","Order Management","Analysis & Reporting Tools","Packaging Options","Inventory Management","Clinical Information & Tools","Automation & Technology","Staffing Solutions","Consulting Services","Specialty Distribution","HomeHealth/DME","Strategic Partnerships");
ug.i = new Array("Choose One .............","AmerisourceBergen Solutions","Order Management","Analysis & Reporting Tools","Packaging Options","Inventory Management","Clinical Information & Tools","Automation & Technology","Staffing Solutions","Consulting Services","Specialty Distribution","HomeHealth/DME","Strategic Partnerships");
ug.j = new Array("Choose One .............","Hot Topics","Becoming a new supplier","Supplier Policies");
ug.k = new Array("Choose One .............","Hot Topics","Becoming a new supplier","Supplier Policies");
ug.l = new Array("Choose One .............","Hot Topics","Becoming a new supplier","Supplier Policies");

function arrayToOption(obj, arr) {
	obj.options.length=0; //empty options first
	//populate from array
	for (var i=0;i<arr.length;i++) {
		var no = new Option();
		no.value = arr[i];
		no.text = arr[i];
		obj.options[obj.options.length] = no;
	}
	obj.selectedIndex = 0;	//NS4 fix
}

function updateCapability(obj, obj2) {
	if (document.images) {		
		sel = obj.selectedIndex;
		if (sel == 1) {
			arrayToOption(obj2, ug.b);
		}
		else if (sel == 2) {
			arrayToOption(obj2, ug.c);
		}
		else if (sel == 3) {
			arrayToOption(obj2, ug.d);
		}
		else if (sel == 4) {
			arrayToOption(obj2, ug.e);
		}
		else if (sel == 5) {
			arrayToOption(obj2, ug.f);
		}
		else if (sel == 6) {
			arrayToOption(obj2, ug.g);
		}
		else if (sel == 7) {
			arrayToOption(obj2, ug.h);		
		}
		else if (sel == 8) {
			arrayToOption(obj2, ug.i);
		}
		else if (sel == 9) {
			arrayToOption(obj2, ug.j);
		}
		else if (sel == 10) {
			arrayToOption(obj2, ug.k);
		}
		else if (sel == 11) {
			arrayToOption(obj2, ug.l);
		}
		else {	//default
			arrayToOption(obj2, ug.a);
		}
	}
}

ip = new Object();
ip.a = new Array("Choose One .............");
ip.b = new Array("Choose One .............","Programs that support the Front End Pharmacy","Solutions that Reduce Costs","Solutions that Build Customer Relationships","Continuing Education");
ip.c = new Array("Choose One .............","Private Label Products","Pharmaceutical Repackaging","OTC/HBC Products","Generics","Custom Reports","Data Services","Electronic Data Interchange (EDI)","Online Ordering","Barcode Ordering","Barcode Receiving","Barcode Inventory","Physical Inventory","Desktop Ordering Software","Cosmetics","Market Share Report","New Product Placement");
ip.d = new Array("Choose One .............","Account Review","Automation","Dispensing Software","Online Ordering","Remote Dispensing","Data Services","Barcode Ordering","Barcode Receiving","Barcode Inventory");
ip.e = new Array("Choose One .............","Third Party Network","Manufacturer Rebates","Continuing Education");
ip.f = new Array("Choose One .............","Diabetes","Home Healthcare","Managed Care","Third Party Network");
ip.g = new Array("Choose One .............","Batch Report Viewer","Custom Reports","Market Share Report","Account Review");
ip.h = new Array("Choose One .............","Co-op Advertising Programs","Family Pharmacy","Diabetes","Home Healthcare","Private Label Products","OTC/HBC Products","Retail Merchandise");

rc = new Object();
rc.a = new Array("Choose One .............");
rc.b = new Array("Choose One .............","Programs For Managing Your Business","Solutions that Reduce Costs","Solutions that Build Customer Relationships","Continuing Education");
rc.c = new Array("Choose One .............","Private Label Products","Pharmaceutical Repackaging","OTC/HBC Products","Generics","Custom Reports","Data Services","Electronic Data Interchange (EDI)","Online Ordering","Barcode Ordering","Barcode Receiving","Barcode Inventory","Physical Inventory","Desktop Ordering Software","Cosmetics","Market Share Report","New Product Placement");
rc.d = new Array("Choose One .............","Desktop Ordering Software","Automation","Online Ordering","Remote Dispensing","Data Services","Barcode Ordering","Barcode Receiving","Barcode Inventory");
rc.e = new Array("Choose One .............","Home Healthcare");
rc.f = new Array("Choose One .............","Manufacturer Rebates","Certificate Programs","Continued Education");
rc.g = new Array("Choose One .............","Online Ordering","Custom Reporting","Market Share Report","Contract Compliance Exception Report","Account Review","Contract Management Tools (CMT)","Desktop Ordering Software");

hl = new Object();
hl.a = new Array("Choose One .............");
hl.b = new Array("Choose One .............","Medication Errors","Staffing Shortages","Rising Costs","Case Studies","TechKnowledge","Continued Education");
hl.c = new Array("Choose One .............","Online Catalog and Order Entry","Desktop Ordering Software","Mobile Computing","Electronic Data Interchange (EDI)");
hl.d = new Array("Choose One .............","Purchase History Reporting","Market Share Reporting","Contract Management","Custom Report Writing","Group Reporting","Medication Use Data Analysis","Drug Therapy Optimization","Drug Information Services","Pharmacist Intervention Reports","Medication Use Evaluation","Adverse Drug Reaction Monitoring","Medication Error Reporting");
hl.e = new Array("Choose One .............","On-site Packaging","Off-site Packaging");
hl.f = new Array("Choose One .............","Physical Inventory ","Perpetual Inventory","Inventory Optimization","Materials Management");
hl.g = new Array("Choose One .............","Bedside Medication Administration","Drug Therapy Optimization","Drug Information Services","Pharmacist Intervention Reports","Medication Use Evaluation","Adverse Drug Reaction Monitoring","Medication Error Reporting","Formulary Management","Medication Utilization");
hl.h = new Array("Choose One .............","Barcode Ordering","Barcode Receiving","Barcode Inventory","Barcode Point of Care ","Inpatient Automated Dispensing","Outpatient Automated Dispensing","Remote Dispensing","Storage and Retreival ","Punch Carding","WorkFlow Software");
hl.i = new Array("Choose One .............","Staffing","Recruiting and Retention","Mentoring","Interim Leadership");
hl.j = new Array("Choose One .............","Operational Site Assessment","Optimal Drug Utilization/Benchmarking","Drug Cost Analysis","Inventory Optmization","Compliance Audit and Review","Med Use Risk Assessment","Indigent Drug Recovery","CDM Assessment");
hl.k = new Array("Choose One .............","Plasma Distribution","Physician Offices","Oncology Supply");
hl.l = new Array("Choose One .............","Owens & Minor");

lt = new Object();
lt.a = new Array("Choose One .............");
lt.b = new Array("Choose One .............","Medication Errors","Staffing Shortages","Rising Costs","Continued Education");
lt.c = new Array("Choose One .............","Online Catalog and Order Entry","Desktop Ordering Software","Mobile Computing","Electronic Data Interchange (EDI)");
lt.d = new Array("Choose One .............","Purchase History Reporting","Contract Management","Custom Report Writing","Group Reporting","Medication Use Data Analysis");
lt.e = new Array("Choose One .............","On-site Packaging","Off-site packaging");
lt.f = new Array("Choose One .............","Physical Inventory ","Perpetual Inventory","Inventory Optimization","Materials Management");
lt.g = new Array("Choose One .............","Bedside Medication Administration","Drug Therapy Optimization","Drug Information Services","Pharmacist Intervention Reports","Medication Use Evaluation","Adverse Drug Reaction Monitoring","Medication Error Reporting","Formulary Management","Medication Use Data Analysis");
lt.h = new Array("Choose One .............","Barcode Ordering","Barcode Receiving","Barcode Inventory","Barcode Point of Care ","Automated Dispensing","Storage and Retreival ","Punch Carding","WorkFlow Software");
lt.i = new Array("Choose One .............","Staffing","Recruiting and Retention","Mentoring","Interim Leadership");
lt.j = new Array("Choose One .............","Operational Site Assessment","Optimal Drug Utilization/Benchmarking","Drug Cost Analysis","Inventory Optmization","Compliance Audit and Review","Med Use Risk Assessment","Indigent Drug Recovery");
lt.k = new Array("Choose One .............","Plasma Distribution (ASD)","Physician Offices","Oncology Supply");
lt.l = new Array("No Programs Available");
lt.m = new Array("Choose One .............","Owens & Minor");

mo = new Object();
mo.a = new Array("Choose One .............");
mo.b = new Array("Choose One .............","Medication Errors","Staffing Shortages","Rising Costs","Continued Education");
mo.c = new Array("Choose One .............","Online Ordering","Electronic Data Interchange (EDI)","Desktop Ordering Software","Mobile Computing");
mo.d = new Array("Choose One .............","Purchase History Reporting","Market Share Reporting","Contract Management","Custom Report Writing","Group Reporting");
mo.e = new Array("Choose One .............","Unit Dose Packaging","Robot Packaging","Pre-filled Punch Cards","Bottle Packaging");
mo.f = new Array("Choose One .............","Physical Inventory ","Perpetual Inventory","Inventory Optimization","Materials Management");
mo.g = new Array("Choose One .............","Drug Therapy Optimization","Pharmacist Intervention Reports","Medication Use Evaluation","Adverse Drug Reaction Monitoring","Medication Error Reporting","Formulary Management");
mo.h = new Array("Choose One .............","Barcode Ordering","Barcode Receiving","Barcode Inventory","Automated Dispensing","Storage and Retreival ","Punch Carding","WorkFlow Software");
mo.i = new Array("Choose One .............","Staffing","Recruiting and Retention","Mentoring","Interim Leadership");
mo.j = new Array("Choose One .............","Operational Site Assessment","Optimal Drug Utilization/Benchmarking","Drug Cost Analysis","Inventory Optmization","Compliance Audit and Review","Med Use Risk Assessment","Indigent Drug Recovery");
mo.k = new Array("Choose One .............","Plasma Distribution (ASD)","Physician Offices","Oncology Supply");
mo.l = new Array("No Programs Available");
mo.m = new Array("Choose One .............","Owens & Minor");

hi = new Object();
hi.a = new Array("Choose One .............");
hi.b = new Array("Choose One .............","Medication Errors","Staffing Shortages","Rising Costs","Continued Education");
hi.c = new Array("Choose One .............","Online Catalog and Order Entry","Desktop Ordering Software","Mobile Computing","Electronic Data Interchange (EDI)");
hi.d = new Array("Choose One .............","Purchase History Reporting","Contract Management","Custom Report Writing","Group Reporting");
hi.e = new Array("Choose One .............","Unit Dose Packaging","Robot Packaging","Pre-filled Punch Cards","Bottle Packaging");
hi.f = new Array("Choose One .............","Physical Inventory ","Perpetual Inventory","Inventory Optimization","Materials Management");
hi.g = new Array("Choose One .............","Drug Therapy Optimization","Drug Information Services","Pharmacist Intervention Reports","Medication Use Evaluation","Adverse Drug Reaction Monitoring","Medication Error Reporting","Formulary Management","Medication Utilization");
hi.h = new Array("Choose One .............","Barcode Ordering","Barcode Receiving","Barcode Inventory");
hi.i = new Array("Choose One .............","Staffing","Recruiting and Retention","Mentoring","Interim Leadership");
hi.j = new Array("Choose One .............","Operational Site Assessment","Optimal Drug Utilization/Benchmarking","Drug Cost Analysis","Inventory Optmization","Compliance Audit and Review","Med Use Risk Assessment","Indigent Drug Recovery");
hi.k = new Array("Choose One .............","Plasma Distribution (ASD)","Physician Offices (Besse)","Oncology Supply");
hi.l = new Array("Choose One .............","No Programs Available");
hi.m = new Array("Choose One .............","Owens & Minor");

di = new Object();
di.a = new Array("Choose One .............");
di.b = new Array("Choose One .............","Medication Errors","Staffing Shortages","Rising Costs","Continued Education");
di.c = new Array("Choose One .............","Online Ordering","Desktop Ordering Software","Mobile Computing","Electronic Data Interchange (EDI)");
di.d = new Array("Choose One .............","Purchase History Reporting","Contract Management","Custom Report Writing","Group Reporting");
di.e = new Array("Choose One .............","On-site Packaging","Off-site Packaging");
di.f = new Array("Choose One .............","Physical Inventory ","Perpetual Inventory","Inventory Optimization","Materials Management");
di.g = new Array("Choose One .............","Formulary Management","Drug Therapy Optimization","Drug Information Services","Pharmacist Intervention Reports","Medication Use Evaluation","Adverse Drug Reaction Monitoring","Medication Error Reporting","Formulary Management","Medication Use Data Analysis");
di.h = new Array("Choose One .............","Barcode Ordering","Barcode Receiving","Barcode Inventory");
di.i = new Array("Choose One .............","Staffing","Recruiting and Retention","Mentoring","Interim Leadership");
di.j = new Array("Choose One .............","Operational Site Assessment","Optimal Drug Utilization/Benchmarking","Drug Cost Analysis","Inventory Optmization","Compliance Audit and Review","Med Use Risk Assessment","Indigent Drug Recovery");
di.k = new Array("Choose One .............","Plasma Distribution (ASD)","Physician Offices","Oncology Supply");
di.l = new Array("No Programs Available");
di.m = new Array("Choose One .............","Owens & Minor");

ch = new Object();
ch.a = new Array("Choose One .............");
ch.b = new Array("Choose One .............","Medication Errors","Staffing Shortages","Rising Costs","Continued Education");
ch.c = new Array("Choose One .............","Online Ordering","Desktop Ordering Software","Mobile Computing","Electronic Data Interchange (EDI)");
ch.d = new Array("Choose One .............","Purchase History Reporting","Market Share Reporting","Contract Management","Custom Report Writing","Group Reporting");
ch.e = new Array("Choose One .............","On-site Packaging","Off-site Packaging");
ch.f = new Array("Choose One .............","Physical Inventory ","Perpetual Inventory","Inventory Optimization","Materials Management");
ch.g = new Array("Choose One .............","Drug Therapy Optimization","Pharmacist Intervention Reports","Medication Use Evaluation","Adverse Drug Reaction Monitoring","Medication Error Reporting","Formulary Management","Medication Use Data Analysis");
ch.h = new Array("Choose One .............","Remote Dispensing","Barcode Ordering","Barcode Receiving","Barcode Inventory","Automated Dispensing","Storage and Retreival","Workflow Software");
ch.i = new Array("Choose One .............","Staffing","Recruiting and Retention","Mentoring","Interim Leadership");
ch.j = new Array("Choose One .............","Operational Site Assessment","Optimal Drug Utilization/Benchmarking","Drug Cost Analysis","Inventory Optmization","Compliance Audit and Review","Med Use Risk Assessment","Indigent Drug Recovery");
ch.k = new Array("Choose One .............","Plasma Distribution (ASD)","Physician Offices","Oncology Supply");
ch.l = new Array("No Programs Available");
ch.m = new Array("Choose One .............","Owens & Minor");

rx = new Object();
rx.a = new Array("Choose One .............");
rx.b = new Array("Choose One .............","HBC Source","Home Healthcare","Private Label");
rx.c = new Array("Choose One .............","New Supplier Application Request","Contact Information","Safety Policies and Procedures","Supplier Expectations");
rx.d = new Array("Choose One .............","Code of Ethics and Business Conduct","New Request for New Item Set-up","Safety Policies and Procedures");

gn = new Object();
gn.a = new Array("Choose One .............");
gn.b = new Array("Choose One .............","HCPA Program (Institutional / Retail)","PrimeNet Plus Program (Institutional)","PrimeNet Program (Institutional)","PRxO Generics Program (Retail)");
gn.c = new Array("Choose One .............","New Supplier Application Request","Contact Information","Safety Policies and Procedures","Supplier Expectations");
gn.d = new Array("Choose One .............","Code of Ethics and Business Conduct","New Request for New Item Set-up","Safety Policies and Procedures");

ot = new Object();
ot.a = new Array("Choose One .............");
ot.b = new Array("Choose One .............","Distribution Services","Communication Services","Retail and Health Systems Programs","AmerisourceBergen Specialty Groups");
ot.c = new Array("Choose One .............","New Supplier Application Request","Contact Information","Safety Policies and Procedures","Supplier Expectations");
ot.d = new Array("Choose One .............","Code of Ethics and Business Conduct","New Request for New Item Set-up","Safety Policies and Procedures");

function updateProgram(obj, userGroup, program) {
	if (document.images) {
		var sel = obj.selectedIndex;
		if (userGroup.selectedIndex == 1) {
			if (sel == 1) {
				arrayToOption(program, ip.b);	
			}
			else if (sel == 2) {
			   arrayToOption(program, ip.c);	
			}
			else if (sel == 3) {
			   arrayToOption(program, ip.d);	
			}
			else if (sel == 4) {
			   arrayToOption(program, ip.e);	
			}
			else if (sel == 5) {
			   arrayToOption(program, ip.f);	
			}
			else if (sel == 6) {
			   arrayToOption(program, ip.g);	
			}
			else if (sel == 7) {
			   arrayToOption(program, ip.h);	
			}
		}
		else if (userGroup.selectedIndex == 2) {
			if (sel == 1) {
			   arrayToOption(program, rc.b);	
			}
			else if (sel == 2) {
			   arrayToOption(program, rc.c);	
			}
			else if (sel == 3) {
			   arrayToOption(program, rc.d);	
			}
			else if (sel == 4) {
			   arrayToOption(program, rc.e);	
			}
			else if (sel == 5) {
			   arrayToOption(program, rc.f);	
			}
			else if (sel == 6) {
			   arrayToOption(program, rc.g);	
			}
		}
		else if (userGroup.selectedIndex == 3) {
			if (sel == 1) {
			   arrayToOption(program, hl.b);	
			}
			else if (sel == 2) {
			   arrayToOption(program, hl.c);	
			}
			else if (sel == 3) {
			   arrayToOption(program, hl.d);	
			}
			else if (sel == 4) {
			   arrayToOption(program, hl.e);	
			}
			else if (sel == 5) {
			   arrayToOption(program, hl.f);	
			}
			else if (sel == 6) {
			   arrayToOption(program, hl.g);	
			}
			else if (sel == 7) {
			   arrayToOption(program, hl.h);	
			}
			else if (sel == 8) {
			   arrayToOption(program, hl.i);	
			}
			else if (sel == 9) {
			   arrayToOption(program, hl.j);	
			}
			else if (sel == 10) {
			   arrayToOption(program, hl.k);	
			}
			else if (sel == 11) {
			   arrayToOption(program, hl.l);	
			}
		}
		else if (userGroup.selectedIndex == 4) {
			if (sel == 1) {
			   arrayToOption(program, lt.b);	
			}
			else if (sel == 2) {
			   arrayToOption(program, lt.c);	
			}
			else if (sel == 3) {
			   arrayToOption(program, lt.d);	
			}
			else if (sel == 4) {
			   arrayToOption(program, lt.e);	
			}
			else if (sel == 5) {
			   arrayToOption(program, lt.f);	
			}
			else if (sel == 6) {
			   arrayToOption(program, lt.g);	
			}
			else if (sel == 7) {
			   arrayToOption(program, lt.h);	
			}
			else if (sel == 8) {
			   arrayToOption(program, lt.i);	
			}
			else if (sel == 9) {
			   arrayToOption(program, lt.j);	
			}
			else if (sel == 10) {
			   arrayToOption(program, lt.k);	
			}
			else if (sel == 11) {
			   arrayToOption(program, lt.l);	
			}
			else if (sel == 12) {
			   arrayToOption(program, lt.m);	
			}
		}
		else if (userGroup.selectedIndex == 5) {
			if (sel == 1) {
			   arrayToOption(program, mo.b);	
			}
			else if (sel == 2) {
			   arrayToOption(program, mo.c);	
			}
			else if (sel == 3) {
			   arrayToOption(program, mo.d);	
			}
			else if (sel == 4) {
			   arrayToOption(program, mo.e);	
			}
			else if (sel == 5) {
			   arrayToOption(program, mo.f);	
			}
			else if (sel == 6) {
			   arrayToOption(program, mo.g);	
			}
			else if (sel == 7) {
			   arrayToOption(program, mo.h);	
			}
			else if (sel == 8) {
			   arrayToOption(program, mo.i);	
			}
			else if (sel == 9) {
			   arrayToOption(program, mo.j);	
			}
			else if (sel == 10) {
			   arrayToOption(program, mo.k);	
			}
			else if (sel == 11) {
			   arrayToOption(program, mo.l);	
			}
			else if (sel == 12) {
			   arrayToOption(program, mo.m);	
			}
		}
		else if (userGroup.selectedIndex == 6) {
			if (sel == 1) {
			   arrayToOption(program, hi.b);	
			}
			else if (sel == 2) {
			   arrayToOption(program, hi.c);	
			}
			else if (sel == 3) {
			   arrayToOption(program, hi.d);	
			}
			else if (sel == 4) {
			   arrayToOption(program, hi.e);	
			}
			else if (sel == 5) {
			   arrayToOption(program, hi.f);	
			}
			else if (sel == 6) {
			   arrayToOption(program, hi.g);	
			}
			else if (sel == 7) {
			   arrayToOption(program, hi.h);	
			}
			else if (sel == 8) {
			   arrayToOption(program, hi.i);	
			}
			else if (sel == 9) {
			   arrayToOption(program, hi.j);	
			}
			else if (sel == 10) {
			   arrayToOption(program, hi.k);	
			}
			else if (sel == 11) {
			   arrayToOption(program, hi.l);	
			}
			else if (sel == 12) {
			   arrayToOption(program, hi.m);	
			}
		}
		else if (userGroup.selectedIndex == 7) {
			if (sel == 1) {
			   arrayToOption(program, di.b);	
			}
			else if (sel == 2) {
			   arrayToOption(program, di.c);	
			}
			else if (sel == 3) {
			   arrayToOption(program, di.d);	
			}
			else if (sel == 4) {
			   arrayToOption(program, di.e);	
			}
			else if (sel == 5) {
			   arrayToOption(program, di.f);	
			}
			else if (sel == 6) {
			   arrayToOption(program, di.g);	
			}
			else if (sel == 7) {
			   arrayToOption(program, di.h);	
			}
			else if (sel == 8) {
			   arrayToOption(program, di.i);	
			}
			else if (sel == 9) {
			   arrayToOption(program, di.j);	
			}
			else if (sel == 10) {
			   arrayToOption(program, di.k);	
			}
			else if (sel == 11) {
			   arrayToOption(program, di.l);	
			}
			else if (sel == 12) {
			   arrayToOption(program, di.m);	
			}
		}
		else if (userGroup.selectedIndex == 8) {
			if (sel == 1) {
			   arrayToOption(program, ch.b);	
			}
			else if (sel == 2) {
			   arrayToOption(program, ch.c);	
			}
			else if (sel == 3) {
			   arrayToOption(program, ch.d);	
			}
			else if (sel == 4) {
			   arrayToOption(program, ch.e);	
			}
			else if (sel == 5) {
			   arrayToOption(program, ch.f);	
			}
			else if (sel == 6) {
			   arrayToOption(program, ch.g);	
			}
			else if (sel == 7) {
			   arrayToOption(program, ch.h);	
			}
			else if (sel == 8) {
			   arrayToOption(program, ch.i);	
			}
			else if (sel == 9) {
			   arrayToOption(program, ch.j);	
			}
			else if (sel == 10) {
			   arrayToOption(program, ch.k);	
			}
			else if (sel == 11) {
			   arrayToOption(program, ch.l);	
			}
			else if (sel == 12) {
			   arrayToOption(program, ch.m);	
			}
		}
		else if (userGroup.selectedIndex == 9) {
			if (sel == 1) {
			   arrayToOption(program, rx.b);	
			}
			else if (sel == 2) {
			   arrayToOption(program, rx.c);	
			}
			else if (sel == 3) {
			   arrayToOption(program, rx.d);	
			}
		}
		else if (userGroup.selectedIndex == 10) {
			if (sel == 1) {
			   arrayToOption(program, gn.b);	
			}
			else if (sel == 2) {
			   arrayToOption(program, gn.c);	
			}
			else if (sel == 3) {
			   arrayToOption(program, gn.d);	
			}
		}
		else if (userGroup.selectedIndex == 11) {
			if (sel == 1) {
			   arrayToOption(program, ot.b);	
			}
			else if (sel == 2) {
			   arrayToOption(program, ot.c);	
			}
			else if (sel == 3) {
			   arrayToOption(program, ot.d);	
			}
		}
		else {
		}
	}
}
