BLANK_IMAGE = 'images/b.gif';

//Menu index

var STYLE = {
	border:1,			// item's border width, pixels; zero means "none"
	shadow:0,			// item's shadow size, pixels; zero means "none"
	color:{
		border:"#000000",	// color of the item border, if any
		shadow:"#000000",	// color of the item shadow, if any
		bgON:"FFDD00",		// background color for the items
		bgOVER:"#B6BDD2"	// background color for the item which is under mouse right now
	},
	css:{
		ON:"clsCMOn",		// CSS class for items
		OVER:"clsCMOver"	// CSS class  for item which is under mouse
	}
};

var MENU_ITEMS = [
	{pos:[110,10], itemoff:[0,99], leveloff:[22,0], style:STYLE, size:[22,110]},
//  {code:"Home", url:"index.html"},
  {code:"Blacksmithing", format:{size:[22,80]},
		sub:[
			{itemoff:[21,0], size:[22,90]},
      {code:"Tools", url:"scripts/listcats.php?title=Blacksmithing%20-%20Tools%20&language=english&query='%25Blacksmithing%25'%20AND%20`Type`%20LIKE%20'%25Merchant%25'%20AND%20`Categorie`%20LIKE%20'%25Tools%25'"},
			{code:"Supplies", url:"scripts/listcats.php?title=Blacksmithing%20-%20Supplies%20&language=english&query='%25Blacksmithing%25'%20AND%20`Type`%20LIKE%20'%25Merchant%25'%20AND%20`Categorie`%20LIKE%20'%25Supplies%25'"},
      {code:"Resources", url:"scripts/listcats.php?title=Blacksmithing%20-%20Ressources%20&language=english&query='%25Blacksmithing%25'%20AND%20`Type`%20LIKE%20'%25Ressource%25'%20AND%20`Categorie`%20LIKE%20'%25Info%25'"},
		]
	},
	{code:"Knifemaking", format:{size:[22,80], itemoff:[0,100]},
		sub:[
			{itemoff:[21,0], size:[22,90]},
			{code:"Knifemakers", url:"scripts/listcats.php?title=Knifemaking%20-%20Knifemakers%20&language=english&query='%25Knifemaking%25'%20AND%20`Type`%20LIKE%20'%25Merchant%25'%20AND%20`Categorie`%20LIKE%20'%25Knifemaker%25'"},
			{code:"Tools", url:"scripts/listcats.php?title=Knifemaking%20-%20Tools%20&language=english&query='%25Knifemaking%25'%20AND%20`Type`%20LIKE%20'%25Merchant%25'%20AND%20`Categorie`%20LIKE%20'%25Tools%25'"},
			{code:"Supplies", url:"scripts/listcats.php?title=Knifemaking%20-%20Supplies%20&language=english&query='%25Knifemaking%25'%20AND%20`Type`%20LIKE%20'%25Merchant%25'%20AND%20`Categorie`%20LIKE%20'%25Supplies%25'"},
      {code:"Resources", url:"scripts/listcats.php?title=Knifemaking%20-%20Ressources%20&language=english&query='%25Knifemaking%25'%20AND%20`Type`%20LIKE%20'%25Ressource%25'%20AND%20`Categorie`%20LIKE%20'%25Info%25'"},
		]
	},
	{code:"Machining", format:{size:[22,80], itemoff:[0,91]},
		sub:[
			{itemoff:[21,0], size:[22,90]},
			{code:"Tools", url:"scripts/listcats.php?title=Machining%20-%20Tools%20&language=english&query='%25Machining%25'%20AND%20`Type`%20LIKE%20'%25Merchant%25'%20AND%20`Categorie`%20LIKE%20'%25Tools%25'"},
			{code:"Supplies", url:"scripts/listcats.php?title=Machining%20-%20Supplies%20&language=english&query='%25Machining%25'%20AND%20`Type`%20LIKE%20'%25Merchant%25'%20AND%20`Categorie`%20LIKE%20'%25Supplies%25'"},
      {code:"Resources", url:"scripts/listcats.php?title=Machining%20-%20Ressources%20&language=english&query='%25Machining%25'%20AND%20`Type`%20LIKE%20'%25Ressource%25'%20AND%20`Categorie`%20LIKE%20'%25Info%25'"},
		]
	},
	{code:"Medieval", format:{size:[22,72], itemoff:[0,81]},
		sub:[
			{itemoff:[21,0], size:[22,90]},
			{code:"Resources", url:"pages/liens_ressource_a/liens_ressource_a.html"},
			{code:"Merchants", url:"pages/liens_merchant_a/liens_merchant_a.html"},
		]
	},
	{code:"Sheathmaking", format:{size:[22,80], itemoff:[0,73]},
		sub:[
			{itemoff:[21,0], size:[22,100]},
      {code:"Sheathmakers", url:"scripts/listcats.php?title=Sheathmaking%20-%20Sheathmakers%20&language=english&query='%25Sheathmaking%25'%20AND%20`Type`%20LIKE%20'%25Merchant%25'%20AND%20`Categorie`%20LIKE%20'%25Sheathmaker%25'"},
    	{code:"Tools", url:"scripts/listcats.php?title=Sheathmaking%20-%20Tools%20&language=english&query='%25Sheathmaking%25'%20AND%20`Type`%20LIKE%20'%25Merchant%25'%20AND%20`Categorie`%20LIKE%20'%25Tools%25'"},
			{code:"Supplies", url:"scripts/listcats.php?title=Sheathmaking%20-%20Supplies%20&language=english&query='%25Sheathmaking%25'%20AND%20`Type`%20LIKE%20'%25Merchant%25'%20AND%20`Categorie`%20LIKE%20'%25Supplies%25'"},
      {code:"Resources", url:"scripts/listcats.php?title=Sheathmaking%20-%20Ressources%20&language=english&query='%25Sheathmaking%25'%20AND%20`Type`%20LIKE%20'%25Ressource%25'%20AND%20`Categorie`%20LIKE%20'%25Info%25'"},
		]
	},
 	{code:"Our Resources",  format:{size:[22,104], itemoff:[0,100]}, url:"pages/our_resources_a.html"},
	{code:"Past Work", format:{size:[22,80], itemoff:[0,105]},
		sub:[
			{itemoff:[21,0], size:[22,90]},
			{code:"Knives", url:"http://www.lemeeknives.com/"},
			{code:"Chainmail Armour", url:"pages/catalogue/chainarmor_a.html"},
			{code:"Shields", url:"pages/catalogue/shields_a.html"},
			{code:"Plate Armour", url:"pages/catalogue/platearmor_a.html"},
      {code:"Jewelry & Accessories", url:"pages/catalogue/chainjewel_a.html"},
    ]
	},
	{code:"Writings", format:{size:[22,60], itemoff:[0,81]}, url:"pages/writings_a.html"},

//  {code:"Knifemaking",
//		sub:[
//			{itemoff:[21,0]},
//			{code:"SubItem 1",
//				sub:[
//					{leveloff:[0,99]},
//					{code:"SubSubItem 1"},
//					{code:"SubSubItem 2"},
//					{code:"SubSubItem 3"}
//				]
//			},
//			{code:"SubItem 2",
//				sub:[
//					{leveloff:[0,99]},
//					{code:"SubSubItem 1"},
//					{code:"SubSubItem 2"},
//					{code:"SubSubItem 3"}
//				]
//			},
//			{code:"SubItem 3",
//				sub:[
//					{leveloff:[0,99]},
//					{code:"SubSubItem 1"},
//					{code:"SubSubItem 2"},
//					{code:"SubSubItem 3"}
//				]
//			}
//		]
//	},
	
];
