//-- -------RIGHT COLUMN BOX(ES)-------------   -->

function PageUpdate(NewPage)
{
	LoadRightColumnBox(NewPage);
	ajax.makeRequest('GET',NewPage,onXMLResponse);
}

function LoadRightColumnBox(RCB)
{
var	RightColBoxStr;
var RightColBox = document.getElementById('RightColumnBox');

  
	RightColBoxStr="<table width='174' border='0' cellspacing='0' cellpadding='2'>";
	RightColBoxStr+="<tr><td class='relatedboxlid'>Table of Contents</td></tr>";
	RightColBoxStr+="<tr><td  class='relatedboxcontent'>";


		 RightColBoxStrOVER='<p class="relatedboxlink" onclick="javascript:PageUpdate(\'Overview\')">Home</p>';
		 RightColBoxStrINTRO='<p class = "relatedboxlink" onclick="javascript:PageUpdate(\'Introduction\')">Overview</p>';
 		 RightColBoxStrPAGE2='<p class = "relatedboxlink" onclick="javascript:PageUpdate(\'Page2\')">City Hall and Faith: When and How Should They Partner</p>';
		 RightColBoxStrPAGE3='<p class = "relatedboxlink" onclick="javascript:PageUpdate(\'Page3\')">Collaboration around Youth Development</p>';
 		 RightColBoxStrPAGE4='<p class = "relatedboxlink" onclick="javascript:PageUpdate(\'Page4\')">Collaboration around Affordable Housing and Homeownership</p>';
 		 RightColBoxStrPAGE5='<p class = "relatedboxlink" onclick="javascript:PageUpdate(\'Page5\')">The Power of Congregations to Affect Social Change</p>';


//---Choose content-----
	switch (RCB)
	{
		case "Overview": 
		{
		RightColBoxStrOVER='<p class="relatedboxCurrlink" onclick="javascript:PageUpdate(\'Overview\')">Home</p>';
		 break;
		}
		case "Introduction": 
		{
		RightColBoxStrINTRO='<p class = "relatedboxCurrlink" onclick="javascript:PageUpdate(\'Introduction\')">Overview</p>';
		 break;
		}
		case "Page2": 
		{
		 RightColBoxStrPAGE2='<p class = "relatedboxCurrlink" onclick="javascript:PageUpdate(\'Page2\')">City Hall and Faith: When and How Should They Partner</p>';
		 break;
		}
		case "Page3": 
		{
		 RightColBoxStrPAGE3='<p class = "relatedboxCurrlink" onclick="javascript:PageUpdate(\'Page3\')">Collaboration around Youth Development</p>';
		 break;
		}
		case "Page4": 
		{
		RightColBoxStrPAGE4='<p class = "relatedboxCurrlink" onclick="javascript:PageUpdate(\'Page4\')">Collaboration around Affordable Housing and Homeownership</p>';
		 break;
		}
		case "Page5": 
		{
		RightColBoxStrPAGE5='<p class = "relatedboxCurrlink" onclick="javascript:PageUpdate(\'Page5\')">The Power of Congregations to Affect Social Change</p>';
		 break;
		}
        default:
		{
		 
		 break;
		}
		
	}

 

		RightColBoxStr+=RightColBoxStrOVER;
		RightColBoxStr+=RightColBoxStrINTRO;
		RightColBoxStr+=RightColBoxStrPAGE2;
		RightColBoxStr+=RightColBoxStrPAGE3;
		RightColBoxStr+=RightColBoxStrPAGE4;
		RightColBoxStr+=RightColBoxStrPAGE5;

 
	RightColBoxStr+="</td></tr></table>";
	RightColumnBox.innerHTML = RightColBoxStr;
	

}