/* A REGLER MANUELLEMENT SI LE CADRE EST TROP PETIT */
hauteurcadre = 15;

xmenu = new Array();
xlien = new Array();


xmenu[0] = 'CINEFFABLE';
xmenu[1] = 'FESTIVAL';
xmenu[2] = 'BONUS';
xmenu[3] = 'ESPACE PRESSE';
xmenu[4] = 'FAQ';
xmenu[5] = 'TARIFS';
xmenu[6] = '<A HREF="http://www.cineffable.fr/pages/liens.htm" CLASS=menudyn3 target="_blank">LIENS</A>';
xmenu[7] = '<A HREF="http://www.cineffable.fr/fr/archives.htm" CLASS=menudyn3 target="_blank">ARCHIVES</A>';


xlien[0] = ''
xlien[1] = ''
xlien[2] = ''
xlien[3] = ''
xlien[4] = ''
xlien[5] = ''
xlien[6] = ''
xlien[7] = ''

xlien[0] += '<A HREF="c_asso.htm" CLASS=menudyn4>Association</A>';
xlien[0] += ' | '
xlien[0] += '<A HREF="c_fonction.htm" CLASS=menudyn4>Fonctionnement</A>';
xlien[0] += ' | '
xlien[0] += '<A HREF="c_statuts.htm" CLASS=menudyn4>Statuts</A>';

xlien[1] += '<A HREF="f_prog.htm" CLASS=menudyn4>Programme</A>';
xlien[1] += ' | '
/*xlien[1] += '<A HREF="f_films.htm" CLASS=menudyn4>Films</A>';
xlien[1] += ' | '*/
xlien[1] += '<A HREF="f_debats.htm" CLASS=menudyn4>Débats</A>';
xlien[1] += ' | '
xlien[1] += '<A HREF="f_expos.htm" CLASS=menudyn4>Expos</A>';
xlien[1] += ' | '
xlien[1] += '<A HREF="f_concert.htm" CLASS=menudyn4>Concert</A>';
xlien[1] += ' | '
xlien[1] += '<A HREF="f_appels.htm" CLASS=menudyn4>Appels à projet</A>';

xlien[2] += '<A HREF="bonus.htm" CLASS=menudyn4>Tea Dance</A>';
xlien[2] += ' | '
xlien[2] += '<A HREF="bonus1.htm" CLASS=menudyn4>Autres Evènements</A>';

xlien[3] += '<A HREF="p_kitpresse.htm" CLASS=menudyn4>Dossiers de presse</A>';
xlien[3] += ' | '
xlien[3] += '<A HREF="p_medias.htm" CLASS=menudyn4>Médias</A>';

/*xlien[3] += '<A HREF="p_articles.htm" CLASS=menudyn4>Articles</A>';
xlien[3] += ' | '
xlien[3] += '<A HREF="p_radio.htm" CLASS=menudyn4>Radio</A>';
xlien[3] += ' | '
xlien[3] += '<A HREF="p_tv.htm" CLASS=menudyn4>TV</A>';*/

xlien[4] += '<A HREF="faq_real.htm" CLASS=menudyn4>Réalisatrices</A>';
xlien[4] += ' | '
xlien[4] += '<A HREF="faq_festivalieres.htm" CLASS=menudyn4>Festivalières</A>';
xlien[4] += ' | '
xlien[4] += '<A HREF="faq_EspaceReuilly.htm" CLASS=menudyn4>Espace Reuilly</A>';
xlien[4] += ' | '
xlien[4] += '<A HREF="faq_festival.htm" CLASS=menudyn4>Le Festival</A>';

xlien[5] += '<A HREF="t_adhesion.htm" CLASS=menudyn4>Adhésion</A>';
xlien[5] += ' | '
xlien[5] += '<A HREF="t_festival.htm" CLASS=menudyn4>Festival</A>';

/*xlien[6] += '<A HREF="liens.htm" CLASS=menudyn4>Festivals de films lesbien, gay, queer</A>';
xlien[6] += ' | '
xlien[6] += '<A HREF="liens1.htm" CLASS=menudyn4>Feminisme et droits des lesbiennes</A>';
xlien[6] += ' | '
xlien[6] += '<A HREF="liens2.htm" CLASS=menudyn4>Arts</A>';
xlien[6] += ' | '
xlien[6] += '<A HREF="liens3.htm" CLASS=menudyn4>Associations</A>';
xlien[6] += ' | '
xlien[6] += '<A HREF="liens4.htm" CLASS=menudyn4>Médias</A>';
xlien[6] += ' | '
xlien[6] += '<A HREF="liens5.htm" CLASS=menudyn4>Portails</A>';
xlien[6] += ' | '
xlien[6] += '<A HREF="liens6.htm" CLASS=menudyn4>Divers</A>';*/

/* Polices menus principaux EN BLANC + rollover #EA5E00 */
document.write('<STYLE TYPE="text/css">\nA.menudyn3 {color:#FFFFFF; text-decoration:none;}\nA:hover.menudyn3 {color:#EA5E00;text-decoration:none;}\n</STYLE>');

/* Polices sous-menus  en #EA5E00 + rollover #EA5E00 */
document.write('<STYLE TYPE="text/css">\nA.menudyn4 {color:#EA5E00; text-decoration:none;}\nA:hover.menudyn4 {color:#EA5E00;background-color:#E6E6E6;text-decoration:none;}\n</STYLE>');

/* tableau menu principal + tableau menus secondaires imbriqué,  si on veut bordures menus principaux ajouter BGCOLOR=#color après +' dans la balise TABLE principale, length 100=largeur des menus principaux,  */
document.write('<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH=100%'+(xlien.length*100)+'>  <TR><TD><TABLE CELLPADDING=2 CELLSPACING=0 BORDER=0 WIDTH=100%>  <TR>');

for(i=0;i<xlien.length;i++)
	{
	/* Taille Polices menus principaux EN BLANC*/
document.write('<TD BGCOLOR=#FF6600 onmouseover="javascript:colorIt(this);MajMenu('+i+')" ALIGN=center ID=td'+i+'><FONT SIZE=1 FACE="Arial"><B><A HREF="#" onclick="return(false)" onmouseover="MajMenu('+i+')"  CLASS=menudyn3>'+xmenu[i]+'</A></B></FONT></TD>');
	}

document.write('</TR><TR><TD COLSPAN='+(xlien.length)+' HEIGHT='+hauteurcadre+' VALIGN=top><ilayer id="dynamenu31" width=100% height='+hauteurcadre+'><layer id="dynamenu32" width=100% height='+hauteurcadre+'></layer><div id="dynamenu33"> </div></layer></ilayer></TD><TR></TABLE></TD></TR></TABLE>');

function colorIt(tditem)
	{
	if(document.all)
		{
			document.all.td0.style.background='#FF6600';
			document.all.td1.style.background='#FF6600';
			tditem.style.background='#C5C5C5';
		
			document.all.td1.style.background='#FF6600';
			document.all.td2.style.background='#FF6600';
			tditem.style.background='#C5C5C5';
		
			document.all.td2.style.background='#FF6600';
			document.all.td3.style.background='#FF6600';
			tditem.style.background='#C5C5C5';
		
			document.all.td3.style.background='#FF6600';
			document.all.td4.style.background='#FF6600';
			tditem.style.background='#C5C5C5';
		
			document.all.td4.style.background='#FF6600';
			document.all.td5.style.background='#FF6600';
			tditem.style.background='#C5C5C5';
		
			document.all.td5.style.background='#FF6600';
			document.all.td6.style.background='#FF6600';
			tditem.style.background='#C5C5C5';
		
			document.all.td6.style.background='#FF6600';
			document.all.td7.style.background='#FF6600';
			tditem.style.background='#C5C5C5';
		}
else if(document.getElementById)
		{
			document.getElementById("td0").style.background='#FF6600';
			document.getElementById("td1").style.background='#FF6600';
			tditem.style.background='#C5C5C5';
	
			document.getElementById("td1").style.background='#FF6600';
			document.getElementById("td2").style.background='#FF6600';
			tditem.style.background='#C5C5C5';

			document.getElementById("td2").style.background='#FF6600';
			document.getElementById("td3").style.background='#FF6600';
			tditem.style.background='#C5C5C5';

			document.getElementById("td3").style.background='#FF6600';
			document.getElementById("td4").style.background='#FF6600';
			tditem.style.background='#C5C5C5';
	
			document.getElementById("td4").style.background='#FF6600';
			document.getElementById("td5").style.background='#FF6600';
			tditem.style.background='#C5C5C5';

			document.getElementById("td5").style.background='#FF6600';
			document.getElementById("td6").style.background='#FF6600';
			tditem.style.background='#C5C5C5';

			document.getElementById("td6").style.background='#FF6600';
			document.getElementById("td7").style.background='#FF6600';
			tditem.style.background='#C5C5C5';
		}
	}

function MajMenu(menu)
{
	which = xlien[menu];
if (document.layers){
	document.dynamenu31.document.dynamenu32.document.write('<FONT SIZE=1 FACE="Arial"><B>'+which+'</B></FONT>')
	document.dynamenu31.document.dynamenu32.document.close();
	}
else if (document.getElementById){
	document.getElementById("dynamenu33").innerHTML ='<CENTER><FONT SIZE=1 FACE="Arial, Verdana, Sans-serif"><B>'+which+'</B></FONT></CENTER>';
	}
else if (document.all){
	dynamenu33.innerHTML=' '
	dynamenu33.innerHTML='<FONT SIZE=1 FACE="Arial"><B>'+which+'</B></FONT>';
	}
}
if (document.getElementById)
	colorIt(document.getElementById("td"));
else if (document.all){
	colorIt(document.all.td);
	}
MajMenu(0);
