BLANK_IMAGE = 'images/b.gif';

//fix voor het verspringen van de pagina op ucp.php.
var offset = 87;
var locatie = window.location.toString();

if (locatie.indexOf('ucp.php') == -1) {
	offset = 87;
} else {
	offset = 102;
}

var mainSTYLE = {
	border:1,			// item's border width, pixels; zero means "none"
	shadow:0,			// item's shadow size, pixels; zero means "none"
	color:{
		border:"white",		// color of the item border, if any
		shadow:"#DBD8D1",	// color of the item shadow, if any
		bgON:"#017FFF",		// background color for the items  (E0E0BB)
		bgOVER:"#0023A4"	// background color for the item which is under mouse right now
	},
	css:{
		ON:"clsCMOnMain",	// CSS class for items
		OVER:"clsCMOverMain"	// CSS class  for item which is under mouse
	}
};

var subSTYLE = {
	border:1,			// item's border width, pixels; zero means "none"
	shadow:0,			// item's shadow size, pixels; zero means "none"
	color:{
		border:"#666666",	// color of the item border, if any
		shadow:"#DBD8D1",	// color of the item shadow, if any
		bgON:"#F0F0F0",		// background color for the items
		bgOVER:"#B6BDD2"	// background color for the item which is under mouse right now
	},
	css:{
		ON:"clsCMOnSub",	// CSS class for items
		OVER:"clsCMOverSub"	// CSS class  for item which is under mouse
	}
};

var disableSTYLE = {
	border:1,			// item's border width, pixels; zero means "none"
	shadow:0,			// item's shadow size, pixels; zero means "none"
	color:{
		border:"#666666",	// color of the item border, if any
		shadow:"#DBD8D1",	// color of the item shadow, if any
		bgON:"#C1C1C1",		// background color for the items
		bgOVER:"#FFC1C1"	// background color for the item which is under mouse right now
	},
	css:{
		ON:"clsCMOnDisable",		// CSS class for items
		OVER:"clsCMOverDisable"	// CSS class  for item which is under mouse
	}
};


var MENU_ITEMS = [
	{pos:[319,offset], itemoff:[0,120], leveloff:[26,0], style:mainSTYLE, size:[27,121]},
	{code:"NLC", 	
		sub:[
			{itemoff:[26,0], style:subSTYLE},
			{code:"Bestuur", url:"index.php?lf=mini_agenda&rf=11_bestuur&top=1"},
			{code:"Contact", url:"index.php?lf=mini_agenda&rf=11_contact&top=1"},
			{code:"Lidmaatschap", url:"index.php?lf=mini_agenda&rf=11_lidmaatschap&top=1"},
			{code:"Nieuws", url:"index.php?lf=mini_agenda&rf=11_nieuws&top=1"},
			{code:"Clubblad", url:"index.php?lf=mini_agenda&rf=11_clubblad&top=1"}
		]
	},
	{code:"Werkgroepen",
		sub:[
			{itemoff:[26,0], style:subSTYLE},
			{code:"Den Haag", url:"index.php?lf=mini_agenda&rf=21_denhaag&top=2"},
			{code:"Haarlem", url:"index.php?lf=mini_agenda&rf=21_haarlem&top=2"},
			{code:"Midden Nederland >", 
				sub:[
					{leveloff:[0,120]},
					{code:"Algemeen", url:"index.php?lf=mini_agenda&rf=22_midned_algemeen&top=3"},
					{code:"Activiteiten", url:"index.php?lf=mini_agenda&rf=22_midned_cursussen&top=3"},
					{code:"Kosten", url:"index.php?lf=mini_agenda&rf=22_midned_kosten&top=3"}
				]
			},
		]
	},
	{code:"Activiteiten",
		sub:[
			{itemoff:[26,0], style:subSTYLE},
			{code:"Agenda NLC", url:"index.php?lf=mini_agenda&rf=na&top=3", style:disableSTYLE},
			{code:"Excursies", url:"index.php?lf=mini_agenda&rf=31_excursies&top=3"},
			{code:"Jeugd", url:"index.php?lf=mini_agenda&rf=31_jeugd&top=3"},
			{code:"Steenbewerking  >",
				sub:[
					{leveloff:[0,120]},
					{code:"Cabochon slijpen", url:"index.php?lf=mini_agenda&rf=32_cabochon&top=3"},
					{code:"Facetteren", url:"index.php?lf=mini_agenda&rf=32_facetteren&top=3"},
					{code:"Carven", url:"index.php?lf=mini_agenda&rf=32_carven&top=3"}
				]
			},
			{code:"Edelsmeden", url:"index.php?lf=mini_agenda&rf=31_edelsmeden&top=3"},
			{code:"Determineren", format:{style:disableSTYLE}, url:"index.php?lf=mini_agenda&rf=na&top=3"},
			{code:"Micromount", url:"index.php?lf=mini_agenda&rf=31_micromount&top=3"}
		]
	},
	{code:"Beurzen",
		sub:[
			{itemoff:[26,0], style:subSTYLE},
			{code:"Den Haag", url:"index.php?lf=mini_agenda&rf=41_beursdenhaag&top=4"},
			{code:"Haarlem", url:"index.php?lf=mini_agenda&rf=41_beurshaarlem&top=4"},
			{code:"Utrecht", url:"index.php?lf=mini_agenda&rf=41_beursmidned&top=4"}
		]
	},
	{code:"Diversen",
		sub:[
			{itemoff:[26,0], style:subSTYLE},
			{code:"Gallery", url:"index.php?lf=mini_agenda&rf=51_gallery&top=5"},
			{code:"Tentoonstellingen", format:{style:disableSTYLE}, url:"index.php?lf=mini_agenda&rf=na&top=5"},
			{code:"Gastenboek", format:{style:disableSTYLE}, url:"index.php?rf=na&top=5"},
			{code:"Vraag en aanbod", format:{style:disableSTYLE}, url:"index.php?rf=na&top=5"},
			{code:"Links", url:"index.php?rf=51_links&top=5"}
		]
	},
	{code:"Informatief",
		sub:[
			{itemoff:[26,0], style:subSTYLE},
			{code:"Mineralen Wiki", format:{style:disableSTYLE}, url:"index.php?rf=na&top=6"},
			{code:"Boeken", url:"boeken.php?lf=mini_agenda&rf=boeken&top=6"},
			{code:"Forum", url:"forum.php"},
			{code:"Vindplaatsen", format:{style:disableSTYLE}, url:"index.php?rf=na&top=6"}
		]
	}
];