jQuery.noConflict();

jQuery(document).ready(function() {
    jQuery(".menuoverstate").each(function(i) {

        preload_image = new Image();
        preload_image.src = this.src.replace(".jpg", "_o.jpg");

        jQuery(this).hover(
            function() {
                if (this.src.indexOf("_o.jpg") == -1) {
                    this.src = this.src.replace(".jpg", "_o.jpg");
                }

            },

            function() {
                this.src = this.src.replace("_o.jpg", ".jpg");

            });

    }
        );
});

jQuery(document).ready(function() {
    jQuery(".menuoverstate-g").each(function(i) {

        preload_image = new Image();
        preload_image.src = this.src.replace(".gif", "_o.gif");

        jQuery(this).hover(
            function() {
        if (this.src.indexOf("_o.gif") == -1) {
                    this.src = this.src.replace(".gif", "_o.gif");
                }

            },

            function() {
            this.src = this.src.replace("_o.gif", ".gif");

            });

    }
        );
});


    jQuery(document).ready(function(){
        jQuery(".product-wrapper img").hover(function() {
            jQuery(this).fadeTo("500", 0.9);
            },function(){
            jQuery(this).fadeTo("500", 1.0);
        });

        jQuery(".polaroid-wrapper img").hover(function() {
            jQuery(this).fadeTo("500", 0.9);
        }, function() {
            jQuery(this).fadeTo("500", 1.0);
       
        });
    });

    jQuery(".hidden-content").each(function() {
        $(this).css("height", $(this).height() + "px");
        $(this).hide();
    });    

    jQuery(document).ready(function() {


        jQuery(".hidden-content").hide();

        jQuery(".drop").toggle(function() {
            jQuery(this).addClass("active");
        }, function() {
            jQuery(this).removeClass("active");
        });

        jQuery(".drop").click(function() {
            jQuery(this).next(".hidden-content").slideToggle("slow");
        });

    });





