// Utility Functions Start Section 

function trim(stringToTrim) {
	return stringToTrim.replace(/^\s+|\s+$/g,"");
}
function ltrim(stringToTrim) {
	return stringToTrim.replace(/^\s+/,"");
}
function rtrim(stringToTrim) {
	return stringToTrim.replace(/\s+$/,"");
}

function mover(objCell,color)
{
objCell.bgColor=color; 
}


function md(objCell,menuId)
{

objCell.bgColor="#FFFFFF"; 
populateSecondMenu(trim(menuId)); 

}


function md1(objCell,urlString)
{

objCell.bgColor="#FFFFFF"; 
location.href=urlString;
 
}


function mu(objCell,color)
{
objCell.bgColor=color; 
objCell.color = "#000000";
}


function mo(objCell,color)
{
objCell.bgColor=color; 
}

// End Utility Function section
function populateFirstMenu_bog()
{
var number_of_elements  = 8;
var MenuDisplayString= new Array(number_of_elements); 

MenuDisplayString[0] = "  Leadership"; 
MenuDisplayString[1] = "  Performance"; 
MenuDisplayString[2] = "  People";
MenuDisplayString[3] = "  Money";
MenuDisplayString[4] = "  Contracting";
MenuDisplayString[5] = "  Technology";
MenuDisplayString[6] = "  Innovation";
MenuDisplayString[7] = "  Collaboration";

var column1 = "";

column1 += "<table style=\"position:relative; top:-4px;\" cellspacing=6 cellpadding=4 width = \"100%\">";
	for (x=0; x < MenuDisplayString.length ; x++) 
	{ 
	column1 += "<tr><td bgcolor=\"#5970B2\" style=\"color: #FFFFFF; font-size:10pt; cursor:pointer;\" id=row"; 
	column1 += x;
	column1 += " class=let onMouseover=\"mover(this,'#B2BEE9')\" onMouseDown=\"md(this,'";
        column1 += MenuDisplayString[x];
        column1 +="')\" onMouseUp=\"mu(this,'#B2BEE9')\" onMouseout=\"mo(this,'#5970B2')\">"; 
	column1 += MenuDisplayString[x]; 
	column1 += "</td></tr>"; 
	} 

column1 += "</table>"; 

document.getElementById('menu1_bog').innerHTML = column1;
document.getElementById('column2_bog').colspan = 2; 
//document.getElementById('menu2_bog').innerHTML = "";
}

function populateSecondMenu(menuID)
{
var num_of_elements_Menu2;   
var MenuDisplayString2;
var UrlString2 = new Array(); 

 if("Leadership".indexOf(menuID)  > -1) //Questions within the Leadership tool
{ 

num_of_elements_Menu2 = 1; 
MenuDisplayString2 = new Array(num_of_elements_Menu2); 
UrlString2 = new Array(num_of_elements_Menu2); 
MenuDisplayString2[0] = "Leadership Memo";
UrlString2[0] = "/transition2008/leadership_memo.asp"; 
}
else if("Performance".indexOf(menuID) > -1) //Questions within the Performance tool
{
num_of_elements_Menu2 = 1; 
MenuDisplayString2 = new Array(num_of_elements_Menu2); 
UrlString2 = new Array(num_of_elements_Menu2); 
MenuDisplayString2[0] = "Performance Memo";
UrlString2[0] = "/transition2008/performance_memo.asp"; 
}
else if("People".indexOf(menuID) > -1) //Questions within the People tool
{
num_of_elements_Menu2 = 1; 
MenuDisplayString2 = new Array(num_of_elements_Menu2); 
UrlString2 = new Array(num_of_elements_Menu2); 
MenuDisplayString2[0] = "People Memo"; 
UrlString2[0] = "/transition2008/people_memo.asp"; 
}
else if("Money".indexOf(menuID) > -1) //Questions for the Money tool
{
num_of_elements_Menu2 = 1; 
MenuDisplayString2 = new Array(num_of_elements_Menu2); 
UrlString2 = new Array(num_of_elements_Menu2); 
MenuDisplayString2[0] = "Money Memo";
UrlString2[0] = "/transition2008/money_memo.asp"; 
}
else if("Contracting".indexOf(menuID) > -1) //Questions for the Contracting tool
{
num_of_elements_Menu2 = 1; 
MenuDisplayString2 = new Array(num_of_elements_Menu2); 
UrlString2 = new Array(num_of_elements_Menu2); 
MenuDisplayString2[0] = "Contracting Memo"; 
UrlString2[0] = "/transition2008/contracting_memo.asp"; 
}

else if("Technology".indexOf(menuID) > -1) //Questions for the Technology tool
{
num_of_elements_Menu2 = 1; 
MenuDisplayString2 = new Array(num_of_elements_Menu2); 
UrlString2 = new Array(num_of_elements_Menu2); 
MenuDisplayString2[0] = "Technology Memo"; 
UrlString2[0] = "/transition2008/technology_memo.asp"; 
}
else if("Innovation".indexOf(menuID) > -1) //Questions for the Innovation tool
{
num_of_elements_Menu2 = 1; 
MenuDisplayString2 = new Array(num_of_elements_Menu2); 
UrlString2 = new Array(num_of_elements_Menu2); 
MenuDisplayString2[0] = "Innovation Memo"; 
UrlString2[0] = "/transition2008/innovation_memo.asp"; 
}
else if("Collaboration".indexOf(menuID) > -1) //Questions for the Collaboration tool
{
num_of_elements_Menu2 = 1; 
MenuDisplayString2 = new Array(num_of_elements_Menu2); 
UrlString2 = new Array(num_of_elements_Menu2); 
MenuDisplayString2[0] = "Collaboration Memo"; 
UrlString2[0] = "/transition2008/collaboration_memo.asp"; 
}
var column2 = "";
column2 += "<table width = \"340\" cellspacing=2 cellpadding=4 valign=top>";
	for (x=0; x < MenuDisplayString2.length ; x++) 
	{ 
	column2 += "<tr><td bgcolor=\"#5970B2\" style=\"color: #FFFFFF; font-size: 10pt\" id=row"; 
	column2 += x;
	column2 += " class=let onMouseover=\"mover(this,'#B2BEE9')\" onMouseDown=\"md1(this,'";
        column2 += UrlString2[x];
        column2 +="')\" onMouseUp=\"mu(this,'#B2BEE9')\" onMouseout=\"mo(this,'#5970B2')\">"; 
	column2 += MenuDisplayString2[x]; 
	column2 += "</tr></td>"; 
}
column2 += "</table>"; 




document.getElementById("menu2_bog").innerHTML = column2;
 populateThirdMenu(trim(menuID));
}

function populateThirdMenu(menuID)
{

var MenuDisplayString3 = new Array(); 
var UrlString3 = new Array(); 
var num_of_elements_Menu3; 

 if("Leadership".indexOf(menuID)  > -1) //Questions within the Leadership tool
{ 

num_of_elements_Menu3 = 8; 
MenuDisplayString3 = new Array(num_of_elements_Menu3); 
UrlString3 = new Array(num_of_elements_Menu3); 

MenuDisplayString3[0] = "What can I learn about leadership and transformation from the experience of James Lee Witt at FEMA?";
MenuDisplayString3[1] = "What can I learn about leadership and transformation from the experience of Dr. Kenneth Kizer at VHA?";
MenuDisplayString3[2] = "What can I learn about leadership and transformation from the experience of Charles Rossotti at the IRS?";
MenuDisplayString3[3] = "What can I learn about leadership and transformation from the experience of Daniel Goldin at NASA?";
MenuDisplayString3[4] = "What can I learn about leadership and transformation from the experience of Sean O'Keefe at NASA?";
MenuDisplayString3[5] = "What can I learn about leadership from the experience of Dr. Francis Collins at HHS?";
MenuDisplayString3[7] = "What can I learn from state governments about strategies for large scale transformation?";
MenuDisplayString3[6] = "How do I develop future leaders?";
MenuDisplayString3[8] = "<FONT COLOR='red'>NEW!</FONT> What can I learn about leadership and transformation from the experience of Michael Griffin at NASA?";

//Leadership
UrlString3[0] = "/transition2008/leadership.asp"; 
UrlString3[1] = "/transition2008/leadership2.asp";  
UrlString3[2] = "/transition2008/leadership3.asp"; 
UrlString3[3] = "/transition2008/leadership4.asp"; 
UrlString3[4] = "/transition2008/leadership5.asp"; 
UrlString3[5] = "/transition2008/leadership6.asp";  
UrlString3[7] = "/transition2008/leadership8.asp";
UrlString3[6] = "/transition2008/leadership7.asp";
UrlString3[8] = "/transition2008/leadership9.asp"; 


}
else if("Performance".indexOf(menuID)  > -1) //Questions within the Performance tool
{ 

num_of_elements_Menu3 = 10; 
MenuDisplayString3 = new Array(num_of_elements_Menu3); 
UrlString3 = new Array(num_of_elements_Menu3); 
//Performance
MenuDisplayString3[0] = "How do I get started on improving performance in my organization?";
MenuDisplayString3[1] = "After I get started, what are the steps I need to take to ensure successful implementation of performance management in my organization?"; 
MenuDisplayString3[2] = "What is a balanced scorecard, and should I consider using it as part of my performance management system? Is it just a private sector tool?"; 
MenuDisplayString3[3] = "How do I get my program managers to use outcome information?";
MenuDisplayString3[4] = "What is program evaluation and how does it differ from performance measurement? How can I use program evaluation?";
MenuDisplayString3[5] = "I've heard about CompStat and CitiStat. What exactly are these programs and can they be applied to the federal government?"; 
MenuDisplayString3[6] = "My organization makes grants to state governments. How can I best engage them in collecting and using performance information?"; 
MenuDisplayString3[7] = "Should my organization take the lead in creating a cross-agency measurement system involving several organizations all dealing with a common problem?"; 
MenuDisplayString3[8] = "What is Lean Six Sigma and how should I use it?"; 
MenuDisplayString3[9] = "What is analytics? Can it be used in my organization?"; 
MenuDisplayString3[10] = "<FONT COLOR='red'>NEW!</FONT> What can I learn from other organizations which have moved to outcome-oriented performance measurement systems?";
MenuDisplayString3[11] = "<FONT COLOR='red'>NEW!</FONT> What do I need to do to get a quick start on delivering my agency's performance improvement?"; 


//Performance
UrlString3[0] = "/transition2008/performance.asp";  
UrlString3[1] = "/transition2008/performance2.asp"; 
UrlString3[2] = "/transition2008/performance3.asp"; 
UrlString3[3] = "/transition2008/performance4.asp"; 
UrlString3[4] = "/transition2008/performance5.asp"; 
UrlString3[5] = "/transition2008/performance6.asp"; 
UrlString3[6] = "/transition2008/performance7.asp"; 
UrlString3[7] = "/transition2008/performance8.asp"; 
UrlString3[8] = "/transition2008/performance9.asp"; 
UrlString3[9] = "/transition2008/performance10.asp"; 
UrlString3[10] = "/transition2008/performance11.asp";
UrlString3[11] = "/transition2008/performance12.asp"; 
}
else if("People".indexOf(menuID)  > -1) //Questions within the People tool
{ 
num_of_elements_Menu3 = 7; 
MenuDisplayString3 = new Array(num_of_elements_Menu3); 
UrlString3 = new Array(num_of_elements_Menu3); 

MenuDisplayString3[0] = "What is workforce planning and should I pay attention to it?"; 
MenuDisplayString3[1] = "How do I maximize the use of personnel flexibilities in my own organization?"; 
MenuDisplayString3[2] = "What is the difference between performance appraisal and performance management? And how are they both related to pay for performance?"; 
MenuDisplayString3[3] = "What is paybanding and is it another tool to transform the organization? Will it help my organization? If I decide to move toward paybanding, how do I go about it?";
MenuDisplayString3[4] = "What is pay for performance and should I consider it for my organization?";
MenuDisplayString3[5] = "What are \"nonstandard work arrangements\" and should I use them in my organization?";
MenuDisplayString3[6] = "Does government have unions and do I need to spend time on labor relations in my organization?";
MenuDisplayString3[7] = "<FONT COLOR='RED'>NEW!</font> How can I increase cross-agency collaboration by the strategic use of human resource policies?";

//People
UrlString3[0] = "/transition2008/people.asp"; 
UrlString3[1] = "/transition2008/people2.asp"; 
UrlString3[2] = "/transition2008/people3.asp"; 
UrlString3[3] = "/transition2008/people4.asp"; 
UrlString3[4] = "/transition2008/people5.asp"; 
UrlString3[5] = "/transition2008/people6.asp"; 
UrlString3[6] = "/transition2008/people7.asp"; 
UrlString3[7] = "/transition2008/people8.asp";
}
else if("Money".indexOf(menuID)  > -1) //Questions within the Money tool
{ 
num_of_elements_Menu3 = 6; 
MenuDisplayString3 = new Array(num_of_elements_Menu3); 
UrlString3 = new Array(num_of_elements_Menu3); 

//
MenuDisplayString3[0] = "Instead of making budget decisions based on past level of support, is there a way to inject performance information into the budget process?";
MenuDisplayString3[1] = "My agency, like many other government agencies, is going to have to control its spending more tightly over the next several years. Do you have any suggestions on how we might better control our costs?";
MenuDisplayString3[2] = "I understand that moving from a \"budget control\" culture to a \"cost management\" culture is a major change. Can you tell me more about creating a \"cost management\" culture?";
MenuDisplayString3[3] = "I understand that my agency has a number of credit programs that provide loans and loan guarantees. What are some best practices regarding risk management that I should consider?";
MenuDisplayString3[4] = "I understand that my agency owns some buildings and might have other assets. What can I do to improve my agency's asset management activities?";
MenuDisplayString3[5] = "As a major provider of grants, what are the key challenges I will face?";
MenuDisplayString3[6] = "<FONT COLOR='red'>NEW!</FONT> What can I learn from the Department of Defense (DOD) about implementing business process modernization in my organization?";

 //Money
UrlString3[0] = "/transition2008/money.asp"; 
UrlString3[1] = "/transition2008/money2.asp"; 
UrlString3[2] = "/transition2008/money3.asp"; 
UrlString3[3] = "/transition2008/money4.asp"; 
UrlString3[4] = "/transition2008/money5.asp"; 
UrlString3[5] = "/transition2008/money6.asp"; 
UrlString3[6] = "/transition2008/money7.asp";
}
else if("Contracting".indexOf(menuID)  > -1) //Questions within the Contracting tool
{ 
num_of_elements_Menu3 = 6; 
MenuDisplayString3 = new Array(num_of_elements_Menu3); 
UrlString3 = new Array(num_of_elements_Menu3); 

//Contracting
MenuDisplayString3[0] = "What are alternative sourcing strategies? I thought my only two alternatives were either to outsource via contract or to continue to perform activities in-house with government employees."; 
MenuDisplayString3[1] = "What is performance-based contracting? What has been the experience of other public sector organizations in using it?"; 
MenuDisplayString3[2] = "What is the procurement partnership model? How does it differ from the traditional procurement model?";
MenuDisplayString3[3] = "What are public-private partnerships? Should I consider them for my organization?";
MenuDisplayString3[4] = "I understand that competitive sourcing is very controversial. What exactly is it? If I undertake competitive sourcing, what is likely to happen?";
MenuDisplayString3[5] = "What are some lessons that have been learned about contracting for large complex projects?";


//Contracting
UrlString3[0] = "/transition2008/contracting.asp"; 
UrlString3[1] = "/transition2008/contracting2.asp"; 
UrlString3[2] = "/transition2008/contracting3.asp"; 
UrlString3[3] = "/transition2008/contracting4.asp"; 
UrlString3[4] = "/transition2008/contracting5.asp"; 
UrlString3[5] = "/transition2008/contracting6.asp"; 
}
else if("Technology".indexOf(menuID)  > -1) //Questions within the Technology tool
{ 
num_of_elements_Menu3 = 6; 
MenuDisplayString3 = new Array(num_of_elements_Menu3); 
UrlString3 = new Array(num_of_elements_Menu3); 

//Technology
MenuDisplayString3[0] = "What questions should I ask at the start of an IT project?"; 
MenuDisplayString3[1] = "How do I monitor ongoing IT projects?"; 
MenuDisplayString3[2] = "What are the factors to consider in ending a project?"; 
MenuDisplayString3[3] = "What do I need to do to address security and privacy concerns?"; 
MenuDisplayString3[4] = "How can shared services help me achieve my mission?"; 
MenuDisplayString3[6] = "What is needed to successfully implement a shared services project in my agency?"; 
MenuDisplayString3[5] = "What is Web 2.0 and how can my agency take advantage of new technologies?"; 
MenuDisplayString3[7] = "<FONT COLOR='RED'>NEW!</FONT> What exactly are 'virtual worlds' and can I apply this technology in my agency?";
MenuDisplayString3[8] = "<FONT COLOR='RED'>NEW!</FONT> What can I learn from the Department of Veterans Affairs (VA) about implementing large-scale information technology projects?";

//Technology
UrlString3[0] = "/transition2008/technology.asp"; 
UrlString3[1] = "/transition2008/technology2.asp"; 
UrlString3[2] = "/transition2008/technology3.asp"; 
UrlString3[3] = "/transition2008/technology4.asp"; 
UrlString3[4] = "/transition2008/technology5.asp"; 
UrlString3[6] = "/transition2008/technology7.asp";
UrlString3[5] = "/transition2008/technology6.asp"; 
UrlString3[7] = "/transition2008/technology8.asp"; 
UrlString3[8] = "/transition2008/technology9.asp"; 

}
else if("Innovation".indexOf(menuID)  > -1) //Questions within the Innovation tool
{ 
num_of_elements_Menu3 = 8; 
MenuDisplayString3 = new Array(num_of_elements_Menu3); 
UrlString3 = new Array(num_of_elements_Menu3); 

//Innovation
MenuDisplayString3[0] = "Why do leaders undertake innovation?"; 
MenuDisplayString3[1] = "Can you define business model innovation and give some examples of this type of innovation?"; 
MenuDisplayString3[2] = "Can you define operations innovation and give some examples of this type of innovation?"; 
MenuDisplayString3[3] = "Can you define product and service innovation and give some examples of this type of innovation?"; 
MenuDisplayString3[4] = "What is management innovation?"; 
MenuDisplayString3[5] = "Are there specific actions I can take to increase the chances of successful innovation?"; 
MenuDisplayString3[6] = "What can be learned from successful innovations?"; 
MenuDisplayString3[7] = "What is collaborative innovation and can I use this approach in my agency?";

//Innovation
UrlString3[0] = "/transition2008/innovation.asp"; 
UrlString3[1] = "/transition2008/innovation2.asp"; 
UrlString3[2] = "/transition2008/innovation3.asp"; 
UrlString3[3] = "/transition2008/innovation4.asp"; 
UrlString3[4] = "/transition2008/innovation5.asp"; 
UrlString3[5] = "/transition2008/innovation6.asp"; 
UrlString3[6] = "/transition2008/innovation7.asp"; 
UrlString3[7] = "/transition2008/innovation8.asp"; 
}

else if("Collaboration".indexOf(menuID)  > -1) //Questions within the Collaboration tool
{ 
num_of_elements_Menu3 = 6; 
MenuDisplayString3 = new Array(num_of_elements_Menu3); 
UrlString3 = new Array(num_of_elements_Menu3); 


//Collaboration
MenuDisplayString3[0] = "I'm not sure I know the answer to the \"What's in it for me and my institution\" question regarding participating in a collaborative partnership. How will I benefit from a collaborative partnership?"; 
MenuDisplayString3[1] = "What has been learned about successful collaboration between organizations to accomplish large inter-organizational outcomes?"; 
MenuDisplayString3[2] = "Since networks don't \"belong\" to any one organization, how do I come to agreement with my network colleagues on governance issues to ensure successful outcomes?";
MenuDisplayString3[3] = "If my managers and I decide that our agency should use networks to accomplish its mission, what are the tasks to be performed in \"managing\" the network we create?"; 
MenuDisplayString3[4] = "What are the different ways in which I can engage citizens?"; 
MenuDisplayString3[5] = "My agency wants to work on national problems that are beyond our direct control. How should we go about it?"; 

//Collaboration
UrlString3[0] = "/transition2008/collaboration.asp"; 
UrlString3[1] = "/transition2008/collaboration2.asp"; 
UrlString3[2] = "/transition2008/collaboration3.asp"; 
UrlString3[3] = "/transition2008/collaboration4.asp"; 
UrlString3[4] = "/transition2008/collaboration5.asp"; 
UrlString3[5] = "/transition2008/collaboration6.asp"; 

}

var column3 = "";
column3 += "<table style=\"position:relative; top:-4px;\" width = \"100%\" cellspacing=6 cellpadding=2 valign=top>";
	for (x=0; x < MenuDisplayString3.length ; x++) 
	{ 
	column3 += "<tr><td bgcolor=\"#5970B2\" style=\"color: #FFFFFF; font-size: 10pt\" id=row"; 
	column3 += x;
	column3 += " class=let onMouseover=\"mover(this,'#B2BEE9')\" onMouseDown=\"md1(this,'";
        column3 += UrlString3[x];
        column3 +="')\" onMouseUp=\"mu(this,'#B2BEE9')\" onMouseout=\"mo(this,'#5970B2')\">"; 
	column3 += MenuDisplayString3[x]; 
	column3 += "</tr></td>"; 
}
column3 += "</table>"; 



column3 += "</table>"; 
column3 += "</td>";
document.getElementById("menu3_bog").innerHTML = column3;

}