var isJscLoaded = true;

function jscInit()
{
    //pass
}

function jscHideAllContexts()
{
    $("#arg-wine-h").hide();
    $("#arg-wine-pos").hide();
    $("#jap-sake-h").hide();
    $("#jap-sake-pos").hide();
    $("#cal-wine-h").hide();
    $("#cal-wine-pos").hide();
}

function jscSelectContext(context_id)
{
    jscHideAllContexts();
    $(".pos").show();
    if (context_id == 1) {
        $("#arg-wine-h").show();
        $("#arg-wine-pos").show();
    } else if (context_id == 2) {
        $("#jap-sake-h").show();
        $("#jap-sake-pos").show();
    } else if (context_id == 3) {
        $("#cal-wine-h").show();
        $("#cal-wine-pos").show();
    }
}

function jscSelectBrand(context_id, brand_id)
{
    jscSelectContext(context_id);
    $(".pos").hide();
    $("#brand-" + brand_id).show();
}

function jscSelectCategory(category_id)
{
    jscSelectContext(2);
    $(".pos").hide();
    $("#category-" + category_id).show();
}

