//<![CDATA[
(function($)
{
$(document).ready(function()
{
$(".MainCategory .productlink").append("<span class=\"CatExpander\">Click!</span>");

$(".CatExpander").click(function()
{
$(this).toggleClass("CatExpanded").parents(".MainCategory").children(".SubCategories").slideToggle(400);
return false;
}).eq(0).addClass("CatExpanded").end().slice(1).parents(".MainCategory").children(".SubCategories").hide();
});
})(jQuery);


/*
son of suckerfish menu script from:
http://www.htmldog.com/articles/suckerfish/dropdowns/
 */
 
 sfHover = function() {
	var sfEls = document.getElementById("menu").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
			this.style.zIndex=200; //this line added to force flyout to be above relatively positioned stuff in IE
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);


//]]> 
