var MENU_ITEMS = [
   [menu_item('Home'), 'index.php', null],
   //[menu_item('Our Philosophy'), 'our_philosophy.php', null
	//],
	//[menu_item("&nbsp;What's New&nbsp;"), 'smart/index.php', null


	//],
	//[menu_item('Collections'), 'javascript:goToCollections(0);', null,
	[menu_item('Collections'), 'slideshow.php', null,
	   /*['Rafaella', 'slideshow.php'],
	   ['<span style="text-transform:lowercase">ellavie</span>', 'slideshow_ellavie.php']*/
	],
	[menu_item('Featured Products'), 'rafaella_featured_products.php', null


	],

	[menu_item('Press'), null, null,
	   ['Editorial', 'press.php'],	     
	   ['TV', 'video.php']
	],
	[menu_item('WHERE TO BUY'), 'store_locator.php', null,
	   /*['RAFAELLA', 'store_locator.php']*///,
	   //['<span style="text-transform:lowercase">ellavie</span> ', 'store_locator_ellavie.php']
	],
	[menu_item('DESIGN CORNER'), 'blog/index.php', null,
	   /*['DESIGN CORNER', 'blog/index.php'],
	   ['GIFT GUIDE', 'the-perfect-gift-guide.php'],*/
	   //['FAQ', 'ask_rafaella.php']
	]/*,
	[menu_item('&nbsp;RAFAELLA CARES&nbsp;'), '../rafaella_cares/index.php', null
	]*/
];

function menu_item(p) {
   var a = false;
   var u = location.href;
   u = u.toString().split(/\//);
   u = u[u.length-1].split(/\#/)[0].split(/\?/)[0];
   if (p == 'Home' && u == 'index.php')
      a = true;
   if (p == 'Our Philosophy' && u == 'our_philosophy.php')
      a = true;
	if (p == 'WHERE TO BUY' && (u == 'store_locator.php'))
      a = true;
   if (p == 'Collections' && u == 'collections.php')
      a = true;
   if (p == 'Media Room' && (u == 'press.php' || u == 'campaign.php' || u == 'video.php'))
      a = true;
   if (p == 'Where to Buy' && u == 'store_locator.php')
      a = true;
	if (p == 'Featured Products' && u == 'rafaella_featured_products.php')
      a = true;
   if (p == 'Advice' && (u == 'whats_new.php' || u == 'ask_rafaella.php'))
      a = true;
   if (p == 'Events &amp; News' && (u == 'events.php' || u == 'news.php' || u == 'gallery.php'))
      a = true;
   if (p == 'Rafaella Cares' && u == 'rafaella_cares.php')
      a = true;
   if (p == 'Like Minds' && (u == 'profiles.php' || u == 'brands_we_like.php'))
      a = true;

   return ((a==true)?'<font color="#000000">' + p + '</font>':p);
}