

var g_httpCgiUrl = "/stellent/idcplg?IdcService=SS_GET_PAGE&";

/////////////////////////////////////////////////////////////////////////////
// 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 : isTrue
// Comments :
/////////////////////////////////////////////////////////////////////////////
function isTrue( boolStr )
{
	if( boolStr.length > 0 )
	{
		var boolChar = boolStr.substring(0,1).toUpperCase();
		if( ( boolChar == '1' ) || ( boolChar == 'T' ) )
		{
			return true;
		}
	}

	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 "";
	}
}

/////////////////////////////////////////////////////////////////////////////
// Function : link
// Comments :
/////////////////////////////////////////////////////////////////////////////
function link(dDocName,ssTargetNodeId)
{
	if ((dDocName.search("http://") != -1) || (dDocName.search("https://") != -1))
		window.open(dDocName);
	else
	{
		var newUrl = "";
		newUrl += g_httpCgiUrl;
		newUrl += "ssDocName=" + dDocName;

		var currentUrl = "" + window.location;

		// Continue propagation of the "SSContributor" parameter
		if( SSContributor )
		{
			var paramName = "SSContributor=";
			var pos = currentUrl.indexOf( paramName );
			if( pos != -1 )
			{
				var subStr = currentUrl.substring( pos+paramName.length, pos+paramName.length+1 );
				if( isTrue( subStr ) )
				{
					newUrl += "&" + paramName + "true";
				}
			}
		}

		// Continue propagation of the "previewId" parameter
		var previewId = "previewId=";
		var posStart = currentUrl.indexOf( previewId );
		if( posStart != -1 )
		{
			var posEnd = currentUrl.indexOf("&", posStart);
			var value = "";
			if (posEnd == -1)
			{
				value = currentUrl.substring(posStart+previewId.length, currentUrl.length);
			}
			else
			{
				value = currentUrl.substring(posStart+previewId.length, posEnd);
			}
			newUrl += "&" + previewId + value;
		}

		// We now always add the node that the link is on as part of the URl also.
		if( g_ssSourceNodeId != _U && g_ssSourceNodeId != null )
			newUrl += "&ssSourceNodeId=" + g_ssSourceNodeId;

		// If we have a specific target nodeId then add that to the URL also
		if( ssTargetNodeId != _U && ssTargetNodeId != null )
			newUrl += "&ssTargetNodeId=" + ssTargetNodeId;

		// Navigate to the new url
		window.location = newUrl;
	}
}

/////////////////////////////////////////////////////////////////////////////
// Function : nodelink
// Comments :
/////////////////////////////////////////////////////////////////////////////
function nodelink(nodeId)
{
	var newUrl = "";
	newUrl += g_httpCgiUrl;
	newUrl += "nodeId=" + nodeId;

	var currentUrl = "" + window.location;

	// Continue propagation of the "SSContributor" parameter
	if( SSContributor )
	{
		var paramName = "SSContributor=";
		var pos = currentUrl.indexOf( paramName );
		if( pos != -1 )
		{
			var subStr = currentUrl.substring( pos+paramName.length, pos+paramName.length+1 );
			if( isTrue( subStr ) )
			{
				newUrl += "&" + paramName + "true";
			}
		}
	}

	// Continue propagation of the "previewId" parameter
	var previewId = "previewId=";
	var posStart = currentUrl.indexOf( previewId );
	if( posStart != -1 )
	{
		var posEnd = currentUrl.indexOf("&", posStart);
		var value = "";
		if (posEnd == -1)
		{
			value = currentUrl.substring(posStart+previewId.length, currentUrl.length);
		}
		else
		{
			value = currentUrl.substring(posStart+previewId.length, posEnd);
		}
		newUrl += "&" + previewId + value;
	}

	// We now always add the node that the link is on as part of the URl also.
	if( g_ssSourceNodeId != _U && g_ssSourceNodeId != null )
		newUrl += "&ssSourceNodeId=" + g_ssSourceNodeId;

	// Navigate to the new url
	window.location = newUrl;
}
/////////////////////////////////////////////////////////////////////////////
var g_navNode_Root = new NavNode('2635','Our\x20Company','javascript:cnslink(0)',null);
g_navNode_1=g_navNode_Root.addNode('3723','Annual\x20Reports','javascript:cnslink(1)');
g_navNode_2=g_navNode_Root.addNode('3724','Backgrounder','javascript:cnslink(2)');
g_navNode_4=g_navNode_Root.addNode('5899','Community\x20Involvement','javascript:cnslink(3)');
g_navNode_4_0=g_navNode_4.addNode('5901','Grants\x20or\x20Scholarships','javascript:cnslink(4)');
g_navNode_4_1=g_navNode_4.addNode('6297','MathMovesU','javascript:cnslink(5)');
g_navNode_4_1_0=g_navNode_4_1.addNode('6303','Celebrities','javascript:cnslink(6)');
g_navNode_4_1_1=g_navNode_4_1.addNode('6302','Get\x20Involved','javascript:cnslink(7)');
g_navNode_4_1_2=g_navNode_4_1.addNode('6301','Grants\x20and\x20Scholarships','javascript:cnslink(8)');
g_navNode_4_1_3=g_navNode_4_1.addNode('6300','Image\x20Gallery','javascript:cnslink(9)');
g_navNode_4_1_3_0=g_navNode_4_1_3.addNode('6325','Photos','javascript:cnslink(10)');
g_navNode_4_1_5=g_navNode_4_1.addNode('6304','Related\x20Websites','javascript:cnslink(11)');
g_navNode_4_1_7=g_navNode_4_1.addNode('6332','Fact\x20Sheets','javascript:cnslink(12)');
g_navNode_4_1_8=g_navNode_4_1.addNode('6351','MathMovesU\x20Raises\x20the\x20Bar\x20in\x20Year\x20Two','javascript:cnslink(13)');
g_navNode_4_1_9=g_navNode_4_1.addNode('6352','MathMovesU\x20Updates\x20Site\x20to\x20Celebrate\x20National\x20Engineers\x20Week','javascript:cnslink(14)');
g_navNode_4_1_10=g_navNode_4_1.addNode('6538','Program\x20Overview','javascript:cnslink(15)');
g_navNode_4_2=g_navNode_4.addNode('5902','Volunteering','javascript:cnslink(16)');
g_navNode_5=g_navNode_Root.addNode('5274','Corporate\x20Governance','javascript:cnslink(17)');
g_navNode_6=g_navNode_Root.addNode('3190','Directions\x20to\x20Headquarters','javascript:cnslink(18)');
g_navNode_7=g_navNode_Root.addNode('3563','Ethics','javascript:cnslink(19)');
g_navNode_7_1=g_navNode_7.addNode('3565','Program\x20Overview','javascript:cnslink(20)');
g_navNode_7_1_0=g_navNode_7_1.addNode('3591','Employee\x20Responsibilities','javascript:cnslink(21)');
g_navNode_7_2=g_navNode_7.addNode('3566','Ethics\x20Answers','javascript:cnslink(22)');
g_navNode_7_2_0=g_navNode_7_2.addNode('3592','Ethics\x20and\x20Gift\x20Giving','javascript:cnslink(23)');
g_navNode_7_2_1=g_navNode_7_2.addNode('3593','Ethics\x20Quick\x20Test','javascript:cnslink(24)');
g_navNode_7_3=g_navNode_7.addNode('3567','International\x20Compliance','javascript:cnslink(25)');
g_navNode_7_3_0=g_navNode_7_3.addNode('3594','Country\x20Corruption\x20Index','javascript:cnslink(26)');
g_navNode_7_3_1=g_navNode_7_3.addNode('3595','FCPA\x20Guidelines','javascript:cnslink(27)');
g_navNode_7_3_2=g_navNode_7_3.addNode('3596','Information\x20Protection','javascript:cnslink(28)');
g_navNode_7_3_3=g_navNode_7_3.addNode('3597','International\x20Organizations','javascript:cnslink(29)');
g_navNode_7_4=g_navNode_7.addNode('3568','Resource\x20Center','javascript:cnslink(30)');
g_navNode_7_4_0=g_navNode_7_4.addNode('3598','Links\x20to\x20Other\x20Ethics\x20Sites','javascript:cnslink(31)');
g_navNode_7_5=g_navNode_7.addNode('5782','Interactive\x20Stewardship\x20Report','javascript:cnslink(32)');
g_navNode_8=g_navNode_Root.addNode('3184','History','javascript:cnslink(33)');
g_navNode_8_0=g_navNode_8.addNode('3187','The\x20Early\x20Days','javascript:cnslink(34)');
g_navNode_8_1=g_navNode_8.addNode('3188','Technology\x20Leadership','javascript:cnslink(35)');
g_navNode_8_2=g_navNode_8.addNode('3189','Executive\x20Management','javascript:cnslink(36)');
g_navNode_9=g_navNode_Root.addNode('3185','Milestones','javascript:cnslink(37)');
g_navNode_10=g_navNode_Root.addNode('3729','Raytheon\x20Six\x20Sigma','javascript:cnslink(38)');
g_navNode_10_0=g_navNode_10.addNode('4264','Success\x20Stories','javascript:cnslink(39)');
g_navNode_10_1=g_navNode_10.addNode('4265','Products\x20\x26\x20Services','javascript:cnslink(40)');
g_navNode_10_2=g_navNode_10.addNode('4266','Raytheon\x20Six\x20Sigma\x20Process','javascript:cnslink(41)');
g_navNode_10_2_0=g_navNode_10_2.addNode('4282','Visualize','javascript:cnslink(42)');
g_navNode_10_2_1=g_navNode_10_2.addNode('4283','Commit','javascript:cnslink(43)');
g_navNode_10_2_2=g_navNode_10_2.addNode('4284','Prioritize','javascript:cnslink(44)');
g_navNode_10_2_3=g_navNode_10_2.addNode('4285','Characterize','javascript:cnslink(45)');
g_navNode_10_2_4=g_navNode_10_2.addNode('4286','Improve','javascript:cnslink(46)');
g_navNode_10_2_5=g_navNode_10_2.addNode('4287','Achieve','javascript:cnslink(47)');
g_navNode_10_3=g_navNode_10.addNode('4267','What\x20is\x20Raytheon\x20Six\x20Sigma','javascript:cnslink(48)');
g_navNode_10_3_0=g_navNode_10_3.addNode('4289','Specialist','javascript:cnslink(49)');
g_navNode_10_3_1=g_navNode_10_3.addNode('4290','Expert','javascript:cnslink(50)');
g_navNode_10_3_2=g_navNode_10_3.addNode('4291','Master\x20Expert','javascript:cnslink(51)');
g_navNode_10_4=g_navNode_10.addNode('6269','Raytheon\x20Partner\x20Network\u2122','javascript:cnslink(52)');
g_navNode_11=g_navNode_Root.addNode('5513','Raytheon\'s\x20Vision,\x20Strategy,\x20Goals\x20and\x20Values','javascript:cnslink(53)');
g_navNode_13=g_navNode_Root.addNode('5573','Technology\x20Innovation','javascript:cnslink(54)');
g_navNode_13_0=g_navNode_13.addNode('5640','Technology\x20Today','javascript:cnslink(55)');
// introduced by connection server
var g_cnsnodes = new Array();
g_cnsnodes[0] = '/index.html';
g_cnsnodes[1] = '/reports/index.html';
g_cnsnodes[2] = '/backgrounder/index.html';
g_cnsnodes[3] = '/ci/index.html';
g_cnsnodes[4] = '/ci/grants_scholarships/index.html';
g_cnsnodes[5] = '/ci/mathmovesu/index.html';
g_cnsnodes[6] = '/ci/mathmovesu/celebs/index.html';
g_cnsnodes[7] = '/ci/mathmovesu/gi/index.html';
g_cnsnodes[8] = '/ci/mathmovesu/grants_scholarships/index.html';
g_cnsnodes[9] = '/ci/mathmovesu/image_gallery/index.html';
g_cnsnodes[10] = '/ci/mathmovesu/image_gallery/photos/index.html';
g_cnsnodes[11] = '/ci/mathmovesu/resources/index.html';
g_cnsnodes[12] = '/ci/mathmovesu/fact/index.html';
g_cnsnodes[13] = '/ci/mathmovesu/feb_mmu/index.html';
g_cnsnodes[14] = '/ci/mathmovesu/rtn07_new/index.html';
g_cnsnodes[15] = '/ci/mathmovesu/mmu_po07/index.html';
g_cnsnodes[16] = '/ci/volunteering/index.html';
g_cnsnodes[17] = '/governance/index.html';
g_cnsnodes[18] = '/directions/index.html';
g_cnsnodes[19] = '/ethics/index.html';
g_cnsnodes[20] = '/ethics/overview/index.html';
g_cnsnodes[21] = '/ethics/overview/responsibilities/index.html';
g_cnsnodes[22] = '/ethics/answers/index.html';
g_cnsnodes[23] = '/ethics/answers/gifts/index.html';
g_cnsnodes[24] = '/ethics/answers/test/index.html';
g_cnsnodes[25] = '/ethics/international/index.html';
g_cnsnodes[26] = '/ethics/international/corruption/index.html';
g_cnsnodes[27] = '/ethics/international/guidelines/index.html';
g_cnsnodes[28] = '/ethics/international/information/index.html';
g_cnsnodes[29] = '/ethics/international/organizations/index.html';
g_cnsnodes[30] = '/ethics/resource/index.html';
g_cnsnodes[31] = '/ethics/resource/links/index.html';
g_cnsnodes[32] = '/ethics/Interactive_Stewardship_Report/index.html';
g_cnsnodes[33] = '/history/index.html';
g_cnsnodes[34] = '/history/early/index.html';
g_cnsnodes[35] = '/history/leadership/index.html';
g_cnsnodes[36] = '/history/management/index.html';
g_cnsnodes[37] = '/milestones/index.html';
g_cnsnodes[38] = '/r6s/index.html';
g_cnsnodes[39] = '/r6s/r6s_success/index.html';
g_cnsnodes[40] = '/r6s/r6s_products/index.html';
g_cnsnodes[41] = '/r6s/r6s_process/index.html';
g_cnsnodes[42] = '/r6s/r6s_process/visualize/index.html';
g_cnsnodes[43] = '/r6s/r6s_process/commit/index.html';
g_cnsnodes[44] = '/r6s/r6s_process/prioritize/index.html';
g_cnsnodes[45] = '/r6s/r6s_process/characterize/index.html';
g_cnsnodes[46] = '/r6s/r6s_process/improve/index.html';
g_cnsnodes[47] = '/r6s/r6s_process/achieve/index.html';
g_cnsnodes[48] = '/r6s/r6s_whatis/index.html';
g_cnsnodes[49] = '/r6s/r6s_whatis/specialist/index.html';
g_cnsnodes[50] = '/r6s/r6s_whatis/expert/index.html';
g_cnsnodes[51] = '/r6s/r6s_whatis/master_expert/index.html';
g_cnsnodes[52] = '/r6s/rpn/index.html';
g_cnsnodes[53] = '/vsgv/index.html';
g_cnsnodes[54] = '/tech_innov/index.html';
g_cnsnodes[55] = '/tech_innov/tech_today/index.html';
function cnslink(pageid) {
var newUrl = '';
newUrl += g_prefixToStaticRoot;
newUrl += g_cnsnodes[pageid];
window.location = newUrl;
}

