function updateTOC(moduleId, contentOrder, activeOrder, activeLevel) {
	var fra = window.top.document.getElementById('fraNavigation');
	if (fra!=null) {
		fra = fra.contentWindow.document.getElementById('fraNavModule');
		if (fra!=null) {
			if (fra.readyState=='complete') {
				if (fra.src.indexOf('tableofcontents') > -1) {
					fra.contentWindow.execScript('updateActivePage('+moduleId+', '+contentOrder+', '+activeOrder+', '+activeLevel+');');
				}
			}
		}
	}
	fra = window.top.document.getElementById('fraBanner');
	if (fra!=null) {
		fra.contentWindow.document.getElementById('resource').value = moduleId;
		fra.contentWindow.document.getElementById('page').value = contentOrder;
	}
}

