	// cette fonction est appelée par le menu flash
function appel_rbqe(num_rbqe){
	switch(num_rbqe){
		case 0:
			clic_bn2('07','101',1158,''); top.location.href="/index.html" ; break;
		case 1:
			clic_bn2('07','102',1158,''); top.location.href="/casden/video.html?rbqe=1" ; break;
		case 2:
			clic_bn2('07','103',1158,''); top.location.href="/programme123/123.html?rbqe=2" ; break;
		case 3:
			clic_bn2('07','104',1158,''); top.location.href="/produits/epargne.html?rbqe=3" ; break;
		case 4:
			clic_bn2('07','105',1158,''); top.location.href="/produits/credit_consommation.html?rbqe=4" ; break;
		case 5:
			clic_bn2('07','106',1158,''); top.location.href="/produits/credit_immobilier.html?rbqe=5" ; break;
		case 6:
			clic_bn2('07','107',1158,''); top.location.href="/produits/starden.html?rbqe=6" ; break;
		case 7:
			clic_bn2('07','109',1158,''); top.location.href="/dynamic/view/simulations/index.seam?rbqe=7" ; break;
		case 8:
			clic_bn2('07','108',1158,''); top.location.href="/produits/alter_ego_accueil.html?rbqe=8" ; break;
		default:
		break;
	}
}

// Check to see if a player with Flash Product Install is available and the version does not meet the requirements for playback
if ( hasProductInstall ) {  // if we've detected an acceptable version
	// rbqe_choisie est dans scripts.js
	var menu_flash = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="183" height="320" id="menuhttp" align="middle">'
	+'<param name="allowScriptAccess" value="sameDomain" />'
	+'<param name="movie" value="/js/menuhttp.swf?rbqe='+rbqe_choisie+'" />'
	+'<param name="quality" value="high" />'
	+'<param name="bgcolor" value="#ffffff" />'
	+'<embed src="/js/menuhttp.swf?rbqe='+rbqe_choisie+'" quality="high" bgcolor="#ffffff" width="183" height="320" name="menuhttp" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'
	+'</object><br />'
	document.write(menu_flash);

} else {  // flash is too old or we can't detect the plugin
	
	var puce = "<b style='color:#AFC82A; font-size:14px;'>&bull;</b>&nbsp;";
	var style_over = "style='color:#AA0000;'";
	var rub = new Array("ACCUEIL","LA CASDEN","LE PROGRAMME 123","EPARGNE","CREDITS CONSOMMATION","CREDITS IMMOBILIERS","OFFRE JEUNES","POUR VOS ENFANTS","SIMULATIONS")
	
	document.writeln('<div align="center">');
	document.writeln('<a href="/index.html" target="_top"><img src="/img/logo_casden.gif" width="73" height="75" border="0"></a>');
	document.writeln('<br /><img src="/img/pix.gif" width="1" height="5"><br />');
	document.writeln('</div>');
	document.writeln('<img src="/img/mag_haut.gif" width="181" height="9" border="0"><table width="181" cellpadding="0" cellspacing="0" border="0" background="/img/mag_milieu.gif">');
	document.writeln('<tr>');
	document.writeln('<td><img src="/img/pix.gif" width="5" height="1"></td>');
	document.writeln('<td>');
	document.writeln('<div class="menu">'+puce+'<a href="javascript:appel_rbqe(0)"><b>'+rub[0]+'</b></a>');
	for(var i=1; i<rub.length; i++){
		document.writeln('<img src="/img/pix_2points.gif" vspace="3"><br>'+puce+'<a href="javascript:appel_rbqe('+i+')" '); if(rbqe_choisie==i) document.writeln(style_over); document.writeln('><b>'+rub[i]+'</b></a><br>');
	}
	document.writeln('</div></td></tr>');
	
	document.writeln('</table><img src="/img/mag_bas.gif" width="181" height="7" border="0"><br><img src="/img/pix.gif" width="1" height="3"><br />');
}

// DEVENIR SOCIETAIRE
var devenir_societaire = ''
+'<table width="180" cellpadding="0" cellspacing="0" border="0"> '
+'	<tr>'
+'		<td><img src="/img/bandeau_orange1.gif" width="10" height="23"></td>'
+'		<td background="/img/puce_o.gif" height="23"><img src="/img/fleche_doubleb.gif" width="10" height="5"></td>'
+'		<td background="/img/puce_o.gif" height="23" width="100%"><img src="/img/pix.gif" width="4" height="1"><a href="/casden/devenir_societaire.html?rbqe=1" clic_bn2(\'07\',\'500\',1158,\'\'); class="lien_titre_blanc" target="_top" alt="Devenir sociétaire"><b>DEVENIR SOCIETAIRE</b></a></td>'
+'		<td><img src="/img/bandeau_orange3.gif" width="10" height="23"></td>'
+'	</tr>'
+'</table>';
document.write(devenir_societaire);
/*
// ACCES SERVICES EN LIGNE
var service = ''
+'<img src="/img/pix.gif" width="1" height="12"><br /><table width="180" cellpadding="0" cellspacing="0" border="0"> '
+'	<tr><form name="loginForm2" action="'+lien_https+'/simu/view/authentification/login.seam" method="post" target="_top">'
+'		<td><img src="/img/bandeau_bleu_grd_gauche.gif" width="10" height="78"></td>'
+'		<td background="/img/puce_bleu.gif" height="30" valign="top"><img src="/img/pix.gif" width="1" height="15"><img src="/img/fleche_doubleb.gif" width="10" height="5"></td>'
+'		<td background="/img/puce_bleu.gif" height="30" width="100%" valign="top"><img src="/img/pix.gif" width="3" height="1"><img src="/img/pix.gif" width="1" height="17"><a href="javascript:document.forms.loginForm2.submit();" class="lien_titre_blanc"><b>ACCEDER AUX &nbsp;SERVICES EN LIGNE</b></a>'
+'<br><img src="/img/pix.gif" width="1" height="7"><img src="/img/trait_service.gif" align="middle"><br><img src="/img/pix.gif" width="1" height="4"><br><a href="/dynamic/html/services/f_services.jsp?page=/dynamic/html/services/acces/ACS_MEN001.jsp" class="lien_blanc_9" target="_top">Je n\'ai pas encore ou je n\'ai plus de code confidentiel</a>
+'</td>'
+'		<td><img src="/img/bandeau_bleu_grd_droit.gif" width="10" height="78"></td>'
+'	</tr><input type="hidden" name="redirectLogin" value="true"></form>'
+'</table>';
document.write(service);
*/

// ACCES SERVICES EN LIGNE
var service = ''
+'<img src="/img/pix.gif" width="1" height="12"><br /><img src="/img/bandeau_bleu_grd_haut2.gif" width="180" height="9"><br />'
+'<table width="180" cellpadding="0" cellspacing="0" border="0" background="/img/puce_bleu_casden.gif"> '
+'	<tr><form name="loginForm2" action="'+lien_https+'/simu/view/authentification/login.seam" method="post" target="_top">'
+'		<td nowrap valign="top"><img src="/img/pix.gif" width="10" height="1"><img src="/img/picto_acces_soc2.gif"  vspace=4></td>'
+'		<td>&nbsp;</td>'
+'		<td nowrap valign="top"><a href="javascript:document.forms.loginForm2.submit();" class="lien_titre_blanc" onClick="clic_bn2(\'07\',\'600\',1158,\'\');" alt="Espace Sociétaire"><b>ACCEDER A VOTRE<br>ESPACE SOCIETAIRE&nbsp;&nbsp;&nbsp;&nbsp;</b></a></td>'
+'	</tr><input type="hidden" name="redirectLogin" value="true"></form>'
+'<tr><td colspan=3><img src="/img/bandeau_bleu_grd_bas2.gif" width="180" height="9"></td></tr>'
+'</table>';
document.write(service);


/*
//RECHERCHE DELEGATION
var recherche_delegation = ''
+'<img src="/img/pix.gif" width="1" height="8"><br /><table border="0" cellspacing="0" cellpadding="0"><tr><td><img src="/img/mag_haut.gif"></td>'
+'</tr>'  
+'<tr>'
+'<td background="/img/mag_milieu2.gif" style="background-repeat:repeat-y"/>'
+'<form name="rechercheForm" method="post" action="/dynamic/view/delegations/CTC_RDE001_bis.seam" enctype="application/x-www-form-urlencoded">'
+'<span class="texte">&nbsp;&nbsp;Recherchez votre D&#233;l&#233;gation<br>&nbsp;&nbsp;D&#233;partementale CASDEN:&nbsp;&nbsp;</span>'
+'<table>'
+'<tr>'
+'<td>'
+'&nbsp;&nbsp;<input  name="simuForm:numero_departement" type="text" value="N° dépt." maxlength="3" size="6" onclick="this.value=\'\'"/>'
+'</td>'
+'<td>'
+'<input type="image" src="/img/OK.gif">'
+'</td>'
+'</tr>'
+'</table>'
+'<input type="hidden" name="simuForm_SUBMIT" value="1" />'
+'</td></tr>'
+'<tr>'
+'<td><img src="/img/mag_bas.gif" /></td>'
+'</tr>'
+'</form>'
+'</table>';
document.write(recherche_delegation);
*/

// PUBLICITE
document.writeln('<img src="/img/pix.gif" width="1" height="12"><br /><div align=left>');
// PUBLICITE

  switch(rbqe_choisie){
		case 0:
			document.writeln('<img src="/img/filet_haut.gif" border="0" /><table width="181" cellpadding="0" cellspacing="0" border="0" background="/img/filet_milieu.gif">'); 
			document.writeln('<tr>');
			document.writeln('<td>');
			document.writeln('&nbsp;&nbsp;');
			document.writeln('</td>');
			document.writeln('<td><span class="siteavisiter">');
/*			document.writeln('<a href="http://www.natixis.fr/prehome_banque_pop.html" onClick="clic_bn2(1,304,1067,\'\');return true;" target="_blank"><img src="/img/logo_natixis.gif" border="0"></a>') ;
			document.writeln('<br>');
			document.writeln('<br>');*/
			document.writeln('<img src="img/dot.gif" width="5" height="5" alt="" /> <a href="http://www.bpce.fr/" onClick="clic_bn2(\'06\',\'101\',1158,\'\');return true;" target="_blank" title="Groupe BPCE"> Groupe BPCE</a><br>') ;
			
			document.writeln('<img src="img/dot.gif" width="5" height="5" alt="" /> <a href="http://www.banquepopulaire.fr" onClick="clic_bn2(\'06\',\'102\',1158,\'\');return true;" target="_blank" title="Banque Populaire">Banque Populaire</a><br>') ;
			
			document.writeln('<img src="img/dot.gif" width="5" height="5" alt="" /> <a href="http://www.banquepopulaire.fr/groupe/p447_FR.htm" onClick="clic_bn2(\'06\',\'103\',1158,\'\');return true;" target="_blank" title="La Fondation vous aide &agrave; r&eacute;aliser vos projets">La Fondation Groupe</a><br>') ;
	
	        document.writeln('<img src="img/dot.gif" width="5" height="5" alt="" /> <a href="http://www.vousnousils.fr" onClick="clic_bn2(\'06\',\'104\',1158,\'\');return true;" target="_blank">VousNousIls.fr</a><br>') ;
		   
		   
		    document.writeln('<img src="img/dot.gif" width="5" height="5" alt="" /> <a href="http://www.ddm.gouv.fr/surfezintelligent/" onClick="clic_bn2(\'06\',\'105\',1158,\'\');return true;" target="_blank">Surfez Intelligent</a><br>') ;
			/*encart video promotionel vni
			video='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"'
+'codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="145" height="108" id="145_poteau" align="middle">'
+'<param name="allowScriptAccess" value="sameDomain" />'
+'<param name="movie" value="/145_poteau.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#333333" /><embed src="/145_poteau.swf"' +'quality="high" bgcolor="#333333" width="145" height="108" name="145_poteau" align="middle" allowScriptAccess="sameDomain"'+' type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'
+'</object>'

			document.write(video);*/

			document.writeln('<img src="img/dot.gif" width="5" height="5" alt=""> <a href="http://www.ff-handball.org/" onClick="clic_bn2(\'06\',\'106\',1158,\'\');return true;" target="_blank">Féd. Française de Handball</a><br>') ;
			
			document.writeln('<img src="img/dot.gif" width="5" height="5" alt=""> <a href="http://www.thuram.org/" onClick="clic_bn2(\'06\',\'107\',1158,\'\');return true;" target="_blank">Fondation Lilian Thuram</a><br><br>') ;
			
			document.writeln('</span></td>');
			document.writeln('</tr>');
			document.writeln('</table>');
			document.writeln('<img src="/img/filet_bas.gif" border="0"><br />');
		break;
		case 1:
			document.writeln('') ; break;
		case 2:
			document.writeln('') ; break;
		case 3:
			document.writeln('') ; break;
		case 4:
			document.writeln('') ; break;
		case 5:
			document.writeln('') ; break;
		case 6:
			document.writeln('') ; break;
		default:
			document.writeln('') ; break;
		break;
	}
document.writeln('</div>');
	
