/* Tigra Menu items structure */
var MENU_ITEMS = [
	wrap(['Home', 'index.htm', null,
				]),
	
	wrap(['Shop','shop.htm', null,
		wrap(['Socks','socks.htm', null,
				wrap(['City','citysock.htm', null]),
				wrap(['Equestrian','eques.htm', null]),
				wrap(['Country','countrysock.htm', null]),]),
		 wrap(['Shawls & Scarves',null, null,
				wrap(['Shawls','shawls.htm', null]),
				wrap(['Scarves','scarves.htm', null]),
				wrap(['Stoles','lace_stoles.htm', null]),
				]),
		wrap(['Hand Knitting Yarns',null, null,
				wrap(['Capracloud Yarn','capracloud.htm', null]),
				wrap(['Caprahaze Yarn','caprahaze.htm', null]),
				wrap(['Capramist Yarn','capramist.htm', null]),]),
		 wrap(['Broaches', 'broaches.htm', null]),  
		 wrap(['Bonkers Cases', 'bonkers_cases.htm', null]),
	   wrap(['Skins', 'skins.htm', null]),
	   wrap(['blankets', 'blankets.htm', null]),
	]),
	
	wrap(['Our Flock', 'flock.htm', null,
		   wrap(['About our products', 'products.htm', null]),
			 wrap(['Awards & History', 'awards.htm', null]),
		  ]),
	
	wrap(['News','http://caprafiba.blogspot.com/', null,]),
	
	wrap(['Contact','contact.htm', null,]),
	
	wrap(['Links', 'links.htm', null,
		 ])
];

function wrap (item) {
	var path = String(window.location).split(/\//);
	var file = path[path.length - 1].split(/\?/);

	if (file[0] == item[1])
		item[0] = '<font color="blue">' + item[0] + '</font>';
	else
		item[0] = '<font color="#666666">' + item[0] + '</font>';
	return (item);
}