// Script de creation des menus gauches
// Version 1.0 12.06.2002

// Styles des menus
document.write('<style type="text/css">');
document.write('.inact1{background-image:url(./images/cell_bg.gif);vertical-align : top;height : 17px;text-align : center;font-size : 12px;font-weight: bold;}');
document.write('.inact2{background-image:url(./images/cell_bg3.gif);vertical-align : top;height : 17px;text-align : center;font-size : 12px;font-weight: bold;}');
document.write('.inact3{background-image:url(./images/cell_bg2.gif);vertical-align : top;height : 17px;font-size : 12px;}');
document.write('.act{background-image:url(./images/cell_bg.gif);vertical-align : top;height : 17px;font-size : 12px;}');
document.write('</style>');

// Contenu des menus
nbr_menu = 6;
menu_cnt = 0;
entree_menu_cnt = 0;

menus = new Array;
menus[0] = new Array(11);
menus[1] = new Array(11);
menus[2] = new Array(11);
menus[3] = new Array(11);
menus[4] = new Array(12);
menus[5] = new Array(11);


menus[0][0] = '';
menus[0][1] = '<a class="titre" href="./nouakchott.html">NOUAKCHOTT</a>';
menus[0][2] = '<a class="menu" href="./nouakchott_photos.html" target="_parent" >&nbsp;Photos&nbsp;&nbsp;&nbsp;&nbsp;</a>';
menus[0][3] = '';
menus[0][4] = '<a class="menu" href="./quotidien.html" target="_parent" >&nbsp;Au quotidien&nbsp;&nbsp;</a>';
menus[0][5] = '<a class="menu" href="./nouakchott_vivre.html" target="_parent" >&nbsp;Y&nbsp;vivre/Y&nbsp;séjourner&nbsp;</a>';
menus[0][6] = '<a class="menu" href="./agenda.html" target="_parent" >&nbsp;Agenda&nbsp;&nbsp;&nbsp;</a>';
menus[0][7] = '';
menus[0][8] = '';
menus[0][9] = '<a class="menu" href="../librairie.html" target="_parent" >&nbsp;Librairie&nbsp;&nbsp;&nbsp;&nbsp;</a>';
menus[0][10] ='<small><a href="javascript:load_en();">EN</a> - FR</small>';

menus[1][0] = '';
menus[1][1] = '<a class="titre" href="./nouakchott_photos.html"> PHOTOS NOUAKCHOTT</a>';
menus[1][2] = '<a class="menu" href="./nouakchott_photos_ville.html" target="_parent" >&nbsp;La&nbsp;(les)&nbsp;ville(s)&nbsp;&nbsp;&nbsp;</a>';
menus[1][3] = '<a class="menu" href="./photos_marches_nouakchott.html" target="_parent" >&nbsp;Les&nbsp;march&eacute;s</a>';
menus[1][4] = '<a class="menu" href="./port_peche_nouakchott.html" target="_parent" >&nbsp;Port&nbsp;de&nbsp;pêche&nbsp;</a>';
menus[1][5] = '<a class="menu" href="./nouakchott_photos_actualite.html" target="_parent" >&nbsp;Li&eacute;es&nbsp;à&nbsp;l\'actualit&eacute;&nbsp;&nbsp;&nbsp;&nbsp;</a>';
menus[1][6] = '<a class="menu" href="./nouakchott_alentours.html" target="_parent" >&nbsp;Aux&nbsp;alentours&nbsp;</a>';
menus[1][7] = '';
menus[1][8] = '';
menus[1][9] = '<a class="menu" href="../librairie.html" target="_parent" >&nbsp;Librairie&nbsp;&nbsp;&nbsp;&nbsp;</a>';
menus[1][10] ='<small><a href="javascript:load_en();">EN</a> - FR</small>';


menus[2][0] = '';
menus[2][1] = '<a class="titre" href="./nouakchott_vivre.html"> Y vivre/Y séjourner</a>';
menus[2][2] = '<a class="menu" href="./logement.html" target="_parent" >&nbsp;Se loger&nbsp;&nbsp;&nbsp;</a>';
menus[2][3] = '<a class="menu" href="./nourrir.html" target="_parent" >&nbsp;Se nourrir</a>';
menus[2][4] = '<a class="menu" href="./achats_utiles.html" target="_parent" >&nbsp;Achats utilitaires&nbsp;</a>';
menus[2][5] = '<a class="menu" href="./achats_futiles.html" target="_parent" >&nbsp;Achats futiles&nbsp;&nbsp;&nbsp;&nbsp;</a>';
menus[2][6] = '<a class="menu" href="./services.html" target="_parent" >&nbsp;Services&nbsp;</a>';
menus[2][7] = '<a class="menu" href="./loisirs.html" target="_parent" >&nbsp;Se divertir&nbsp;</a>';
menus[2][8] = '<a class="menu" href="./deplacer.html" target="_parent" >&nbsp;Se d&eacute;placer&nbsp;</a>';
menus[2][9] = '';
menus[2][10] ='<small><a href="javascript:load_en();">EN</a> - FR</small>';


menus[3][0] = '';
menus[3][1] = '<a class="titre" href="./quotidien.html">VIE QUOTIDIENNE</a>';
menus[3][2] = '<a class="menu" href="./quotidien_01.html" target="_parent" >&nbsp;Les &quot;sauveteurs&quot;&nbsp;&nbsp;</a>';
menus[3][3] = '<a class="menu" href="./quotidien_02.html" target="_parent" >&nbsp;Transports urbains</a>';
menus[3][4] = '<a class="menu" href="./quotidien_03.html" target="_parent" >&nbsp;Les tontines</a>';
menus[3][5] = '';
menus[3][6] = '<a class="menu" href="./photos_quotidien_01.html" target="_parent" >&nbsp;Galeries photos</a>';
menus[3][7] = '';
menus[3][8] = '<a class="menu" href="../messages.html" target="_parent" >&nbsp;Messages/Forum&nbsp;&nbsp;&nbsp;</a>';
menus[3][9] = '';
menus[3][10] = '';

menus[4][0] = '';
menus[4][1] = '<a class="titre" href="./vivre.html">VIVRE</a>';
menus[4][2] = '<a class="menu" href="./douala.html" target="_parent" >&nbsp;Douala en photos</a>';
menus[4][3] = '<a class="menu" href="./douala_prat.html" target="_parent" >&nbsp;Douala pratique</a>';;
menus[4][4] = '<a class="menu" href="./quotidien.html" target="_parent" >&nbsp;Vie quotidienne&nbsp;&nbsp;</a>';
menus[4][5] = '<a class="menu" href="./ngondo.html" target="_parent" >&nbsp;Ngondo&nbsp;&nbsp;</a>';
menus[4][6] = '<a class="menu" href="./bessengue.html" target="_parent" >&nbsp;Bessengue</a>';
menus[4][7] = '<a class="menu" href="./biblio_cameroun.html" target="_parent" >&nbsp;Bibliographie&nbsp;&nbsp;</a>';
menus[4][8] = '<a class="menu" href="http://www.mauritanie-decouverte.net/forum" target="_parent" >&nbsp;Forum&nbsp;&nbsp;&nbsp;</a>';
menus[4][9] = '';
menus[4][10] = '<a class="menu" href="../librairie.html" target="_parent" >&nbsp;Librairie</a>';
menus[4][11] ='<small><a href="javascript:load_en();">EN</a> - FR</small>';

menus[5][0] = '';
menus[5][1] = '<a class="titre" href="./decouvrir.html">DECOUVRIR</a>';
menus[5][2] = '<a class="menu" href="./generalites.html" target="_parent" >&nbsp;G&eacute;n&eacute;ralit&eacute;s&nbsp;&nbsp;</a>';
menus[5][3] = '<a class="menu" href="./culture.html" target="_parent" >&nbsp;Culture&nbsp;&nbsp;&nbsp;&nbsp;</a>';
menus[5][4] = '<a class="menu" href="./gastronomie.html" target="_parent" >&nbsp;Gastronomie</a>';
menus[5][5] = '<a class="menu" href="./faune_flore.html" target="_parent" >&nbsp;Faune et flore&nbsp;&nbsp;&nbsp;</a>';
menus[5][6] = '<a class="menu" href="./divers.html" target="_parent" >&nbsp;Curiosit&eacute;s&nbsp;&nbsp;&nbsp;</a>';
menus[5][7] = '';
menus[5][8] = '<a class="menu" href="./contact.html" target="_parent" >&nbsp;Contacts</a>';
menus[5][9] = '';
menus[5][10] = '';


// Fonction de creation

function menu_gauche ( num_menu, menu_act)
{

	content = '<table width="120" cellspacing="0" cellpadding="0" bgcolor="#DECE31">';
	while (entree_menu_cnt < menus[num_menu].length)
	{
		if (menus[num_menu][entree_menu_cnt].length == 0)
		{
			content += '<tr><td class="inact1" height="17" width="120">&nbsp;</td></tr>';
		}
		else if (menus[num_menu][entree_menu_cnt].indexOf(menu_act) != -1)
		{
			content += '<tr><td class="inact3" height="17">' + menus[num_menu][entree_menu_cnt] + '</td></tr>';
		}
        else if (menus[num_menu][entree_menu_cnt].indexOf('menu') != -1)
		{
			content += '<tr><td class="act" height="17" onmouseover="this.style.background=\'url(./images/cell_bg2.gif)\'" onmouseout="this.style.background=\'url(./images/cell_bg.gif)\'">' + menus[num_menu][entree_menu_cnt] + '</td></tr>';
		}
		else
		content += '<tr><td class="inact2" height="17">' + menus[num_menu][entree_menu_cnt] + '</td></tr>';

        entree_menu_cnt++;
	}
	
	
	content += '</table>';
	if (une)
	{
	   
	   content += '<script type="text/javascript"';
       content += '  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">';
       content += '</script>';
	   une=0;
	}
	entree_menu_cnt = 0;
	document.write(content);
}
