﻿Array.prototype.contains = function (obj) {
    for (var i = 0; i < this.length; i++)
        if (this[i] == obj)
            return true;

    return false;
};

function hoverProduct(container, hover) {
    if (hover)
        $(container).parents(".categoryBox").addClass("hover");
    else
        $(container).parents(".categoryBox").removeClass("hover");
}
