// JavaScript File
// ticadtop-fr.js for UNDP/TICAD IV - 2008 ---------|
// FRENCH SITE  ------------------------------------|
// Programmer: Oswaldo Ospina, oEo -----------------|
// Revision: 10:00 AM 4/12/2009 --------------------|
// -------------------------------------------------|

//	DO NOT modify !!!!!!!!!!!!!!!!!!!!!!!!!!

//var thisPageTab value comes from each page and it's declared there
var tabToggle = "tab";  // tab or tab_on
var tabsRow = "";

var tabSections = new Array();
	// Use absolute paths?
if (thisPageTab == 1)	// exclusively for home page

// BEGIN Editable Area ---------------------\
	{	
tabSections[0] = new Array("Accueil","index.shtml","1");
tabSections[1] = new Array("Sur la TICAD","laticad/objectifs.shtml","2");
tabSections[2] = new Array("Yokohama 2008","ticadiv/verslaticad-iv.shtml","3");
tabSections[3] = new Array("Botswana 2009","ticadiv/botswana2009f.shtml","4");
tabSections[4] = new Array("R&eacute;ussites","accomplissements/leprocessus.shtml","5");
tabSections[5] = new Array("Contactez-nous","dossier2008/contactez.shtml","6");	}
	else		// other pages
	{
tabSections[0] = new Array("Accueil","../index.shtml","1");
tabSections[1] = new Array("Sur la TICAD","../laticad/objectifs.shtml","2");
tabSections[2] = new Array("Yokohama 2008","../ticadiv/verslaticad-iv.shtml","3");
tabSections[3] = new Array("Botswana 2009","../ticadiv/botswana2009f.shtml","4");
tabSections[4] = new Array("R&eacute;ussites","../accomplissements/leprocessus.shtml","5");
tabSections[5] = new Array("Contactez-nous","../dossier2008/contactez.shtml","6");
	}

// END Editable Area ---------------------/

function displayTabs() {

tabsRow = "<div class=\"tabs\">"; // open layer

for (var i= 0; i < tabSections.length; i++)
	{
	if (thisPageTab == tabSections[i][2])
		{
			tabToggle = "tab_on";
		}
		else
		{
			tabToggle = "tab";
		}
	tabsRow += "<div " + "class=\"" + tabToggle + "\"><a href=\"" 
	tabsRow += tabSections[i][1] + "\">" + tabSections[i][0]
	tabsRow += "</a></div>";
	}

if (browserName == "Netscape")
	{
	tabsRow += "<br clear=\"all\">";		// 
tabsRow += "</div>";	// close layer	
tabsRow += "<div class=\"tabrule\"></div><br />"; 		// you need the <br /> !
	}
	else
	{
tabsRow += "</div>";	// close	
tabsRow += "<div class=\"tabrule\"></div>"; 		// line below tabs
	
	tabsRow += "<br clear=\"all\">";		// 
	}

// Tip: document.write("<plaintext>" + tabsRow + "</plaintext>");  //HTML output

document.write(tabsRow);

// To take care of "R&eacute;ssites" that does show as is

if ((tabSections[thisPageTab - 1][0]) != "R&eacute;ussites") {

document.title = "TICAD | " + tabSections[thisPageTab - 1][0];

	}

} // function

function thisSectionName() {
var sectHeadline = tabSections[thisPageTab - 1][0];
document.write(sectHeadline);

} // function

// End of ticadtop-fr.js