var isNav4 = false;
var isIE = false;
var isAdv = false;
var isOpe = false;
if (document.layers) {isNav4 = true}
else if ((document.getElementById)&&(navigator.appName.indexOf("Explorer") < 0)){isAdv = true}
else {isIE = true}
if (navigator.userAgent.indexOf("Opera")!=-1){isOpe = true}

var ns4 = (document.layers)? true:false
var ie4 = (document.all)? true:false

function Show(page,wd,ht) {
flash = open(page,"flash","resizable=1,toolbar=0,location=0,directories=0,menubar=0,status=0,scrollbars=1,copyhistory=0,top=100,left=100,width="+wd+",height="+ht);
}


if (self.name != 'printer') {
//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE. If you have more than one menu_array.js file rem out this line in subsequent files
menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless this file is part of a multi pack.

////////////////////////////////////
// Editable properties START here //
////////////////////////////////////
// Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php for more filters
if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "Fade(duration=0.2);Alpha(style=0,opacity=100);Shadow(color='#777777', Direction=135, Strength=5)"
}
else
{
	effect = "Shadow(color='#777777', Direction=135, Strength=5)" // Stop IE5.5 bug when using more than one filter
}
timegap=500			// The time delay for menus to remain visible
followspeed=5		// Follow Scrolling speed
followrate=40		// Follow Scrolling Rate
suboffset_top=10;	// Sub menu offset Top position 
suboffset_left=10;	// Sub menu offset Left position

style1=[			// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"ffffff",				// Mouse Off Font Color
"25a93b",			// Mouse Off Background Color
"25a93b",			// Mouse On Font Color
"cdf3e1",			// Mouse On Background Color
"c0c0c0",			// Menu Border Color 
10,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"verdana,arial, helvetica",	// Font Name
3,					// Menu Item Padding
"../images/fleche.gif",		// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"ffffff",			// 3D High Color
"000000",			// 3D Low Color
"000000",			// Current Page Item Font Color (leave this blank to disable)
"ffffff",				// Current Page Item Background Color (leave this blank to disable)
,		// Top Bar image (Leave this blank to disable)
"ffffff",			// Menu Header Font Color (Leave blank if headers are not needed)
"ffffff",			// Menu Header Background Color (Leave blank if headers are not needed)
"c0c0c0",			// Menu Item Separator Color
]

addmenu(menu=["accueil",30,5,80,1,,style1,1,"left",,,1,,,,,,,,,,,"ACCUEIL","show-menu=menu1",,,1])
addmenu(menu=["menu1",
,,150,1,"",style1,,"left",effect,,,,,,,,,,,,
//,"> Infos légales du site","../accueil/infos.htm",,,1
,"> Evènementiels","../accueil/even.htm",,,1
//,"> Agenda de l'année","../accueil/agenda.htm",,,1
//,"> Plan de la ville","../accueil/planv.htm",,,1
//,"> Quoi de neuf","../accueil/qd9.htm",,,1
//,"> Nos partenaires","../accueil/parte.htm",,,1
,"> Restauration scolaire","../accueil/resto.htm",,,1
//,"> Fonds d'écran","../accueil/fecran.htm",,,1
])

addmenu(menu=["vivre",30,85,110,1,,style1,1,"left",,,1,,,,,,,,,,,"VIVRE A NOISY","show-menu=menu2",,,1])
addmenu(menu=["menu2",
,,150,1,"",style1,,"left",effect,,,,,,,,,,,,
,"> Loisirs et tourisme","../vivre/loisirs.htm",,,1
,"> Vie associative","../vivre/vieasso.htm",,,1
//,"> Bibliothèque","../vivre/biblio.htm",,,1
,"> Jumelage Castorano","../vivre/jumelage.htm",,,1
])
addmenu(menu=["services",30,195,120,1,,style1,1,"left",,,1,,,,,,,,,,,"MAIRIE SERVICES","show-menu=menu3",,,1])
addmenu(menu=["menu3",
,,160,1,"",style1,,"left",effect,,,,,,,,,,,,
//,"> Formalités","../service/form.htm",,,1
//,"> Réglementation","../service/regle.htm",,,1
,"> Urbanisme","../service/urba.htm",,,1
,"> Action Sociale","../service/asociale.htm",,,1
,"> Petite enfance","../service/penfance.htm",,,1
,"> Cantine Garderie Etude","../service/cantine.htm",,,1
//,"> Education scolaire","../service/scolaire.htm",,,1
,"> Nos écoles","../service/ecole.htm",,,1
//,"> Pour les seniors","../service/seniors.htm",,,1
])

addmenu(menu=["elus",30,315,80,1,,style1,1,"left",,,1,,,,,,,,,,,"VOS ELUS","show-menu=menu4",,,1])
addmenu(menu=["menu4",
,,190,1,"",style1,,"left",effect,,,,,,,,,,,,
//,"> Le mot du Maire","../elu/motm.htm",,,1
,"> Liste du conseil ","../elu/conseil.htm",,,1
,"> Comptes-rendus du CM","../elu/cm.htm",,,1
,"> Commissions municipales","../elu/comm.htm",,,1
,"> Syndicats","../elu/syndicat.htm",,,1 
//,"> Finances","../elu/finance.htm",,,1
//,"> Grands projets","../elu/gprojets.htm",,,1
,"> Marchés Publics","../elu/mpublics.htm",,,1
,"> Conseil municipal des jeunes","../elu/cmj.htm",,,1
])

addmenu(menu=["pratique",30,395,130,1,,style1,1,"left",,,1,,,,,,,,,,,"INFOS PRATIQUES","show-menu=menu5",,,1])
addmenu(menu=["menu5",
,,180,1,"",style1,,"left",effect,,,,,,,,,,,,
,"> Données statistiques","../prat/stats.htm",,,1
//,"> Urgences ","../prat/urgence.htm",,,1
//,"> Numéros et adresses utiles ","../prat/num.htm",,,1
//,"> Vie cultuelle ","../prat/vcult.htm",,,1
,"> Moyens de transports ","../prat/transp.htm",,,1
//,"> Entreprises et commerces ","../prat/commerce.htm",,,1
])

addmenu(menu=["histoire",30,525,130,1,,style1,1,"left",,,1,,,,,,,,,,,"UN PEU D'HISTOIRE","show-menu=menu6",,,1])
addmenu(menu=["menu6",
,478,180,1,"",style1,,"left",effect,,,,,,,,,,,,
,"> Ma ville quelle histoire","../histoire/histoire.htm",,,1
,"> Le blason de la ville","../histoire/blason.htm",,,1
,"> Cartes postales anciennes","../histoire/scartes.htm",,,1
//,"> Ca s'est passé dans notre commune","../histoire/passe.htm",,,1
//,"> Les chantiers de la ville","../histoire/chantier.htm",,,1
])


}
if (window.name != 'printer') {dumpmenus();}

function chemin() {
document.write ('<span class=anote2>'+document.title+'</span><br><br>');
document.close;}

function pageprint() {
if (isAdv) {self.print();}
else {top.printer.location.href=document.URL;}
}

function pprt() {
document.table2.width=0;
if (self.name == 'printer') {self.focus();document.table2.width=115;window.print();}
}
var pagemenu='';
var ns4 = (document.layers)? true:false
var ie5 = (document.all)? true:false
var ns6 = (document.getElementById)? true:false
var xtlold=0;
var obj;
var objet;
var objet2;
