<!--
var lists = new Array();
var PSlists = new Array();

lists['Company']	= new Array();
lists['Company'][0] = new Array(
	'Document Type'
)

lists['']	= new Array();
lists[''][0] = new Array(
	'Document Type',
	'Applications and Forms',
	'Articles',
	'Biographies',
	'Brochures',
	'Buckslips',
	'Bulletins',
	'Chinese',
	'Commentaries',
	'Corporate and General Materials',
	'Event Materials',
	'Fact Sheets',
	'Fee Schedules',
	'Financial Statements / Annual Reports',
	'Fund Fact Sheets',
	'Guides',
	'Mackenzie News',
	'Mailings',
	'Multimedia',
	'Newsletters',
	'Performance Reports',
	'Postcards',
	'PowerPoint Presentations',
	'Press Releases',
	'Prospectuses',
	'Quarterly Updates',
	'Regulatory Documents',
	'Research Materials'
);

lists[''][1] = new Array(
	'',
	'Applications and Forms',
	'Articles',
	'Biographies',
	'Brochures',
	'Buckslips',
	'Bulletins',
	'Chinese',
	'Commentaries',
	'Corporate and General Materials',
	'Event Materials',
	'Fact Sheets',
	'Fee Schedules',
	'Financial Statements/Annual Reports',
	'Fund Fact Sheets',
	'Guides',
	'Mackenzie News',
	'Mailings',
	'Multi-Media',
	'Newsletters',
	'Performance Reports',
	'Postcards',
	'PowerPoint Presentations',
	'Press Release',
	'Prospectuses',
	'Quarterly Updates',
	'Regulatory Documents',
	'Research Materials'
);

lists['Mackenzie'] = new Array();
lists['Mackenzie'][0] = new Array(
	'Document Type',
	'Applications and Forms',
	'Articles',
	'Biographies',
	'Brochures',
	'Chinese',
	'Commentaries',
	'Corporate and General Materials',
	'Event Materials',
	'Financial Statements / Annual Reports',
	'Fund Fact Sheets',
	'Guides',
	'Mackenzie News',
	'Mailings',
	'Multimedia',
	'Newsletters',
	'Performance Reports',
	'PowerPoint Presentations',
	'Press Releases',
	'Prospectuses',
	'Quarterly Updates',
	'Regulatory Documents',
	'Research Materials'
);
lists['Mackenzie'][1] = new Array(
	'',
	'Applications and Forms',
	'Articles',
	'Biographies',
	'Brochures',
	'Chinese',
	'Commentaries',
	'Corporate and General Materials',
	'Event Materials',
	'Financial Statements/Annual Reports',
	'Fund Fact Sheets',
	'Guides',
	'Mackenzie News',
	'Mailings',
	'Multi-Media',
	'Newsletters',
	'Performance Reports',
	'PowerPoint Presentations',
	'Press Release',
	'Prospectuses',
	'Quarterly Updates',
	'Regulatory Documents',
	'Research Materials'
);

lists['MRS'] = new Array();
lists['MRS'][0] = new Array(
	'Document Type',
	'Applications and Forms',
	'Articles',
	'Biographies',
	'Brochures',
	'Buckslips',
	'Bulletins',
	'Chinese',
	'Commentaries',
	'Corporate and General Materials',
	'Event Materials',
	'Fact Sheets',
	'Fee Schedules',
	'Financial Statements / Annual Reports',
	'Fund Fact Sheets',
	'Guides',
	'Mailings',
	'Multimedia',
	'Newsletters',
	'Performance Reports',
	'Postcards',
	'PowerPoint Presentations',
	'Press Releases',
	'Prospectuses',
	'Quarterly Updates',
	'Regulatory Documents',
	'Research Materials'
);

lists['MRS'][1] = new Array(
	'',
	'Applications and Forms',
	'Articles',
	'Biographies',
	'Brochures',
	'Buckslips',
	'Bulletins',
	'Chinese',
	'Commentaries',
	'Corporate and General Materials',
	'Event Materials',
	'Fact Sheets',
	'Fee Schedules',
	'Financial Statements/Annual Reports',
	'Fund Fact Sheets',
	'Guides',
	'Mailings',
	'Multi-Media',
	'Newsletters',
	'Performance Reports',
	'Postcards',
	'PowerPoint Presentations',
	'Press Release',
	'Prospectuses',
	'Quarterly Updates',
	'Regulatory Documents',
	'Research Materials'
);

PSlists['Company'] = new Array();
PSlists['Company'][0] = new Array(
	'Product and Services'
);
 
PSlists[''] = new Array();
PSlists[''][0] = new Array(
	'Product and Services',
	'GroupPartners',
        'Mackenzie Guided Portfolio Service (GPS)',
	'Mackenzie Private Client Program',
	'Mackenzie Structured Products',
	'MRS Credit Products',
	'MRS Deposit Products',
	'MRS High Yield Plus',
	'MRS Private Investor Services',
	'Mutual Funds',
	'RESP',
	'Segregated Funds',
	'Tax & Estate Planning'
);
PSlists[''][1] = new Array(
	'',
	'Group Plans',
        'Mackenzie Guided Portfolio Service',
	'Mackenzie Private Trust Services',
	'Mackenzie Structured Products',
	'MRS Credit Products',
	'MRS Deposit Products',
	'MRS High Yield Plus Accounts',
	'MRS Private Investor Services',
	'Mutual Funds',
	'RESP',
	'Segregated Funds',
	'Tax & Estate Advisory'
);

PSlists['Mackenzie'] = new Array();
PSlists['Mackenzie'][0] = new Array(
	'Product and Services',
	'GroupPartners',
        'Mackenzie Guided Portfolio Service (GPS)',
	'Mackenzie Private Client Program',
	'Mackenzie Structured Products',
	'Mutual Funds',
	'RESP',
	'Segregated Funds',
	'Tax & Estate Planning'
);
PSlists['Mackenzie'][1] = new Array(
	'',
	'Group Plans',
        'Mackenzie Guided Portfolio Service',
	'Mackenzie Private Trust Services',
	'Mackenzie Structured Products',
	'Mutual Funds',
	'RESP',
	'Segregated Funds',
	'Tax & Estate Advisory'
);

PSlists['MRS'] = new Array();
PSlists['MRS'][0] = new Array(
	'Product and Services',
	'GroupPartners',
	'MRS Credit Products',
	'MRS Deposit Products',
	'MRS High Yield Plus',
	'MRS Private Investor Services',
	'Mutual Funds'
);

PSlists['MRS'][1] = new Array(
	'',
	'Group Plans',
	'MRS Credit Products',
	'MRS Deposit Products',
	'MRS High Yield Plus Accounts',
	'MRS Private Investor Services',
	'Mutual Funds'
);
function emptyList( box ) {
	while(box.options.length) box.options[0] = null;
}

function fillList( box, arr ) {
	for (i = 0; i < arr[0].length; i++ ) {
		option = new Option( arr[0][i], arr[1][i] );
		box.options[box.length] = option;
	}
	box.selectedIndex = 0;
}

function changeList( box ) {
	list = lists[box.options[box.selectedIndex].value];
	PSlist = PSlists[box.options[box.selectedIndex].value];
	emptyList( box.form.Category );
	fillList( box.form.Category, list );

	emptyList( box.form.ProductService );
	fillList( box.form.ProductService, PSlist );
}
