﻿$(function () {
    $("#tabs").tabs({
        cookie: { expires: 1} // store cookie for a day, without, it would be a session cookie
    });
    $("#tabs_content").tabs({
        cookie: { expires: 1} // store cookie for a day, without, it would be a session cookie
    });
});

// to hide tabs till they are fully loaded (IE shows them too fast without this)
$(function () {
    $(window).load(function () {
        $("#tabs").css("display", "block");
        $("#tabs_content").css("display", "block");
    });
});
