//keywords
var code="code";var url="url";var sub="sub";
//styles
var defcolor = {"border":"#6699FF", "shadow":"#6699FF", "bgON":"#0033FF","bgOVER":"#003399", "imagebg":"#003399", "oimagebg":"#0033FF"};
var defcss = {"ON":"clsCMTopOn", "OVER":"clsCMTopOver"};
var TOP_LEFT = {"border":1, "borders":[1,1,0,0], "shadow":0, "color":defcolor, "css":defcss};
var TOP_MIDDLE = {"border":1, "borders":[1,1,1,0], "shadow":0, "color":defcolor, "css":defcss};
var TOP_RIGHT = {"border":1, "borders":[1,1,1,0],"shadow":0, "color":defcolor, "css":defcss};
var STYLE1 = {"border":1, "borders":[1,1,1,0], "shadow":0, "color":defcolor, "css":defcss};
var STYLE_TOP = {"border":1, "borders":[1,1,1,0], "shadow":0, "color":defcolor, "css":defcss};
var STYLE_BOTT = {"border":1, "borders":[1,1,1,1], "shadow":0, "color":defcolor, "css":defcss};
//items and formats
var MENU_ITEMS =
[
	{"pos":"relative", "size":[25,161], "itemoff":[0,160], "imgsize":[25,12], "leveloff":[0,0], "delay":600, "image":"../img/empty.gif", "imgsize":[25,12], "arrow":"../img/arrow.gif", "arrsize":[13,20],  "style":TOP_MIDDLE},
// First column	****************** G E N E R A L I T E S  ****************************************************************

	{code:"<B>Generality</B>", "format":{"arrow":null, "image":null, "style":TOP_LEFT} ,
		sub:[
			{"size":[25,161], "itemoff":[25,0], "leveloff":[25,0], "arrow":"../img/arrow.gif", "oarrow":"../img/oarrow.gif", "style":STYLE1, "image":"../img/empty.gif"},
			{code:'INTERLIS story',  url:"../general/historique_e.php", "format":{"style":STYLE_TOP}},
			{code:'FAQ',  url:"../general/faq_d.php"},
			{code:'Technical aspects', url:"http://www.geowebforum.ch/thema.php?themenID=18&lang=e", target:"_new"},
			{code:'Software and Service list',  url:"../general/software_service.php"},
			{code:'itf2xml',  url:"../general/itf2xml.php?lang=e"},
			{code:'INTERLIS projects',  url:"../general/liste_modele.php"},
			{code:'INTERLIS courses',  url:"../general/cours.php"},
			{code:'Geo-Forum',  url:"#",
				// Start of a sub menu	
						sub:[
						{"size":[25,140], "leveloff":[10,155], "style":STYLE1},
						{code:'Spirgarten 2012', url:"../general/spirgarten.php?language=e", "format":{"style":STYLE_TOP}},
						{code:'Spirgarten 2011', url:"../general/spirgarten_2011_d.php"},
						{code:'Spirgarten 2010', url:"../general/spirgarten_2010_d.php"},
						{code:'Spirgarten 2009', url:"../general/spirgarten_2009_d.php"},
						{code:'Spirgarten 2008', url:"../general/spirgarten_2008_d.php"},
						{code:'Ouchy 2007', url:"../general/ouchy.php?language=e"},
						{code:'Spirgarten 2007', url:"../general/spirgarten_2007_d.php"},
						{code:'Ouchy 2006', url:"../general/ouchy_2006_f.php"},					
						{code:'Spirgarten 2006', url:"../general/spirgarten_2006_d.php"},
						{code:'Ouchy 2005', url:"../general/ouchy_2005_d.php"},
						{code:'Spirgarten 2005', url:"../general/spirgarten_2005_d.php"},
						{code:'Ouchy 2004', url:"../general/ouchy_20040911_d.php"}, 
						{code:'Spirgarten 2004', url:"../general/spirgarten_2004_e.php"}, 
						{code:'Ouchy 2003', url:"../general/ouchy_20031111_d.php"},
						{code:'Spirgarten 2003', url:"../general/spirgarten_05062003_d.php", "format":{"style":STYLE_BOTT}}, 

						]
				// End of a sub menu
			},
			{code:'INTERLIS logos',  url:"../general/logo_e.php", "format":{"style":STYLE_BOTT}},
			]
	},
// Second colum ****************** I N T E R L I S  1 ****************************************************************	
	{code:"<B>INTERLIS 1</B>", "format":{"arrow":null, "image":null, "style":TOP_MIDDLE} ,
			sub:[
			{"size":[25,161], "itemoff":[25,0], "leveloff":[25,0], "arrow":"../img/arrow.gif", "oarrow":"../img/oarrow.gif", "style":STYLE1, "image":"../img/empty.gif"},
			{code:'Description',  url:"../interlis1/description_e.php", "format":{"style":STYLE_TOP}},
			{code:'Structure', url:"../interlis1/structure_e.php"},
			{code:'Examples', url:"#",
// Start of a sub menu	
					sub:[
					{"size":[25,140], "leveloff":[10,155], "style":STYLE1},
					{code:'Simple example', url:"../interlis1/sample_e.php", "format":{"style":STYLE_TOP}}, 
					{code:'MD.01-MO-CH', url:"http://www.cadastre.ch/internet/cadastre/fr/home/topics/avs/model.html", target:"_new" },
					{code:'Norme SIA 405', url:"http://www.sia.ch", target:"_new"},
					{code:'VSA-DSS', url:"http://dss.vsa.ch", target:"_new", "format":{"style":STYLE_BOTT}},
					]
// End of a sub menu
								
			},
			{code:'Glossary', url:"../interlis1/glossaire_e.php"},
			{code:'Download', url:"../interlis1/download_e.php", "format":{"style":STYLE_BOTT}}
			]
	},
// Third column	****************** I N T E R L I S  2  ****************************************************************
	{code:"<B>INTERLIS 2</B>", "format":{"arrow":null, "image":null, "style":TOP_MIDDLE} ,
		sub:[
			{"size":[25,161], "itemoff":[25,0], "leveloff":[25,0], "arrow":"../img/arrow.gif", "oarrow":"../img/oarrow.gif", "style":STYLE1, "image":"../img/empty.gif"},
			{code:'What new ?', url:"../interlis2/interlis2_e.php", "format":{"style":STYLE_TOP}},
			{code:'Glossary', url:"../interlis2/docs23/Glossary_e.zip"},
			{code:'OID more info', url:"../oid/oid_e.php"},
			{code:'Order a OID', url:"../oid/oid_commande_e.php"},
			{code:'Metamodel', url:"../interlis2/metamodele_e.php"},
			{code:'Download', url:"../interlis2/download23_e.php", "format":{"style":STYLE_BOTT}}
			]
	},
// Fourth column ****************** R E S S O U R C E S  ****************************************************************
	{code:"<B>Ressources</B>", "format":{"arrow":null, "image":null, "style":TOP_RIGHT} ,
		sub:[
			{"size":[25,161], "itemoff":[25,0], "leveloff":[25,0], "arrow":"../img/arrow.gif", "oarrow":"../img/oarrow.gif", "style":STYLE1, "image":"../img/empty.gif"},
			{code:'News', url:"../news/index.php", "format":{"style":STYLE_TOP}},
			{code:'Links', url:"../ressources/links.php"},
			//{code:'GeoWebForum', url:"javascript:NewWindow('http://www.geowebforum.ch','Forum',800,600,'yes');"},
			{code:'GeoWebForum', url:"http://www.geowebforum.ch", target:"_new"},
			{code:'Newsletter', url:"../mailing/index.php"},
			{code:'AddressBook', url:"../addressbook/index.php?order=institution"},
			{code:'Search', url:"../search/index.php", "format":{"style":STYLE_BOTT}}
			]
	},
];
