 function initMenu() {
	
	/* These 3 lines add the pipe symbol between the menu items */
	$(".searchBar ul > li:not(:last)").append("&nbsp;|&nbsp;");
	$("#footer ul > li:not(:last)").append("&nbsp;|&nbsp;");
	$(".breadCrumb > li:not(:last)").append("&nbsp;>&nbsp;");
	
	
	/*  This does the Hover border class change on results page and the "also" products */
	$(".alsoProduct > div, .resultProduct > div").hover(	
	      function () {  
	        $(this).addClass('productHover');
	      }, 
	      function () {
	        $(this).removeClass('productHover');
	      }
	 );
	
	/* MENU JQUERY ========================= */
  $("li.menu ul").hide();

	var storePage = $('body[id^=Store] li ul:eq(1)');
	var menuPage = $('body[id^=Menu] li ul:eq(0)');
	
	
  var toggle = function(direction, display) {
  return function() {
	
    var self = this;
    var ul = $("ul", this);
    
    if( ul.css("display") == display && !self["block" + direction] ) {
	
      self["block" + direction] = true;
      ul["slide" + direction]("normal", function() {
        self["block" + direction] = false;
       });
     storePage.stop();
     menuPage.stop();

    }

  };
}


$("li.menu").hover(toggle("Down", "none"), toggle("Up", "block"));




storePage.css("display","block");
menuPage.css("display","block");

$('body[id^=Store] .mainMenu li:nth-child(4) a , body[id^=Menu] .mainMenu li:nth-child(1) a').addClass('arrowOn');

 }
 /* END MENU JQUERY ======================= */



$(document).ready(function() {initMenu();});