// Changed bgON     from #0000FF to #3C7832
// Changed bgOVER  from #0095E2 to #3CAF46
//
//

BLANK_IMAGE = '../home/lib/images/b.gif';

var STYLE = {
	border:1,			// item's border width, pixels; zero means "none"
	shadow:1,			// item's shadow size, pixels; zero means "none"
	align:"center",
	color:{
		border:"#000000",	// color of the item border, if any
		shadow:"#DBD8D1",	// color of the item shadow, if any
		bgON:"#3C7832",		// background color for the items
		bgOVER:"#3C7832"	// background color for the item which is under mouse right now
	},
   ifSeparator:{
        size:[ 6, 100 ],
        itemoff:[ 5, 0 ]
	},
	css:{
		ON:"clsCMOn",		// CSS class for items
		OVER:"clsCMOver"	// CSS class  for item which is under mouse
	}
};

var MENU_ITEMS = [
	{pos:[80,111], itemoff:[0,112], leveloff:[0,0], style:STYLE, size:[20,112]},
	{code:"Home",
		sub:[
			{itemoff:[20,0], size:[20,120], 
			color:{
				border:"#000000",	// color of the item border, if any
				shadow:"#DBD8D1",	// color of the item shadow, if any
				bgON:"#3C7832",		// background color for the items
				bgOVER:"#3CAF46"	// background color for the item which is under mouse right now
			}},
			{code:"Home", url:"../home/main.php?nxp=home/home#topid"},
			{code:"Next Event", url:"../home/main.php?nxp=home/home#nexteventid"},
			{code:"About us", url:"../home/main.php?nxp=home/home#abouthbocid"	},
			{code:"Our Sponsors", url:"../home/main.php?nxp=home/home#sponsorid"	},
			{code:"" },
			{code:"Related Items...",
				sub:[
					{leveloff:[0,120], size:[20,120],
					color:{
						border:"#000000",	// color of the item border, if any
						shadow:"#DBD8D1",	// color of the item shadow, if any
						bgON:"#3C7832",		// background color for the items
						bgOVER:"#3CAF46"	// background color for the item which is under mouse right now
					}},
					{code:"Club Committee", url:"../home/main.php?nxp=resources/club_committee" },
					{code:"Club Rules", url:"../resources/club_rules.pdf", target:"_blank"},
					{code:"Club History", url:"../home/main.php?nxp=home/history"},
					{code:"Map locations", url:"../home/main.php?nxp=home/locations"},
					{code:"Photo galleries", url:"../home/main.php?nxp=home/photos"}
					]
				}
			]
	},
	{code:"New Members",
		sub:[
			{itemoff:[20,0], size:[20,120],
			color:{
				border:"#000000",	// color of the item border, if any
				shadow:"#DBD8D1",	// color of the item shadow, if any
				bgON:"#3C7832",		// background color for the items
				bgOVER:"#3CAF46"	// background color for the item which is under mouse right now
			}},
			{code:"New Members", url:"../home/main.php?nxp=home/newmembers#topid"},
			{code:"Fees", url:"../home/main.php?nxp=home/newmembers#eventfeesid"},
			{code:"Membership", url:"../home/main.php?nxp=home/newmembers#membershipid"},
			{code:"" },
			{code:"Related Items...",
				sub:[
					{leveloff:[0,120], size:[20,120],
					color:{
						border:"#000000",	// color of the item border, if any
						shadow:"#DBD8D1",	// color of the item shadow, if any
						bgON:"#3C7832",		// background color for the items
						bgOVER:"#3CAF46"	// background color for the item which is under mouse right now
					}},
					{code:"Events", url:"../home/main.php?nxp=home/events"},
					{code:"Club Committee", url:"../home/main.php?nxp=resources/club_committee" },
					{code:"Club Rules", url:"../resources/club_rules.pdf", target:"_blank"},
					{code:"Club History", url:"../home/main.php?nxp=home/history"},
					{code:"Map locations", url:"../home/main.php?nxp=home/locations"},
					{code:"Photo galleries", url:"../home/main.php?nxp=home/photos"}
				]
			}
		]
	},
	{code:"Schools",
		sub:[
			{itemoff:[20,0], size:[20,120],
			color:{
				border:"#000000",	// color of the item border, if any
				shadow:"#DBD8D1",	// color of the item shadow, if any
				bgON:"#3C7832",		// background color for the items
				bgOVER:"#3CAF46"	// background color for the item which is under mouse right now
			}},
			{code:"Schools", url:"../home/main.php?nxp=home/school#topid"},
			{code:"Honours", url:"../home/main.php?nxp=home/school#honoursid"},
			{code:"Events", url:"../home/main.php?nxp=home/school#currenteventsid"},
			{code:"Past Events", url:"../home/main.php?nxp=home/school#pasteventsid"},
			{code:"School archive", url:"../home/main.php?nxp=home/school#archiveid"},
			{code:"" },
			{code:"Related Items...",
				sub:[
					{leveloff:[0,120], size:[20,100],
					color:{
						border:"#000000",	// color of the item border, if any
						shadow:"#DBD8D1",	// color of the item shadow, if any
						bgON:"#3C7832",		// background color for the items
						bgOVER:"#3CAF46"	// background color for the item which is under mouse right now
					}},
					{code:"Map locations", url:"../home/main.php?nxp=home/locations"},
					{code:"Club Rules", url:"../resources/club_rules.pdf", target:"_blank"},
					{code:"Club History", url:"../home/main.php?nxp=home/history"},
					{code:"Resources", url:"../home/main.php?nxp=home/resources"}
				]
			}
		]
	},
	{code:"Events",
		sub:[
			{itemoff:[20,0], size:[20,120],
			color:{
				border:"#000000",	// color of the item border, if any
				shadow:"#DBD8D1",	// color of the item shadow, if any
				bgON:"#3C7832",		// background color for the items
				bgOVER:"#3CAF46"	// background color for the item which is under mouse right now
			}},
			{code:"Events", url:"../home/main.php?nxp=home/events#topid"},
			{code:"Club Events", url:"../home/main.php?nxp=home/events#hbocid"},
			{code:"Other Events", url:"../home/main.php?nxp=home/events#notesid"},
			{code:"" },
			{code:"Related Items...",
				sub:[
					{leveloff:[0,120], size:[20,100],
					color:{
						border:"#000000",	// color of the item border, if any
						shadow:"#DBD8D1",	// color of the item shadow, if any
						bgON:"#3C7832",		// background color for the items
						bgOVER:"#3CAF46"	// background color for the item which is under mouse right now
					}},
					{code:"Event fees", url:"../home/main.php?nxp=home/newmembers#eventfeesid"},
					{code:"Map locations", url:"../home/main.php?nxp=home/locations"},
					{code:"Club Rules", url:"../resources/club_rules.pdf", target:"_blank"},
					{code:"Maptalk NZ", url:"http://www.maptalk.co.nz/events", target:"_blank"}
				]
			}
		]
	},
	{code:"Results",
		sub:[
			{itemoff:[20,0], size:[20,120],
			color:{
				border:"#000000",	// color of the item border, if any
				shadow:"#DBD8D1",	// color of the item shadow, if any
				bgON:"#3C7832",		// background color for the items
				bgOVER:"#3CAF46"	// background color for the item which is under mouse right now
			}},
			{code:"Results", url:"../home/main.php?nxp=home/results#topid"},
			{code:"Honours boards", url:"../home/main.php?nxp=home/results#honourid"},
			{code:"Latest results", url:"../home/main.php?nxp=home/results#newestid"},
			{code:"Current year", url:"../home/main.php?nxp=home/results#currentid"},
			{code:"Archive", url:"../home/main.php?nxp=home/results#archiveid"},
			{code:"" },
			{code:"Related Items...",
				sub:[
					{leveloff:[0,120], size:[20,100],
					color:{
						border:"#000000",	// color of the item border, if any
						shadow:"#DBD8D1",	// color of the item shadow, if any
						bgON:"#3C7832",		// background color for the items
						bgOVER:"#3CAF46"	// background color for the item which is under mouse right now
					}},
					{code:"Event fees", url:"../home/main.php?nxp=home/newmembers#eventfeesid"},
					{code:"Map locations", url:"../home/main.php?nxp=home/locations", target:"_blank"},
					{code:"Maptalk NZ", url:"http://www.maptalk.co.nz/events", target:"_blank"}
				]
			}
		]
	},
	{code:"Resources",
		sub:[
			{itemoff:[20,0], size:[20,140],
			color:{
				border:"#000000",	// color of the item border, if any
				shadow:"#DBD8D1",	// color of the item shadow, if any
				bgON:"#3C7832",		// background color for the items
				bgOVER:"#3CAF46"	// background color for the item which is under mouse right now
			}},
			{code:"Resources", url:"../home/main.php?nxp=home/resources#topid"},
			{code:"Committee", url:"../home/main.php?nxp=home/resources#committeeid"},
			{code:"New Members", url:"../home/main.php?nxp=home/resources#newmembersid"},
			{code:"Equipment", url:"../home/main.php?nxp=home/resources#equipmentid"},
			{code:"Course Setting", url:"../home/main.php?nxp=home/resources#coursesettingid"},
			{code:"Event Organisation", url:"../home/main.php?nxp=home/resources#eventorgid"},
			{code:"" },
			{code:"Magazines", url:"../home/main.php?nxp=home/cpoints"},
			{code:"" },
			{code:"History...",
				sub:[
					{leveloff:[0,140], size:[20,100],
					color:{
						border:"#000000",	// color of the item border, if any
						shadow:"#DBD8D1",	// color of the item shadow, if any
						bgON:"#3C7832",		// background color for the items
						bgOVER:"#3CAF46"	// background color for the item which is under mouse right now
					}},
					{code:"Club history", url:"../home/main.php?nxp=home/history#topid"},
					{code:"Map history", url:"../home/main.php?nxp=home/history#mapsid"},
					{code:"Photos", url:"../home/main.php?nxp=home/photos"},
					{code:"Course maps", url:"../home/main.php?nxp=coursemaps/coursemaps.php"}				]
			},
			{code:"" },
			{code:"Related Items...",
				sub:[
					{leveloff:[0,140], size:[20,100],
					color:{
						border:"#000000",	// color of the item border, if any
						shadow:"#DBD8D1",	// color of the item shadow, if any
						bgON:"#3C7832",		// background color for the items
						bgOVER:"#3CAF46"	// background color for the item which is under mouse right now
					}},
					{code:"Map locations", url:"../home/main.php?nxp=home/locations", target:"_blank"},
					{code:"Links", url:"../home/main.php?nxp=home/links"}
				]
			}
		]
	},
	{code:"News",
		sub:[
			{itemoff:[19,0], size:[20,120],
			color:{
				border:"#000000",	// color of the item border, if any
				shadow:"#DBD8D1",	// color of the item shadow, if any
				bgON:"#3C7832",		// background color for the items
				bgOVER:"#3CAF46"	// background color for the item which is under mouse right now
			}},
			{code:"News", url:"../home/main.php?nxp=home/news.php#topid"},
			{code:"Archive", url:"../home/main.php?nxp=home/news.php#archiveid"}
		]
	},
	{code:"Links",
		sub:[
			{itemoff:[20,0], size:[20,120], leveloff:[0,-10],
			color:{
				border:"#000000",	// color of the item border, if any
				shadow:"#DBD8D1",	// color of the item shadow, if any
				bgON:"#3C7832",		// background color for the items
				bgOVER:"#3CAF46"	// background color for the item which is under mouse right now
			}},
			{code:"Links", url:"../home/main.php?nxp=home/links#topid"},
			{code:"NZ websites", url:"../home/main.php?nxp=home/links#nzlinksid"},
			{code:"Intl. websites", url:"../home/main.php?nxp=home/links#oslinksid"},
			{code:"Event websites", url:"../home/main.php?nxp=home/links#evlinksid"},
			{code:"Other websites", url:"../home/main.php?nxp=home/links#xxlinksid"}
		]
	}
];
