function display_search(page)
{

	if (page == 'home')
	{
		document.write("<form method='get' action='cpmkts_search.php'><span id='search_home'>SEARCH&nbsp;&nbsp;<input type='hidden' name='p' value='1'><input type='hidden' name='lang' value='en'><input type='hidden' name='include' value=''><input type='hidden' name='exclude' value=''><input type='hidden' name='penalty' value='0'><input type='hidden' name='mode' value='any'><input type='text' size='20' maxlength='20' name='q'>&nbsp;<input type='image' value='go' src='img/form_arrow.gif'></span></form>");
	}
	else
	{
		document.write("<form method='get' action='cpmkts_search.php'><span id='search'>SEARCH&nbsp;&nbsp;<input type='hidden' name='p' value='1'>   <input type='hidden' name='lang' value='en'><input type='hidden' name='include' value=''><input type='hidden' name='exclude' value=''><input type='hidden' name='penalty' value='0'><input type='hidden' name='mode' value='any'><input type='text' size='20' maxlength='20' name='q'>&nbsp;<input type='image' value='go' src='img/form_arrow.gif'></span></form>");	
	}


}


function get_html_topnav(section)
{

	switch(section)
	{
	case 'home':
		document.write("<table border='0' cellpadding='0' cellspacing='0' id='navtable'>");
		document.write("<tr id='navtable_navrow'>");
		document.write("<td class='home_on'><a href='index.php'>HOME</a></td>");
		document.write("<td class='off'><a href='aboutindex.php' onMouseover=\"dropdownmenu(this, event, menu1, '175px')\" onMouseout=\"delayhidemenu()\">ABOUT THE INDEX</a></td>");
		document.write("<td class='off'><a href='customindex.php' onMouseover=\"dropdownmenu(this, event, menu2, '200px')\" onMouseout=\"delayhidemenu()\">INDEX DATA</a></td>");			
		document.write("<td class='off'><a href='analysis.php'>ANALYSIS</a></td>");		document.write("<td class='off'><a href='faq.php'>FAQ</a></td>");
		document.write("<td class='off'><a href='aboutus.php' onMouseover=\"dropdownmenu(this, event, menu3, '150px')\" onMouseout=\"delayhidemenu()\">ABOUT US</a></td>");
		document.write("<td class='off'><a href='contactus.php'>CONTACT US</a></td>");
		document.write("</tr></table>");
	break;

	case 'aboutindex':
		document.write("<table border='0' cellpadding='0' cellspacing='0' id='navtable'>");
		document.write("<tr id='navtable_navrow'>");
		document.write("<td class='off'><a href='index.php'>HOME</a></td>");
		document.write("<td class='aboutindex_on'><a href='aboutindex.php' onMouseover=\"dropdownmenu(this, event, menu1, '175px')\" onMouseout=\"delayhidemenu()\">ABOUT THE INDEX</a></td>");
		document.write("<td class='off'><a href='customindex.php' onMouseover=\"dropdownmenu(this, event, menu2, '200px')\" onMouseout=\"delayhidemenu()\">INDEX DATA</a></td>");		
		document.write("<td class='off'><a href='analysis.php'>ANALYSIS</a></td>");		document.write("<td class='off'><a href='faq.php'>FAQ</a></td>");
		document.write("<td class='off'><a href='aboutus.php' onMouseover=\"dropdownmenu(this, event, menu3, '150px')\" onMouseout=\"delayhidemenu()\">ABOUT US</a></td>");
		document.write("<td class='off'><a href='contactus.php'>CONTACT US</a></td>");
		document.write("</tr></table>");
	break;

	case 'indexdata':
		document.write("<table border='0' cellpadding='0' cellspacing='0' id='navtable'>");
		document.write("<tr id='navtable_navrow'>");
		document.write("<td class='off'><a href='index.php'>HOME</a></td>");
		document.write("<td class='off'><a href='aboutindex.php' onMouseover=\"dropdownmenu(this, event, menu1, '175px')\" onMouseout=\"delayhidemenu()\">ABOUT THE INDEX</a></td>");
		document.write("<td class='indexdata_on'><a href='customindex.php' onMouseover=\"dropdownmenu(this, event, menu2, '200px')\" onMouseout=\"delayhidemenu()\">INDEX DATA</a></td>");
		document.write("<td class='off'><a href='analysis.php'>ANALYSIS</a></td>");		document.write("<td class='off'><a href='faq.php'>FAQ</a></td>");
		document.write("<td class='off'><a href='aboutus.php' onMouseover=\"dropdownmenu(this, event, menu3, '150px')\" onMouseout=\"delayhidemenu()\">ABOUT US</a></td>");
		document.write("<td class='off'><a href='contactus.php'>CONTACT US</a></td>");
		document.write("</tr></table>");
	break;

	case 'analysis':
		document.write("<table border='0' cellpadding='0' cellspacing='0' id='navtable'>");
		document.write("<tr id='navtable_navrow'>");
		document.write("<td class='off'><a href='index.php'>HOME</a></td>");
		document.write("<td class='off'><a href='aboutindex.php' onMouseover=\"dropdownmenu(this, event, menu1, '175px')\" onMouseout=\"delayhidemenu()\">ABOUT THE INDEX</a></td>");
		document.write("<td class='off'><a href='customindex.php' onMouseover=\"dropdownmenu(this, event, menu2, '200px')\" onMouseout=\"delayhidemenu()\">INDEX DATA</a></td>");
		document.write("<td class='analysis_on'><a href='analysis.php'>ANALYSIS</a></td>");
		document.write("<td class='off'><a href='faq.php'>FAQ</a></td>");
		document.write("<td class='off'><a href='aboutus.php' onMouseover=\"dropdownmenu(this, event, menu3, '150px')\" onMouseout=\"delayhidemenu()\">ABOUT US</a></td>");
		document.write("<td class='off'><a href='contactus.php'>CONTACT US</a></td>");
		document.write("</tr></table>");
	break;

	case 'faq':
		document.write("<table border='0' cellpadding='0' cellspacing='0' id='navtable'>");
		document.write("<tr id='navtable_navrow'>");
		document.write("<td class='off'><a href='index.php'>HOME</a></td>");
		document.write("<td class='off'><a href='aboutindex.php' onMouseover=\"dropdownmenu(this, event, menu1, '175px')\" onMouseout=\"delayhidemenu()\">ABOUT THE INDEX</a></td>");
		document.write("<td class='off'><a href='customindex.php' onMouseover=\"dropdownmenu(this, event, menu2, '200px')\" onMouseout=\"delayhidemenu()\">INDEX DATA</a></td>");			
		document.write("<td class='off'><a href='analysis.php'>ANALYSIS</a></td>");		document.write("<td class='faq_on'><a href='faq.php'>FAQ</a></td>");
		document.write("<td class='off'><a href='aboutus.php' onMouseover=\"dropdownmenu(this, event, menu3, '150px')\" onMouseout=\"delayhidemenu()\">ABOUT US</a></td>");
		document.write("<td class='off'><a href='contactus.php'>CONTACT US</a></td>");
		document.write("</tr></table>");
	break;

	case 'aboutus':
		document.write("<table border='0' cellpadding='0' cellspacing='0' id='navtable'>");
		document.write("<tr id='navtable_navrow'>");
		document.write("<td class='off'><a href='index.php'>HOME</a></td>");
		document.write("<td class='off'><a href='aboutindex.php' onMouseover=\"dropdownmenu(this, event, menu1, '175px')\" onMouseout=\"delayhidemenu()\">ABOUT THE INDEX</a></td>");
		document.write("<td class='off'><a href='customindex.php' onMouseover=\"dropdownmenu(this, event, menu2, '200px')\" onMouseout=\"delayhidemenu()\">INDEX DATA</a></td>");			
		document.write("<td class='off'><a href='analysis.php'>ANALYSIS</a></td>");		document.write("<td class='off'><a href='faq.php'>FAQ</a></td>");
		document.write("<td class='aboutus_on'><a href='aboutus.php' onMouseover=\"dropdownmenu(this, event, menu3, '150px')\" onMouseout=\"delayhidemenu()\">ABOUT US</a></td>");
		document.write("<td class='off'><a href='contactus.php'>CONTACT US</a></td>");
		document.write("</tr></table>");
	break;

	case 'contactus':
		document.write("<table border='0' cellpadding='0' cellspacing='0' id='navtable'>");
		document.write("<tr id='navtable_navrow'>");
		document.write("<td class='off'><a href='index.php'>HOME</a></td>");
		document.write("<td class='off'><a href='aboutindex.php' onMouseover=\"dropdownmenu(this, event, menu1, '175px')\" onMouseout=\"delayhidemenu()\">ABOUT THE INDEX</a></td>");
		document.write("<td class='off'><a href='customindex.php' onMouseover=\"dropdownmenu(this, event, menu2, '200px')\" onMouseout=\"delayhidemenu()\">INDEX DATA</a></td>");			
		document.write("<td class='off'><a href='analysis.php'>ANALYSIS</a></td>");		document.write("<td class='off'><a href='faq.php'>FAQ</a></td>");
		document.write("<td class='off'><a href='aboutus.php' onMouseover=\"dropdownmenu(this, event, menu3, '150px')\" onMouseout=\"delayhidemenu()\">ABOUT US</a></td>");
		document.write("<td class='contactus_on'><a href='contactus.php'>CONTACT US</a></td>");
		document.write("</tr></table>");
	break;

	default:
		document.write("<table border='0' cellpadding='0' cellspacing='0' id='navtable'>");
		document.write("<tr id='navtable_navrow'>");
		document.write("<td class='off'><a href='index.php'>HOME</a></td>");
		document.write("<td class='off'><a href='aboutindex.php' onMouseover=\"dropdownmenu(this, event, menu1, '175px')\" onMouseout=\"delayhidemenu()\">ABOUT THE INDEX</a></td>");
		document.write("<td class='off'><a href='customindex.php' onMouseover=\"dropdownmenu(this, event, menu2, '200px')\" onMouseout=\"delayhidemenu()\">INDEX DATA</a></td>");			
		document.write("<td class='off'><a href='analysis.php'>ANALYSIS</a></td>");		document.write("<td class='off'><a href='faq.php'>FAQ</a></td>");
		document.write("<td class='off'><a href='aboutus.php' onMouseover=\"dropdownmenu(this, event, menu3, '150px')\" onMouseout=\"delayhidemenu()\">ABOUT US</a></td>");
		document.write("<td class='off'><a href='contactus.php'>CONTACT US</a></td>");
		document.write("</tr></table>");
	break;
	}
}

function get_html_leftnav(section)
{
	switch (section)
	{

	case 'aboutindex':
	document.write("<div class='leftnavlinkmain'><a href='aboutindex.php'>About the Index</a></div>");
	document.write("<div class='leftnavlinksub'><a href='calculated.php'>How the Index is Calculated</a></div>");
	document.write("<div class='leftnavlinksub'><a href='factsheets.php'>Index Fact Sheets</a></div>");
	document.write("<div class='leftnavlinksub'><a href='rulebooks.php'>Index Rule Books</a></div>");
	document.write("<div class='leftnavlinksub'><a href='indexhistory.php'>How the Index Came About</a></div>");
	document.write("<div class='leftnavlinksub'><a href='features.php'>Features & Benefits</a></div>");
	document.write("<div class='leftnavlinksub'><a href='need.php'>The Demand for CPMKTS</a></div>");
//	document.write("<div class='leftnavlinksub'><a href='comparison.php'>Comparative Performance</a></div>");
	document.write("<div class='leftnavlinksub'><a href='contributors.php'>Contributors</a></div>");
	document.write("<div class='leftnavlinksub'><a href='family.php'>Family of Indexes</a></div>");
	document.write("<img src='img/navspace.gif'>");
	break;

	case 'calculated':
	document.write("<div class='leftnavlinksub'><a href='aboutindex.php'>About the Index</a></div>");
	document.write("<div class='leftnavlinkmain'><a href='calculated.php'>How the Index is Calculated</a></div>");
	document.write("<div class='leftnavlinksub'><a href='factsheets.php'>Index Fact Sheets</a></div>");
	document.write("<div class='leftnavlinksub'><a href='rulebooks.php'>Index Rule Books</a></div>");
	document.write("<div class='leftnavlinksub'><a href='indexhistory.php'>How the Index Came About</a></div>");
	document.write("<div class='leftnavlinksub'><a href='features.php'>Features & Benefits</a></div>");
	document.write("<div class='leftnavlinksub'><a href='need.php'>The Demand for CPMKTS</a></div>");
//	document.write("<div class='leftnavlinksub'><a href='comparison.php'>Comparative Performance</a></div>");
	document.write("<div class='leftnavlinksub'><a href='contributors.php'>Contributors</a></div>");
	document.write("<div class='leftnavlinksub'><a href='family.php'>Family of Indexes</a></div>");
	document.write("<img src='img/navspace.gif'>");
	break;

	case 'factsheets':
	document.write("<div class='leftnavlinksub'><a href='aboutindex.php'>About the Index</a></div>");
	document.write("<div class='leftnavlinksub'><a href='calculated.php'>How the Index is Calculated</a></div>");
	document.write("<div class='leftnavlinkmain'><a href='factsheets.php'>Index Fact Sheets</a></div>");
	document.write("<div class='leftnavlinksub'><a href='rulebooks.php'>Index Rule Books</a></div>");
	document.write("<div class='leftnavlinksub'><a href='indexhistory.php'>How the Index Came About</a></div>");
	document.write("<div class='leftnavlinksub'><a href='features.php'>Features & Benefits</a></div>");
	document.write("<div class='leftnavlinksub'><a href='need.php'>The Demand for CPMKTS</a></div>");
//	document.write("<div class='leftnavlinksub'><a href='comparison.php'>Comparative Performance</a></div>");
	document.write("<div class='leftnavlinksub'><a href='contributors.php'>Contributors</a></div>");
	document.write("<div class='leftnavlinksub'><a href='family.php'>Family of Indexes</a></div>");
	document.write("<img src='img/navspace.gif'>");
	break;

	case 'rulebooks':
	document.write("<div class='leftnavlinksub'><a href='aboutindex.php'>About the Index</a></div>");
	document.write("<div class='leftnavlinksub'><a href='calculated.php'>How the Index is Calculated</a></div>");
	document.write("<div class='leftnavlinksub'><a href='factsheets.php'>Index Fact Sheets</a></div>");
	document.write("<div class='leftnavlinkmain'><a href='rulebooks.php'>Index Rule Books</a></div>");
	document.write("<div class='leftnavlinksub'><a href='indexhistory.php'>How the Index Came About</a></div>");
	document.write("<div class='leftnavlinksub'><a href='features.php'>Features & Benefits</a></div>");
	document.write("<div class='leftnavlinksub'><a href='need.php'>The Demand for CPMKTS</a></div>");
//	document.write("<div class='leftnavlinksub'><a href='comparison.php'>Comparative Performance</a></div>");
	document.write("<div class='leftnavlinksub'><a href='contributors.php'>Contributors</a></div>");
	document.write("<div class='leftnavlinksub'><a href='family.php'>Family of Indexes</a></div>");
	document.write("<img src='img/navspace.gif'>");
	break;
	
	case 'indexhistory':
	document.write("<div class='leftnavlinksub'><a href='aboutindex.php'>About the Index</a></div>");
	document.write("<div class='leftnavlinksub'><a href='calculated.php'>How the Index is Calculated</a></div>");
	document.write("<div class='leftnavlinksub'><a href='factsheets.php'>Index Fact Sheets</a></div>");
	document.write("<div class='leftnavlinksub'><a href='rulebooks.php'>Index Rule Books</a></div>");
	document.write("<div class='leftnavlinkmain'><a href='indexhistory.php'>How the Index Came About</a></div>");
	document.write("<div class='leftnavlinksub'><a href='features.php'>Features & Benefits</a></div>");
	document.write("<div class='leftnavlinksub'><a href='need.php'>The Demand for CPMKTS</a></div>");
//	document.write("<div class='leftnavlinksub'><a href='comparison.php'>Comparative Performance</a></div>");
	document.write("<div class='leftnavlinksub'><a href='contributors.php'>Contributors</a></div>");
	document.write("<div class='leftnavlinksub'><a href='family.php'>Family of Indexes</a></div>");
	document.write("<img src='img/navspace.gif'>");
	break;

	case 'features':
	document.write("<div class='leftnavlinksub'><a href='aboutindex.php'>About the Index</a></div>");
	document.write("<div class='leftnavlinksub'><a href='calculated.php'>How the Index is Calculated</a></div>");
	document.write("<div class='leftnavlinksub'><a href='factsheets.php'>Index Fact Sheets</a></div>");
	document.write("<div class='leftnavlinksub'><a href='rulebooks.php'>Index Rule Books</a></div>");
	document.write("<div class='leftnavlinksub'><a href='indexhistory.php'>How the Index Came About</a></div>");
	document.write("<div class='leftnavlinkmain'><a href='features.php'>Features & Benefits</a></div>");
	document.write("<div class='leftnavlinksub'><a href='need.php'>The Demand for CPMKTS</a></div>");
//	document.write("<div class='leftnavlinksub'><a href='comparison.php'>Comparative Performance</a></div>");
	document.write("<div class='leftnavlinksub'><a href='contributors.php'>Contributors</a></div>");
	document.write("<div class='leftnavlinksub'><a href='family.php'>Family of Indexes</a></div>");
	document.write("<img src='img/navspace.gif'>");
	break;

	case 'need':
	document.write("<div class='leftnavlinksub'><a href='aboutindex.php'>About the Index</a></div>");
	document.write("<div class='leftnavlinksub'><a href='calculated.php'>How the Index is Calculated</a></div>");
	document.write("<div class='leftnavlinksub'><a href='factsheets.php'>Index Fact Sheets</a></div>");
	document.write("<div class='leftnavlinksub'><a href='rulebooks.php'>Index Rule Books</a></div>");
	document.write("<div class='leftnavlinksub'><a href='indexhistory.php'>How the Index Came About</a></div>");
	document.write("<div class='leftnavlinksub'><a href='features.php'>Features & Benefits</a></div>");
	document.write("<div class='leftnavlinkmain'><a href='need.php'>The Demand for CPMKTS</a></div>");
//	document.write("<div class='leftnavlinksub'><a href='comparison.php'>Comparative Performance</a></div>");
	document.write("<div class='leftnavlinksub'><a href='contributors.php'>Contributors</a></div>");
	document.write("<div class='leftnavlinksub'><a href='family.php'>Family of Indexes</a></div>");
	document.write("<img src='img/navspace.gif'>");
	break;

	case 'comparison':
	document.write("<div class='leftnavlinksub'><a href='aboutindex.php'>About the Index</a></div>");
	document.write("<div class='leftnavlinksub'><a href='calculated.php'>How the Index is Calculated</a></div>");
	document.write("<div class='leftnavlinksub'><a href='factsheets.php'>Index Fact Sheets</a></div>");
	document.write("<div class='leftnavlinksub'><a href='rulebooks.php'>Index Rule Books</a></div>");
	document.write("<div class='leftnavlinksub'><a href='indexhistory.php'>How the Index Came About</a></div>");
	document.write("<div class='leftnavlinksub'><a href='features.php'>Features & Benefits</a></div>");
	document.write("<div class='leftnavlinksub'><a href='need.php'>The Demand for CPMKTS</a></div>");
	document.write("<div class='leftnavlinkmain'><a href='comparison.php'>Comparative Performance</a></div>");
	document.write("<div class='leftnavlinksub'><a href='contributors.php'>Contributors</a></div>");
	document.write("<div class='leftnavlinksub'><a href='family.php'>Family of Indexes</a></div>");
	document.write("<img src='img/navspace.gif'>");
	break;

	case 'contributors':
	document.write("<div class='leftnavlinksub'><a href='aboutindex.php'>About the Index</a></div>");
	document.write("<div class='leftnavlinksub'><a href='calculated.php'>How the Index is Calculated</a></div>");
	document.write("<div class='leftnavlinksub'><a href='factsheets.php'>Index Fact Sheets</a></div>");
	document.write("<div class='leftnavlinksub'><a href='rulebooks.php'>Index Rule Books</a></div>");
	document.write("<div class='leftnavlinksub'><a href='indexhistory.php'>How the Index Came About</a></div>");
	document.write("<div class='leftnavlinksub'><a href='features.php'>Features & Benefits</a></div>");
	document.write("<div class='leftnavlinksub'><a href='need.php'>The Demand for CPMKTS</a></div>");
//	document.write("<div class='leftnavlinksub'><a href='comparison.php'>Comparative Performance</a></div>");
	document.write("<div class='leftnavlinkmain'><a href='contributors.php'>Contributors</a></div>");
	document.write("<div class='leftnavlinksub'><a href='family.php'>Family of Indexes</a></div>");
	document.write("<img src='img/navspace.gif'>");
	break;

	case 'family':
	document.write("<div class='leftnavlinksub'><a href='aboutindex.php'>About the Index</a></div>");
	document.write("<div class='leftnavlinksub'><a href='calculated.php'>How the Index is Calculated</a></div>");
	document.write("<div class='leftnavlinksub'><a href='factsheets.php'>Index Fact Sheets</a></div>");
	document.write("<div class='leftnavlinksub'><a href='rulebooks.php'>Index Rule Books</a></div>");
	document.write("<div class='leftnavlinksub'><a href='indexhistory.php'>How the Index Came About</a></div>");
	document.write("<div class='leftnavlinksub'><a href='features.php'>Features & Benefits</a></div>");
	document.write("<div class='leftnavlinksub'><a href='need.php'>The Demand for CPMKTS</a></div>");
//	document.write("<div class='leftnavlinksub'><a href='comparison.php'>Comparative Performance</a></div>");
	document.write("<div class='leftnavlinksub'><a href='contributors.php'>Contributors</a></div>");
	document.write("<div class='leftnavlinkmain'><a href='family.php'>Family of Indexes</a></div>");
	document.write("<img src='img/navspace.gif'>");
	break;

	case 'aboutus':
	document.write("<div class='leftnavlinkmain'><a href='aboutus.php'>About Us</a></div>");
	document.write("<div class='leftnavlinksub'><a href='bios.php'>Management Team</a></div>");
//	document.write("<div class='leftnavlinksub'><a href='newsroom.php'>News Room</a></div>");
	document.write("<div class='leftnavlinksub'><a href='newsroom.php'>News Room</a></div>");
	document.write("<img src='img/navspace.gif'>");
	break;

	case 'bios':
	document.write("<div class='leftnavlinksub'><a href='aboutus.php'>About Us</a></div>");
	document.write("<div class='leftnavlinkmain'><a href='bios.php'>Management Team</a></div>");
//	document.write("<div class='leftnavlinksub'><a href='newsroom.php'>News Room</a></div>");
	document.write("<div class='leftnavlinksub'><a href='newsroom.php'>News Room</a></div>");
	document.write("<img src='img/navspace.gif'>");
	break;

	case 'pressroom':
	document.write("<div class='leftnavlinksub'><a href='aboutus.php'>About Us</a></div>");
	document.write("<div class='leftnavlinksub'><a href='bios.php'>Management Team</a></div>");
//	document.write("<div class='leftnavlinkmain'><a href='pressroom.php'>News Room</a></div>");
	document.write("<div class='leftnavlinksub'><a href='newsroom.php'>News Room</a></div>");
	document.write("<img src='img/navspace.gif'>");
	break;

	case 'newsroom':
	document.write("<div class='leftnavlinksub'><a href='aboutus.php'>About Us</a></div>");
	document.write("<div class='leftnavlinksub'><a href='bios.php'>Management Team</a></div>");
//	document.write("<div class='leftnavlinkmain'><a href='newsroom.php'>News Room</a></div>");
	document.write("<div class='leftnavlinksub'><a href='newsroom.php'>News Room</a></div>");
	document.write("<img src='img/navspace.gif'>");
	break;


	case 'customindex':
	document.write("<div class='leftnavlinkmain'><a href='customindex.php'>Index Data</a></div>");
	document.write("<div class='leftnavlinksub'><a href='indexweights.php'>Index Weights</a></div>");
	document.write("<div class='leftnavlinksub'><a href='monthlyreports.php'>Monthly Reports</a></div>");
	document.write("<div class='leftnavlinksub'><a href='components.php'>Component Securities</a></div>");
	document.write("<div class='leftnavlinksub'><a href='whitepaper.php'>Real-time Fixed Income Pricing</a></div>");
	document.write("<img src='img/navspace.gif'>");
	break;


	case 'indexweights':
	document.write("<div class='leftnavlinksub'><a href='customindex.php'>Index Data</a></div>");
	document.write("<div class='leftnavlinkmain'><a href='indexweights.php'>Index Weights</a></div>");
	document.write("<div class='leftnavlinksub'><a href='monthlyreports.php'>Monthly Reports</a></div>");
	document.write("<div class='leftnavlinksub'><a href='components.php'>Component Securities</a></div>");
	document.write("<div class='leftnavlinksub'><a href='whitepaper.php'>Real-time Fixed Income Pricing</a></div>");
	document.write("<img src='img/navspace.gif'>");
	break;

	case 'monthlyreports':
	document.write("<div class='leftnavlinksub'><a href='customindex.php'>Index Data</a></div>");
	document.write("<div class='leftnavlinksub'><a href='indexweights.php'>Index Weights</a></div>");
	document.write("<div class='leftnavlinkmain'><a href='monthlyreports.php'>Monthly Reports</a></div>");
	document.write("<div class='leftnavlinksub'><a href='components.php'>Component Securities</a></div>");
	document.write("<div class='leftnavlinksub'><a href='whitepaper.php'>Real-time Fixed Income Pricing</a></div>");
	document.write("<img src='img/navspace.gif'>");
	break;

	case 'components':
	document.write("<div class='leftnavlinksub'><a href='customindex.php'>Index Data</a></div>");
	document.write("<div class='leftnavlinksub'><a href='indexweights.php'>Index Weights</a></div>");
	document.write("<div class='leftnavlinksub'><a href='monthlyreports.php'>Monthly Reports</a></div>");
	document.write("<div class='leftnavlinkmain'><a href='components.php'>Component Securities</a></div>");
	document.write("<div class='leftnavlinksub'><a href='whitepaper.php'>Real-time Fixed Income Pricing</a></div>");
	document.write("<img src='img/navspace.gif'>");
	break;

	case 'whitepaper':
	document.write("<div class='leftnavlinksub'><a href='customindex.php'>Index Data</a></div>");
	document.write("<div class='leftnavlinksub'><a href='indexweights.php'>Index Weights</a></div>");
	document.write("<div class='leftnavlinksub'><a href='monthlyreports.php'>Monthly Reports</a></div>");
	document.write("<div class='leftnavlinksub'><a href='components.php'>Component Securities</a></div>");
	document.write("<div class='leftnavlinkmain'><a href='whitepaper.php'>Real-time Fixed Income Pricing</a></div>");
	document.write("<img src='img/navspace.gif'>");
	break;



	default:
	document.write("<img src='img/navspace.gif'>");
	break;

	}
}


function get_html_footer()
{

	document.write("Copyright &copy; 2008 Dorchester Capital Management Company. All Rights Reserved | <a href='terms.php'>Terms of Use</a>");
}




/***********************************************
* AnyLink Drop Down Menu- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

//Contents for menu 1
var menu1=new Array()
menu1[0]='<a href="aboutindex.php">About the Index</a>'
menu1[1]='<a href="calculated.php">How the Index is Calculated</a>'
menu1[2]='<a href="factsheets.php">Index Fact Sheets</a>'
menu1[3]='<a href="rulebooks.php">Index Rule Books</a>'
menu1[4]='<a href="indexhistory.php">How the Index Came About</a>'
menu1[5]='<a href="features.php">Features & Benefits</a>'
menu1[6]='<a href="need.php">The Demand for CPMKTS</a>'
//menu1[6]='<a href="comparison.php">Comparative Performance</a>'
menu1[7]='<a href="contributors.php">Contributors</a>'
menu1[8]='<a href="family.php">Family of Indexes</a>'

//Contents for menu 2, and so on
var menu2=new Array()
menu2[0]='<a href="customindex.php">Index Data</a>'
menu2[1]='<a href="indexweights.php">Index Weights</a>'
menu2[2]='<a href="monthlyreports.php">Monthly Reports</a>'
menu2[3]='<a href="components.php">Component Securities</a>'
menu2[4]='<a href="whitepaper.php">Real-time Fixed Income Pricing</a>'


//Contents for menu 3, and so on
var menu3=new Array()
menu3[0]='<a href="aboutus.php">About Us</a>'
menu3[1]='<a href="bios.php">Management Team</a>'
menu3[2]='<a href="newsroom.php">News Room</a>'



var menuwidth='150px' //default menu width
var menubgcolor='#000000'  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}


function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top=-500
if (menuwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}


function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
}

return clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}

if (hidemenu_onclick=="yes")
document.onclick=hidemenu

