<!--

// JavaScript Document

// Commenter la	ligne qui ne doit pas apparaitre dans le menu...
// -------------------------------------------------------------
var tabMenuGauche = new Array();
tabMenuGauche.push({label:'Téléphone Mobile', 		url:'offres-promotionelles-telecom.html', 			idimg:'itelec'});
tabMenuGauche.push({label:'TV-Audio/Vidéo', 	url:'offres-promotionelles-tv-audio-video.html', 	idimg:'iitvauvid'});
//tabMenuGauche.push({label:'Photo-Caméscope', 	url:'offres-promotionelles-photo.html', idimg:'iphoto'});
//tabMenuGauche.push({label:'Audio-vidéo', 		url:'offres-promotionelles-audiovideo.html',		idimg:'iaudvid'});
tabMenuGauche.push({label:'Informatique', 		url:'offres-promotionelles-informatique.html', 		idimg:'iinf'});
//tabMenuGauche.push({label:'Électroménager', 		url:'offres-promotionelles-electromenager.html',	idimg:'ielectro'});

//tabMenuGauche.push({label:'Caméscope', 			url:'offres-promotionelles-camescopes.html', 			idimg:'icamera'});
//tabMenuGauche.push({label:'photo  camscope', 	url:'offres-promotionelles-photocamescope.html',	idimg:'iphocam'});
//
// -------------------------------------------------------------


var tabListeJeux = new Array();
tabListeJeux.push({label:'Jeu S3100 Christophe Maé', 	url:'index-jeux-concours.html', 			idl:''});
//tabListeJeux.push({label:'Shopping no limit', 	url:'index-jeux-concours.html', 			idl:''});
tabListeJeux.push({label:'Concours d\'idées Android', 	url:'index-jeux-concours.html', 			idl:''});
//tabListeJeux.push({label:'Distribuez les cadeaux du Père Noël', 		url:'index-jeux-concours.html', 			idl:''});
//tabListeJeux.push({label:'Gagnez des billets pour Disneyland Paris', 		url:'index-jeux-concours.html', 			idl:''});
//tabListeJeux.push({label:'Gagnez 10 mobiles B3310', 		url:'index-jeux-concours.html', 			idl:''});


var trtd = "<tr><td>";
var _trtd = "</td></tr>";
var tdtd = "</td><td>";
var debtabmenu = "<table width='160' border='0' cellpadding='0' cellspacing='0' class='menug_sstitre'>" + trtd + "&nbsp;"+ _trtd;
var fintabmenu = "</table>";

function makeMenuGauche(sel) {
	var addToUrl = ""; 
	if (sel == "details")  {
		addToUrl = "../";
	}
	var ret = debtabmenu;
	var tmplig = '';
	
	for (i=0; i<tabMenuGauche.length; i++) {
		
		if (sel == tabMenuGauche[i].idimg) {
			tmplig 	= trtd + "<img src='"+addToUrl+"images/picto-menug-on.gif' width='8' height='12' border='0'/><span class='menug_sstitre_selected'>"+tabMenuGauche[i].label+"</span>"  + _trtd;
		} else {
			tmplig 	= trtd + "<a href=\""+addToUrl+""+tabMenuGauche[i].url+"\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('"+tabMenuGauche[i].idimg+"','','"+addToUrl+"images/picto-menug-on.gif',0)\" class=\"menug_sstitre\" title='"+tabMenuGauche[i].label+"'>";
			tmplig += "<img src='"+addToUrl+"images/picto-menug-off.gif' name='"+tabMenuGauche[i].idimg+"' width='8' height='12' border='0' id='"+tabMenuGauche[i].idimg+"' />";
			tmplig += tabMenuGauche[i].label + "</a>" + _trtd;
		}
		ret += tmplig;
	}
	ret += fintabmenu;
	
	
	var retLienOffres = '<table width="160" border="0" cellpadding="0" cellspacing="0"><tr><td><a href="'+addToUrl+'index.html" class="menug_titre">offres<br>promotionnelles</a></td></tr></table>';
	
	
	var retLienJeux = '<br><table width="160" border="0" cellpadding="0" cellspacing="0"><tr><td><a href="'+addToUrl+'index-jeux-concours.html" class="menug_titre">jeux &amp; <br />&eacute;v&eacute;nements</a></td></tr></table>';
	
	
	
	var retListeJeux = debtabmenu;
	tmplig = '';
	var idimgbt = '';
	for (i=0; i<tabListeJeux.length; i++) {
		idimgbt = 'btj'+i;
		tmplig 	= trtd + "<a href=\""+addToUrl+""+tabListeJeux[i].url+"\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('"+idimgbt+"','','"+addToUrl+"images/picto-menug-on.gif',0)\" class=\"menug_sstitre\" title='"+tabListeJeux[i].label+"'>";
		tmplig += "<img src='"+addToUrl+"images/picto-menug-off.gif' name='"+idimgbt+"' width='8' height='12' border='0' id='"+idimgbt+"' />";
		tmplig += tabListeJeux[i].label + "</a>" + _trtd;
		
		retListeJeux += tmplig;
	}
	retListeJeux += fintabmenu;
	document.write('<a name="top"></a>'+retLienOffres + '' + ret + '' + retLienJeux + '' + retListeJeux);
	window.location.href ="#top";
}

//-->