
/////////////////////////////////////////////////////////////////////////////
// Function : NavNode (constructor)
// Comments :
/////////////////////////////////////////////////////////////////////////////
function NavNode(id, label, href, parent)
{
	this.m_parent = null;
	this.m_level = 0;
	if (parent)
	{
		this.m_parent = parent;
		this.m_level = parent.m_level+1;
	}
	this.m_id = id;
	// assume that m_label will most often be used directly as HTML
	this.m_rawlabel = label;
	label = label.replace(/&/g, '&amp;');
	label = label.replace(/</g, '&lt;');
	label = label.replace(/>/g, '&gt;');
	label = label.replace(/"/g, '&quot;');
	this.m_label = label;
	this.m_href = href;
	this.m_subNodes = new Array();
	var argValues = NavNode.arguments;
	var argCount = NavNode.arguments.length;
	for (i = 4 ; i < argCount ; i++)
	{
		var attrName = argValues[i].split("==")[0];
		var attrValue = argValues[i].split("==")[1];
		eval("this.cp_" + attrName + " = '" + attrValue + "';");
	}
	NavNode.prototype.addNode = addNode;
	NavNode.prototype.isSelected = isSelected;
}
/////////////////////////////////////////////////////////////////////////////
// Function : addNode
// Comments :
/////////////////////////////////////////////////////////////////////////////
function addNode(id, label, href)
{
	var newIndex = this.m_subNodes.length;
	var newNode = new NavNode(id, label, href, this);
	var argValues = addNode.arguments;
	var argCount = addNode.arguments.length;
	for (i = 3 ; i < argCount ; i++)
	{
		var attrName = argValues[i].split("==")[0];
		var attrValue = argValues[i].split("==")[1];
		eval("newNode.cp_" + attrName + " = '" + attrValue + "';");
	}
	this.m_subNodes[newIndex] = newNode;
	return newNode;
}
/////////////////////////////////////////////////////////////////////////////
// Function : isSelected
// Comments :
/////////////////////////////////////////////////////////////////////////////
function isSelected()
{
    var pos = window.location.href.lastIndexOf("/");
    var docname = window.location.href.substring(pos+1, window.location.href.length);
    pos = this.m_href.lastIndexOf("/");
    var myname = this.m_href.substring(pos+1, this.m_href.length);
    if (docname == myname)
		return true;
	else
		return false;
}
/////////////////////////////////////////////////////////////////////////////
// Function : customSectionPropertyExists
// Comments :
/////////////////////////////////////////////////////////////////////////////
function customSectionPropertyExists(csp)
{
	return (typeof csp != _U && csp != null);
}
/////////////////////////////////////////////////////////////////////////////
// Function : getCustomSectionProperty
// Comments :
/////////////////////////////////////////////////////////////////////////////
function getCustomSectionProperty(csp)
{
	if (customSectionPropertyExists(csp))
	{
		return csp;
	}
	else
	{
		return "";
	}
}
/////////////////////////////////////////////////////////////////////////////
var g_navNode_Root = new NavNode('2160','Trustee Tutor Home',ssUrlPrefix + 'index.htm',null,'description_uk==Investment Tutor is an education programme designed of pension professionals, offering\x3a investment ','menuposition==tab','secondaryUrlVariableField==region3','title_en==Investment education for pension professionals \x7c Investment Tutor','title_uk==Home','windowtitle_uk==Investment education for pension professionals \x7c Investment Tutor');
g_navNode_0=g_navNode_Root.addNode('3362','Learning Topics',ssUrlPrefix + 'learning_topics/index.aspx','menuposition==tab','secondaryUrlVariableField==region3','secure==Y','title_uk==Learning Topics','windowtitle_uk==Learning Topics \x7c Investment Tutor');
g_navNode_0_0=g_navNode_0.addNode('3419','ESG',ssUrlPrefix + 'learning_topics/esg/xml_022444','menuposition==left','secondaryUrlVariableField==region3','secure==Y','title_uk==Environmental, social and corporate governance investment issues','windowtitle_uk==ESG Learning Topics \x7c Investment Tutor');
g_navNode_3=g_navNode_Root.addNode('2454','About us',ssUrlPrefix + 'about_us/index.htm','menuposition==top','title_en==About us - Aviva Investors Trustee Tutor','title_uk==About us','windowtitle_uk==About us \x7c Investment Tutor');
g_navNode_4=g_navNode_Root.addNode('2161','Training guides',ssUrlPrefix + 'training_guides/index.aspx','menuposition==tab','quicklink==TRUE','secure==Y','title_id==Training Guides','title_uk==Training Guides','windowtitle_uk==Training guides for the TKU Code of Practice \x7c Investment Tutor');
g_navNode_4_0=g_navNode_4.addNode('2267','Asset Classes',ssUrlPrefix + 'training_guides/asset_classes/index.htm','menuposition==tab','secure==Y','title_uk==Asset Classes','windowtitle_uk==Asset class training guides \x7c Investment Tutor');
g_navNode_4_1=g_navNode_4.addNode('2268','Economics',ssUrlPrefix + 'training_guides/economics/index.htm','menuposition==tab','secure==Y','title_uk==Economics','windowtitle_uk==Economics training guide \x7c Investment Tutor');
g_navNode_4_2=g_navNode_4.addNode('2298','Governance',ssUrlPrefix + 'training_guides/governance/index.htm','menuposition==top','secure==Y','title_uk==Governance','windowtitle_uk==Governance training guides \x7c Investment Tutor');
g_navNode_4_3=g_navNode_4.addNode('2270','Portfolio theory and construction',ssUrlPrefix + 'training_guides/portfolio_theory_and_construction/index.htm','menuposition==left','secure==Y','title_uk==Portfolio Theory and Construction','windowtitle_uk==Portfolio theory \x26 construction training guides \x7c Investment Tutor');
g_navNode_4_4=g_navNode_4.addNode('2271','Trusts and trusteeships',ssUrlPrefix + 'training_guides/trusts_and_trusteeships/index.htm','menuposition==left','secure==Y','title_uk==Trusts and trusteeships','windowtitle_uk==Trusts \x26 trusteeships training guides \x7c Investment Tutor');
g_navNode_4_5=g_navNode_4.addNode('2272','Pension  Schemes',ssUrlPrefix + 'training_guides/pension_schemes/index.htm','menuposition==left','secure==Y','title_uk==Pension Schemes','windowtitle_uk==Pension schemes training guides \x7c Investment Tutor');
g_navNode_5=g_navNode_Root.addNode('2162','News',ssUrlPrefix + 'news/index.aspx','menuposition==tab','quicklink==TRUE','secondaryUrlVariableField==region1','secure==Y','title_uk==News','windowtitle_uk==News \x7c Investment Tutor');
g_navNode_5_0=g_navNode_5.addNode('2281','Pensions Watch Archive',ssUrlPrefix + 'news/pensions_watch_archive/index.htm','library_query==TrusteeTutorPensionsWatch','menuposition==left','secondaryUrlVariableField==region1','title_en==Pensions Watch Archive \x7c Investment Tutor','title_uk==Pensions Watch Archive','windowtitle_uk==Pensions Watch Archive \x7c Investment Tutor');
g_navNode_5_1=g_navNode_5.addNode('2282','Quarterly review archive',ssUrlPrefix + 'news/quarterly_review_archive/index.htm','library_query==TrusteeTutorQuarterlyReview','menuposition==left','secondaryUrlVariableField==region1','title_en==Quarterly review archive \x7c Investment Tutor','title_uk==Quarterly Review Archive','windowtitle_uk==Quarterly review archive \x7c Investment Tutor');
g_navNode_6=g_navNode_Root.addNode('2163','Topical articles',ssUrlPrefix + 'topical_articles/index.htm','menuposition==tab','quicklink==TRUE','title_uk==Topical Articles','windowtitle_uk==Topical Articles\x3a pension fund industry debate \x7c Investment Tutor');
g_navNode_7=g_navNode_Root.addNode('2164','Glossary',ssUrlPrefix + 'glossary/index.aspx','menuposition==tab','quicklink==TRUE','secure==Y','title_uk==Glossary','windowtitle_uk==A-Z of investment terminology \x7c Investment Tutor');
g_navNode_8=g_navNode_Root.addNode('2165','Training events',ssUrlPrefix + 'training_events/index.aspx','menuposition==tab','quicklink==TRUE','title_uk==Training Events','windowtitle_uk==Training Events for 2010 \x7c Investment Tutor');
g_navNode_8_1=g_navNode_8.addNode('2853','Derivatives',ssUrlPrefix + 'training_events/derivatives/index.htm','menuposition==left','title_uk==Derivatives','windowtitle_uk==Derivatives - Training Event \x7c Investment Tutor');
g_navNode_8_2=g_navNode_8.addNode('2854','Behavioural Finance',ssUrlPrefix + 'training_events/behavioural_finance/index.htm','menuposition==left','title_uk==Behavioural Finance','windowtitle_uk==Behavioural Finance - Training Event \x7c Investment Tutor');
g_navNode_8_3=g_navNode_8.addNode('2855','Understanding macroeconomics',ssUrlPrefix + 'training_events/understanding_macroeconomics/index.htm','menuposition==left','title_uk==Understanding macroeconomics','windowtitle_uk==Understanding macroeconomics - Training Event \x7c Investment Tutor');
g_navNode_8_7=g_navNode_8.addNode('3081','Biographies',ssUrlPrefix + 'training_events/biographies/index.htm','menuposition==left','title_uk==Presenter biographies','windowtitle_uk==Presenter biographies - Training Events \x7c Investment Tutor');
g_navNode_9=g_navNode_Root.addNode('2166','Contact',ssUrlPrefix + 'contact/index.htm','menuposition==top','quicklink==TRUE','title_uk==Contact','windowtitle_uk==Contact \x7c Investment Tutor');
g_navNode_10=g_navNode_Root.addNode('2167','Useful links',ssUrlPrefix + 'useful_links/index.htm','menuposition==disclaimer','quicklink==FALSE','title_uk==Useful Links','windowtitle_uk==Useful Links \x7c Investment Tutor');
g_navNode_12=g_navNode_Root.addNode('2169','Site map',ssUrlPrefix + 'site_map/index.htm','menuposition==disclaimer','quicklink==FALSE','title_uk==Site Map','windowtitle_uk==Site Map \x7c Investment Tutor');
g_navNode_13=g_navNode_Root.addNode('2170','Legal and Regulatory',ssUrlPrefix + 'legal_and_regulatory/index.htm','menuposition==disclaimer','title_uk==Legal and Regulatory','windowtitle_uk==Legal and Regulatory \x7c Investment Tutor');
g_navNode_14=g_navNode_Root.addNode('2173','Privacy statement',ssUrlPrefix + 'privacy_policy/index.htm','menuposition==disclaimer','quicklink==FALSE','title_uk==Privacy Policy','windowtitle_uk==Privacy Policy \x7c Investment Tutor');
g_navNode_16=g_navNode_Root.addNode('2607','Register',ssUrlPrefix + 'register/index.aspx','menuposition==top','title_uk==Register for access','windowtitle_uk==Register to access Investment Tutor \x7c Investment Tutor');
g_navNode_17=g_navNode_Root.addNode('2608','Login',ssUrlPrefix + 'login/index.aspx','menuposition==top','title_uk==Login','windowtitle_uk==Login \x7c Investment Tutor');
g_navNode_18=g_navNode_Root.addNode('2923','Register_v2',ssUrlPrefix + 'Register_v2/index.aspx','quicklink==FALSE');
g_navNode_22=g_navNode_Root.addNode('3429','Events Calendar',ssUrlPrefix + 'EventsCalendar/index.aspx','library_query==Classroom','menuposition==Events Calendar','quicklink==FALSE','secondaryUrlVariableField==region3','title_uk==Events Calendar');
g_navNode_22_1=g_navNode_22.addNode('3465','Derivatives Classroom',ssUrlPrefix + 'EventsCalendar/derivatives_classroom/index.htm','description_uk==ESG Classroom Training Session \x7c Investment Tutor','menuposition==left','title_uk==Derivatives');