

/////////////////////////////////////////////////////////////////////////////
// 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('787','CLRE',ssUrlPrefix + 'index.htm',null,'cspHeadInclude==\x3cmeta name\x3d\"description\" content\x3d\"Canada Life Reinsurance specializes in providing traditional mortality, financial and annuity reinsurance solutions to U.S. life insurers. Canada Life Reinsurance operates through The Canada Life Assurance Company, a subsidiary of The Great-West Life Assurance Company.\\x0a\"\x3e\x3c/meta\x3e\\x0a\x3cmeta name\x3d\"keywords\" content\x3d\"Canada Life Reinsurance, Life Reinsurance, Property and casualty reinsurance, Underwriting, Facultative underwriting, CLEAR, The ReSource\"\x3e\x3c/meta\x3e','cspNavigationLabel==Home');
g_navNode_0=g_navNode_Root.addNode('977','Corporate Profile',ssUrlPrefix + 'CorporateProfile/index.htm','cspHeadInclude==\x3cmeta name\x3d\"description\" content\x3d\"Canada Life Reinsurance specializes in providing traditional mortality, financial and annuity reinsurance solutions \\x0ato U.S. life insurers. Canada Life Reinsurance operates through The Canada Life Assurance Company, a subsidiary of The Great-West Life Assurance Company.\"\x3e\x3c/meta\x3e\\x0a\x3cmeta name\x3d\"keywords\" content\x3d\"Canada Life Reinsurance, Life Reinsurance, Property and casualty reinsurance, Underwriting, \\x0aFacultative underwriting, CLEAR, The ReSource\"\x3e\x3c/meta\x3e','cspNavigationLabel==Corporate Profile');
g_navNode_0_0=g_navNode_0.addNode('1002','Canada Life Reinsurance',ssUrlPrefix + 'CorporateProfile/CanadaLifeReinsurance/index.htm','cspIsLHNLabel==TRUE','cspNavigationLabel==Canada Life Reinsurance');
g_navNode_0_1=g_navNode_0.addNode('1003','About Us',ssUrlPrefix + 'CorporateProfile/AboutUs/index.htm','cspNavigationLabel==About Us');
g_navNode_0_1_0=g_navNode_0_1.addNode('1016','A. M. Best, NAIC and Federal ID numbers',ssUrlPrefix + 'CorporateProfile/AboutUs/AMBestNAICandFederalIDnumbers/index.htm','cspNavigationLabel==A. M. Best, NAIC and Federal ID Numbers');
g_navNode_0_2=g_navNode_0.addNode('1070','Financial Strength',ssUrlPrefix + 'CorporateProfile/FinancialStrength/index.htm','cspNavigationLabel==Financial Strength');
g_navNode_0_3=g_navNode_0.addNode('1005','Executive Team',ssUrlPrefix + 'CorporateProfile/ExecutiveTeam/index.htm','cspNavigationLabel==Executive Team');
g_navNode_0_4=g_navNode_0.addNode('1006','Industry Activity',ssUrlPrefix + 'CorporateProfile/IndustryActivity/index.htm','cspNavigationLabel==Industry Activity');
g_navNode_0_5=g_navNode_0.addNode('1007','Offices',ssUrlPrefix + 'CorporateProfile/Offices/index.htm','cspNavigationLabel==Offices');
g_navNode_0_6=g_navNode_0.addNode('1008','Client Teams ',ssUrlPrefix + 'CorporateProfile/ClientTeams/index.htm','cspNavigationLabel==Client Teams ');
g_navNode_0_7=g_navNode_0.addNode('981','Careers',ssUrlPrefix + 'CorporateProfile/Careers/index.htm','cspNavigationLabel==Careers','secondaryUrlVariableField==region2');
g_navNode_0_8=g_navNode_0.addNode('1009','Corporate Overview',ssUrlPrefix + 'CorporateProfile/CorporateOverview/index.htm','cspIsLHNLabel==TRUE','cspNavigationLabel==Corporate Overview');
g_navNode_0_9=g_navNode_0.addNode('1010','Organization Chart',ssUrlPrefix + 'CorporateProfile/OrganizationChart/index.htm','cspNavigationLabel==Organization Chart');
g_navNode_0_10=g_navNode_0.addNode('1011','About Canada Life',ssUrlPrefix + 'CorporateProfile/AboutCanadaLife/index.htm','cspNavigationLabel==About Canada Life');
g_navNode_0_11=g_navNode_0.addNode('1012','About Great-West Life and Lifeco',ssUrlPrefix + 'CorporateProfile/AboutGreat-WestLifeandLifeco/index.htm','cspNavigationLabel==About Great-West Life and Lifeco');
g_navNode_1=g_navNode_Root.addNode('978','Financial Strength',ssUrlPrefix + 'FinancialStrength/index.htm','cspHeadInclude==\x3cmeta name\x3d\"description\" content\x3d\"Canada Life Reinsurance specializes in providing traditional mortality, financial and annuity reinsurance solutions \\x0ato U.S. life insurers. Canada Life Reinsurance operates through The Canada Life Assurance Company, a subsidiary of The Great-West Life Assurance Company.\"\x3e\x3c/meta\x3e\\x0a\x3cmeta name\x3d\"keywords\" content\x3d\"Canada Life Reinsurance, Life Reinsurance, Property and casualty reinsurance, Underwriting, \\x0aFacultative underwriting, CLEAR, The ReSource\"\x3e\x3c/meta\x3e','cspNavigationLabel==Financial Strength');
g_navNode_1_0=g_navNode_1.addNode('1014','Financial Highlights',ssUrlPrefix + 'FinancialStrength/FinancialHighlights/index.htm','cspNavigationLabel==Financial Highlights');
g_navNode_1_1=g_navNode_1.addNode('1083','Financial Reports',ssUrlPrefix + 'FinancialStrength/FinancialReports/index.htm','cspNavigationLabel==Financial Reports');
g_navNode_1_2=g_navNode_1.addNode('1084','Ratings',ssUrlPrefix + 'FinancialStrength/Ratings/index.htm','cspNavigationLabel==Ratings');
g_navNode_2=g_navNode_Root.addNode('976','Solutions and Services',ssUrlPrefix + 'SolutionsandServices/index.htm','cspHeadInclude==\x3cmeta name\x3d\"description\" content\x3d\"Canada Life Reinsurance specializes in providing traditional mortality, financial and annuity reinsurance solutions \\x0ato U.S. life insurers. Canada Life Reinsurance operates through The Canada Life Assurance Company, a subsidiary of The Great-West Life Assurance Company.\"\x3e\x3c/meta\x3e\\x0a\x3cmeta name\x3d\"keywords\" content\x3d\"Canada Life Reinsurance, Life Reinsurance, Property and casualty reinsurance, Underwriting, \\x0aFacultative underwriting, CLEAR, The ReSource\"\x3e\x3c/meta\x3e','cspNavigationLabel==Solutions and Services');
g_navNode_2_0=g_navNode_2.addNode('990','Solutions',ssUrlPrefix + 'SolutionsandServices/Solutions/index.htm','cspIsLHNLabel==TRUE','cspNavigationLabel==Solutions');
g_navNode_2_1=g_navNode_2.addNode('991','Traditional Life Reinsurance',ssUrlPrefix + 'SolutionsandServices/TraditionalLifeReinsurance/index.htm','cspNavigationLabel==Traditional Life Reinsurance');
g_navNode_2_2=g_navNode_2.addNode('992','Annuity Reinsurance',ssUrlPrefix + 'SolutionsandServices/AnnuityReinsurance/index.htm','cspNavigationLabel==Annuity Reinsurance');
g_navNode_2_3=g_navNode_2.addNode('993','Integrated Capital Management Solutions',ssUrlPrefix + 'SolutionsandServices/IntegratedCapitalManagementSolutions/index.htm','cspNavigationLabel==Integrated Capital Management Solutions');
g_navNode_2_4=g_navNode_2.addNode('994','Property \x26 Casualty Reinsurance',ssUrlPrefix + 'SolutionsandServices/PropertyCasualtyReinsurance/index.htm','cspNavigationLabel==Property \x26 Casualty Reinsurance');
g_navNode_2_5=g_navNode_2.addNode('995','Support',ssUrlPrefix + 'SolutionsandServices/Support/index.htm','cspIsLHNLabel==TRUE','cspNavigationLabel==Support');
g_navNode_2_6=g_navNode_2.addNode('996','Mortality Research',ssUrlPrefix + 'SolutionsandServices/MortalityResearch/index.htm','cspNavigationLabel==Mortality Research');
g_navNode_2_7=g_navNode_2.addNode('997','Facultative Underwriting',ssUrlPrefix + 'SolutionsandServices/FacultativeUnderwriting/index.htm','cspNavigationLabel==Facultative Underwriting');
g_navNode_2_8=g_navNode_2.addNode('998','Underwriting Research and Expertise',ssUrlPrefix + 'SolutionsandServices/UnderwritingResearchandExpertise/index.htm','cspNavigationLabel==Underwriting Research and Expertise');
g_navNode_2_9=g_navNode_2.addNode('999','CLEAR Online Underwriting Manual',ssUrlPrefix + 'SolutionsandServices/CLEAROnlineUnderwritingManual/index.htm','cspNavigationLabel==CLEAR Online Underwriting Manual');
g_navNode_2_10=g_navNode_2.addNode('1000','Services',ssUrlPrefix + 'SolutionsandServices/Services/index.htm','cspIsLHNLabel==TRUE','cspNavigationLabel==Services');
g_navNode_2_11=g_navNode_2.addNode('1001','Value-Added Services',ssUrlPrefix + 'SolutionsandServices/ValueAddedServices/index.htm','cspNavigationLabel==Value-Added Services');
g_navNode_3=g_navNode_Root.addNode('979','Resources',ssUrlPrefix + 'Resources/index.htm','cspHeadInclude==\x3cmeta name\x3d\"description\" content\x3d\"Canada Life Reinsurance specializes in providing traditional mortality, financial and annuity reinsurance solutions \\x0ato U.S. life insurers. Canada Life Reinsurance operates through The Canada Life Assurance Company, a subsidiary of The Great-West Life Assurance Company.\"\x3e\x3c/meta\x3e\\x0a\x3cmeta name\x3d\"keywords\" content\x3d\"Canada Life Reinsurance, Life Reinsurance, Property and casualty reinsurance, Underwriting, \\x0aFacultative underwriting, CLEAR, The ReSource\"\x3e\x3c/meta\x3e','cspNavigationLabel==Resources');
g_navNode_3_0=g_navNode_3.addNode('1024','Research and Publications',ssUrlPrefix + 'Resources/ResearchandPublications/index.htm','cspNavigationLabel==Research and Publications');
g_navNode_3_1=g_navNode_3.addNode('1026','Industry Website Links',ssUrlPrefix + 'Resources/IndustryWebsiteLinks/index.htm','cspNavigationLabel==Industry Website Links');
g_navNode_3_2=g_navNode_3.addNode('1027','Reinsurance Glossary',ssUrlPrefix + 'Resources/ReinsuranceGlossary/index.htm','cspNavigationLabel==Reinsurance Glossary');
g_navNode_3_3=g_navNode_3.addNode('1028','Ask Us',ssUrlPrefix + 'Resources/AskUs/index.htm','cspNavigationLabel==Ask Us');
