/*
SCRIPT TROUVE SUR L'EDITEUR JAVASCRIPT
http://www.editeurjavascript.com
*/

/* A REGLER MANUELLEMENT SI LE CADRE EST TROP PETIT */
hauteurcadre = 15;

xmenu = new Array;
xlien = new Array;

xmenu[0] = 'Welcome';
xmenu[1] = 'Where we are';
xmenu[2] = 'Who we are';
xmenu[3] = 'What to see and do';
xmenu[4] = 'Where to stay';
xmenu[5] = 'Everyday info';

xlien[0] = ''
xlien[1] = ''
xlien[2] = ''
xlien[3] = ''
xlien[4] = ''
xlien[5] = ''


xlien[0] += '<A HREF="home.htm" CLASS=menudyn3>Welcome</A>';
xlien[0] += ' | '
xlien[0] += '<A HREF="contact_us.htm" CLASS=menudyn3>Contact us</A>';
xlien[0] += ' | '
xlien[0] += '<A HREF="site_map.htm" CLASS=menudyn3>Site map</A>';
xlien[0] += ' | '
xlien[0] += '<A HREF="mentions_legales.htm" CLASS=menudyn3>Mentions légales</A>';
xlien[1] += '<A HREF="how_to_get_here.htm" CLASS=menudyn3>Situation</A>';
xlien[1] += ' | '
xlien[1] += '<A HREF="map_town.htm" CLASS=menudyn3>Map town</A>';
xlien[1] += ' | '
xlien[1] += '<A HREF="map_surrounding.htm" CLASS=menudyn3>Map surrounding</A>';
xlien[1] += ' | '
xlien[2] += '<A HREF="who_we_are.htm" CLASS=menudyn3>Who we are</A>';
xlien[2] += ' | '
xlien[2] += '<A HREF="history.htm" CLASS=menudyn3>History</A>';
xlien[2] += ' | '
xlien[3] += '<A HREF="dont_miss.htm" CLASS=menudyn3>Do not miss</A>';
xlien[3] += ' | '
xlien[3] += '<A HREF="look_out_for.htm" CLASS=menudyn3>Look out for</A>';
xlien[3] += ' | '
xlien[3] += '<A HREF="local_tastes.htm" CLASS=menudyn3>Local Tastes</A>';
xlien[3] += ' | '
xlien[3] += '<A HREF="days_out.htm" CLASS=menudyn3>Days out</A>';
xlien[3] += ' | '
xlien[3] += '<A HREF="leisure_and_sports.htm" CLASS=menudyn3>Leisure and sports</A>';
xlien[3] += ' | '
xlien[3] += '<A HREF="events.htm" CLASS=menudyn3>Events</A>';
xlien[4] += '<A HREF="hotels.htm" CLASS=menudyn3>Hotels</A>';
xlien[4] += ' | '
xlien[4] += '<A HREF="campings_et_hll.htm" CLASS=menudyn3>Camp sites and HLL</A>';
xlien[4] += ' | '
xlien[4] += '<A HREF="gites_chambres_hotes.htm" CLASS=menudyn3>Gîtes and chambres d\ hôtes</A>';
xlien[4] += ' | '
xlien[4] += '<A HREF="restauration.htm" CLASS=menudyn3>Restaurants</A>';
xlien[5] += '<A HREF="services.htm" CLASS=menudyn3>Local business directory</A>';
xlien[5] += ' | '
xlien[5] += '<A HREF="artisans_commercants_entreprises_1.htm" CLASS=menudyn3>Artisans / Commerçants / Entreprises</A>';
xlien[5] += ' | '
xlien[5] += '<A HREF="economie.htm" CLASS=menudyn3>Economy</A>';
xlien[5] += ' | '
xlien[5] += '<A HREF="associations.htm" CLASS=menudyn3>Clubs and associations</A>';
xlien[5] += ' | '
xlien[5] += '<A HREF="useful_link.htm" CLASS=menudyn3>Useful links</A>';

document.write('<STYLE TYPE="text/css">\nA.menudyn3 {color:#FFFFFF; text-decoration:none;}\nA:hover.menudyn3 {color:#FFFFFF;text-decoration:none;}\n</STYLE>');

document.write('<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH='+(900)+' BGCOLOR=#FFFFFF>  <TR><TD><TABLE CELLPADDING=2 CELLSPACING=1 BORDER=0 WIDTH=900>  <TR>');

for(i=0;i<xlien.length;i++)

{
	document.write('<TD BGCOLOR=#009933onMouseOver="javascript:colorIt(this);MajMenu('+i+')" ALIGN=center ID=td'+i+'><FONT SIZE=1 FACE="Arial"><A HREF="#" onClick="return(false)" onMouseOver="MajMenu('+i+')" CLASS=menudyn3>'+xmenu[i]+'</A></FONT></TD>');
	}
document.write('</TR>  <TR>    <TD COLSPAN='+(xlien.length)+' BGCOLOR=#009933 HEIGHT='+hauteurcadre+' VALIGN=top><ilayer id="dynamenu31" width=100% height='+hauteurcadre+'><layer id="dynamenu32" width=100% height='+hauteurcadre+'><div id="dynamenu33">&nbsp;</div></layer></ilayer></TD>  </TR></TABLE></TD></TR></TABLE>');

function colorIt(tditem)
	{
	if(document.all)
		{
	document.all.td0.style.background='#009933';
	document.all.td1.style.background='#009933';
	document.all.td2.style.background='#009933';
	document.all.td3.style.background='#009933';
	document.all.td4.style.background='#009933';
	document.all.td5.style.background='#009933';
			tditem.style.background='#009933';
		}
else if(document.getElementById)
	{
	document.getElementById("td0").style.background='#336699';
	document.getElementById("td1").style.background='#336699';
	document.getElementById("td2").style.background='#336699';
	document.getElementById("td3").style.background='#336699';
	document.getElementById("td4").style.background='#336699';
	document.getElementById("td5").style.background='#336699';
		tditem.style.background='#6699CC';
	}
}

function MajMenu(menu)
	{
	which = xlien[menu];
if (document.layers){
	document.dynamenu31.document.dynamenu32.document.write('<FONT SIZE=1 FACE="Verdana"><B>'+which+'</B></FONT>')
	document.dynamenu31.document.dynamenu32.document.close()
	}
else if (document.getElementById)
			{
			document.getElementById("dynamenu33").innerHTML = '<CENTER><FONT SIZE=1 FACE="Verdana, Verdana"><B>'+which+'</B></FONT></CENTER>';
			}
else 	if (document.all){
	dynamenu33.innerHTML='&nbsp;'
	dynamenu33.innerHTML='<FONT SIZE=1 FACE="Arial">'+which+'</FONT>';
	}
}
if (document.getElementById)
	colorIt(document.getElementById("td0"));
else if (document.all){
	colorIt(document.all.td0);
	}
MajMenu(0);
