﻿var objEjcIndustries = [["28","Accounting and Auditing Services"],["29","Advertising and PR Services"],["6","Aerospace and Defence"],["1","Agriculture/Forestry/Fishing"],["30","Architectural and Design Services"],["7","Automotive and Parts Mfg"],["75","Automotive Sales and Repair Services"],["23","Banking and Consumer Lending"],["8","Biotechnology/Pharmaceuticals"],["21","Broadcasting, Music, and Film"],["76","Business Services - Other"],["9","Chemicals/Petro-Chemicals"],["14","Clothing and Textile Manufacturing"],["32","Computer Hardware"],["33","Computer Software"],["77","Computer/IT Services"],["4","Construction - Industrial Facilities and Infrastructure"],["78","Construction - Residential & Commercial/Office"],["38","Education"],["11","Electronics, Components, and Semiconductor Mfg"],["3","Energy and Utilities"],["79","Engineering Services"],["80","Entertainment Venues and Theatres"],["81","Financial Services"],["82","Food and Beverage Production"],["50","Government and Public Sector"],["39","Healthcare Services"],["44","Hotels and Lodging"],["24","Insurance "],["20","Internet Services"],["34","Legal Services"],["31","Management Consulting Services"],["12","Manufacturing - Other"],["83","Marine Mfg & Services"],["84","Medical Devices and Supplies"],["2","Metals and Minerals"],["47","Non profit Charitable Organisations"],["85","Other/Not Classified"],["42","Performing and Fine Arts"],["48","Personal and Household Services"],["10","Personal Care Products and Cosmetics"],["13","Printing and Publishing "],["26","Real Estate and Property Management"],["27","Rental Services"],["45","Restaurant/Food Services"],["17","Retail"],["74","Security and Surveillance"],["43","Sports and Physical Recreation"],["46","Staffing/Employment Agencies"],["22","Telecommunications Services"],["19","Transport and Storage - Materials "],["18","Travel, Transportation and Tourism "],["37","Waste Management"],["15","Wholesale Trade/Import-Export"]];
function check_selection() {
	if(typeof fn == 'object' && fn != null && fn.folders != null) {
		for(var j=0;j<fn.folders.length;j++) {
			for(var n=0;n<fn.folders[j].items.length;n++) {
				if (fn.folders[j].items[n].isSelected()) {
					TwoTierCheckBoxList_OpenFolder(fn.folders[j].id);
				}
			}
		}
	}
}
//hook onload in case if event already exists
var oldonload = window.onload;
if (typeof window.onload != 'function') {
	window.onload = check_selection;
} 
else {
	window.onload = function() {
		oldonload();
		check_selections();	
	}
}
