$(document).ready(function() {

    if (jQuery.browser.version < 7 && jQuery.browser.msie) {
        $("#productList").addClass("productListIE6");
    }

    $("#productList").css({ "top": "25px" }).hide();
    $("#cartList").css({ "top": "16px" }).hide();


    $("#shopLink").hover(
		function() {
        $("#productList").show();
    },
		function() { }
	);

    $(".cartLink").hover(function() {
        $("#cartList").show();
    }, function() { }
	);

    $("#cartList").hover(
	    function() { },
	    function() {
        $("#cartList").hide();
    }
	);

    $("#cartList li").hover(
		function() { $(this).addClass("over"); },
		function() { $(this).removeClass("over"); }
	);


    $("#productList").hover(
		function() { },
		function() {
        $("#productList").hide();
    }
	);

    $("a.hider, #mainNav").hover(
		function() { $("#productList").hide(); },
		function() { $("#productList").hide(); }
	);

    $("#productList li").hover(
		function() { $(this).addClass("over"); },
		function() { $(this).removeClass("over"); }
	);

    $(document).ready(function() {
        jQuery.each($("div.filters2 a"), function() {
            if (location.href.indexOf(this["href"]) > -1) {
                $(this).addClass("landed");
            }
        });
    });

});