//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>Allgemeines</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 Geschichte',  url:"../general/historique_d.php", "format":{"style":STYLE_TOP}},
			{code:'FAQ',  url:"../general/faq_d.php"},
			{code:'Technische Aspekte', url:"http://www.geowebforum.ch/thema.php?themenID=18&lang=d", target:"_new"},
			{code:'Software und Dienste',  url:"../general/software_service.php"},
			{code:'itf2xml',  url:"../general/itf2xml.php?lang=d"},
			{code:'Literatur',  url:"../general/litterature.php"},
			{code:'INTERLIS Projekte',  url:"../general/liste_modele.php"},
			{code:'INTERLIS Kurse',  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=d", "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=d"},
						{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_d.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 Logo',  url:"../general/logo_d.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:'Beschreibung',  url:"../interlis1/description_d.php", "format":{"style":STYLE_TOP}},
			{code:'Struktur', url:"../interlis1/structure_d.php"},
			{code:'Beispiele', url:"#",
// Start of a sub menu	
					sub:[
					{"size":[25,140], "leveloff":[10,155], "style":STYLE1},
					{code:'Einfaches Beispiel', url:"../interlis1/sample_d.php", "format":{"style":STYLE_TOP}}, 
					{code:'DM.01-AV-CH', url:"http://www.cadastre.ch/internet/cadastre/de/home/topics/avs/model.html", target:"_new" },
					{code:'SIA-Norm 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:'Glossar', url:"../interlis1/glossaire_d.php"},
			{code:'Downloads', url:"../interlis1/download_d.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:'Was ist neu?', url:"../interlis2/interlis2_d.php", "format":{"style":STYLE_TOP}},
			{code:'Glossar', url:"../interlis2/docs23/Glossar_d.zip"},
			{code:'Syntaxregeln', url:"../interlis2/syntaxe.php"},
			//{code:'Codebeispiele', url:"../interlis2/exemples.php"},
			{code:'Bestellen eines OID', url:"../oid/oid_commande_d.php"},
			{code:'Weiter Infos zu OID', url:"../oid/oid_d.php"},
			{code:'Metamodell', url:"../interlis2/metamodele_d.php"},
			{code:'INTERLIS <--> GML', url:"../interlis2/gml_d.php"},
			{code:'Downloads', url:"../interlis2/download23_d.php", "format":{"style":STYLE_BOTT}}
			]
			
	},
// Fourth column ****************** R E S S O U R C E S  ****************************************************************
	{code:"<B>Ressourcen</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:'Aktuelles', 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:'Adressverzeichnis', url:"../addressbook/index.php?order=institution"},
			{code:'Suchen', url:"../search/index.php", "format":{"style":STYLE_BOTT}}
			]
	},
];
