// Le rôle de cette image n'est pas clair ...
// Elle est aussi définie dans menu_script.js
 
//BLANK_IMAGE="menu2/bg_menu.gif";

// Substituteurs

var code   = "code";
var url    = "url" ;
var sub    = "sub" ;
var format = "format";

// Styles par défaut

var DEF_COLOR = {"border" : "#666666",
			     "shadow" : "",
			     "bgON"   : "gray",
			     "bgOVER" : "lightgrey"};
var DEF_CSS =   {"ON"     : "REG_LINK_OFF",
			     "OVER"   : "REG_LINK_OVER"};
var DEF_STYLE = {"border" : 1,
			     "shadow" : 0,
			     "color"  : DEF_COLOR,
			     "css"    : DEF_CSS};

var SUB_NOLINK_STYLE = {"border" : 1,
			  			"shadow" : 0,
						"color"  : DEF_COLOR,
						"css"    : {"ON":"SUB_NOLINK_OFF", "OVER":"SUB_NOLINK_OVER"}};

var SUB_LINK_STYLE = {"border" : 1,
					  "shadow" : 0,
					  "color"  : DEF_COLOR,
					  "css"    : {"ON":"SUB_LINK_OFF", "OVER":"SUB_LINK_OVER"}};

// Éléments du menu

var MENU_ITEMS =
[
	{"pos":[0,215], "itemoff":[23,0], "leveloff":[0,156], "style":DEF_STYLE, "size":[24,155]},
	{  code : "Accueil",  									url : ""					},
//	{  code : "Qui sommes-nous ?",
//	 format : {"style":SUB_NOLINK_STYLE},
//		sub : [
//			  {"style":DEF_STYLE, "size":[24,185]},
//			  {  code : "un bref coup d'oeil ...",	        url : "presentation/"				},
//			  {  code : "l'album photo",  					url : "gallery/albums.php"			},
//			  {  code : "comment nous joindre",				url : "coords/"			  			},
//			  {  code : "nos partenaires",   				url : "presentation/partenaires.php"},
//			  {  code : "nos administrateurs",  			url : "ca/0809.php"},
//			  {  code : "notre charte"   ,   				url : "charte/"
//
//			  },
//		]
//	},
//	{  code : "Activités",
//	 format : {"style":SUB_NOLINK_STYLE},
//		sub : [
//			  {"style":DEF_STYLE, "size":[24,150]},
//			  {  code : "Séjours en groupes",              		url : "activites/groupes.php" },
//			  {  code : "Visite d'un jour",               		url : "activites/familles.php"},
//			  {  code : "Pêche",            					url : "activites/pecheurs.php"},
//			  {  code : "Mariage",            					url : "activites/mariage.php"},
//			  {  code : "Baptème",            					url : "activites/bapteme.php"},
//			  {  code : "En hiver",              				url : "activites/hiver.php"   },
//		]
//	},
/*
	{code : "Camps",
	 format : {"style":SUB_NOLINK_STYLE},
 		sub : [
			  {"style":SUB_NOLINK_STYLE, "size":[24,130]},
			  {  code : "pour enfants",
			      sub : [
						{"style":DEF_STYLE, "leveloff":[0,131], "size":[24,140]},
						{  code : "Amicamp",          			url : "camps/Amicamp_2008.pdf" },
				  ]
			  },
			  {  code : "pour ados",
			      sub : [
				  		{"style":DEF_STYLE, "leveloff":[0,131], "size":[24,140]},
						{  code : "Été",          				url : "camps/" },
						{  code : "Automne",       				url : "camps/" },
						{  code : "Hiver",       				url : "camps/ado_hiver.php" },
				  ]
			  },
			  {  code : "pour adultes",
			      sub : [
				  		{"style":DEF_STYLE, "leveloff":[0,131], "size":[24,140]},
						{  code : "Action",          			url : "camps/" },
				  ]
			  },
		]
	},
*/
			  {  code : "Installations",
			   format : {"style":SUB_NOLINK_STYLE},
			      sub : [
				  		{"style":DEF_STYLE, "size":[24,130]},
						{  code : "Auberge",          		url : "installations/auberge.php" },
						{  code : "Chambres d'hôte",       	url : "installations/chambres.php" },
						{  code : "Le loft", 				url : "installations/loft.php" },
						{  code : "Chalet Patmos", 			url : "installations/patmos.php" },
						{  code : "Cabines",      			url : "installations/cabines.php" },
						{  code : "L'Aigle", 				url : "installations/aigle.php" },
//						{  code : "Camping",      			url : "installations/" },
				  ]
			  },
	{code : "Location",
	 format : {"style":SUB_NOLINK_STYLE},
 		sub : [
			  {"style":DEF_STYLE, "size":[24,130]},
			  {  code : "Tarifs",							url : "location/tarifs_1112.php"	 },
			  {  code : "Réservations",						url : "calendrier/" },
			  {  code : "Contrat",							url : "location/2010_contrat.pdf" },
			  {  code : "Règlements",						url : "location/reglements.pdf"	 },
		]
	},
	{code : "Bénévolat", 									url : "benevoles/2010_fr_jeunes.pdf"},
	{code : "Comment s'y rendre", 							url : "presentation/trajet.php" },
];

// Instancier le menu

new jsMenu("menu1", MENU_ITEMS)

