function ChangeDesignerCat(tab, data) {
    jQuery("#designer_tabs img").each(function () {
        var child = $(this);
        var imgid = this.id;
        if (tab == imgid) {
            //$(this).attr('src', $(this).attr('src').replace('_off_', '_on_'));
            jQuery("#" + child.id).attr('src', jQuery("#" + child.id).attr('src').replace('_off_', '_on_'));
        } else {
            //$(this).attr('src', $(this).attr('src').replace('_on_', '_off_'));
            jQuery("#" + child.id).attr('src', jQuery("#" + child.id).attr('src').replace('_on_', '_off_'));
        }
    });
    HideAllCategoriesExcept(data);
}
function HideAllCategoriesExcept(data) {
    jQuery("#designers_list").children().each(function () {
        var divid = this.id;
        if (data == divid) 
            $(this).show();
        else
            $(this).hide();
    });
}
