    $(document).ready(function() {

        // this changes the on-state for the tabs sections
        $(".Tabs li").click(function() {
            whatTab = this.id;
            $(".Tabs li").removeClass("ON");
            $(this).addClass("ON");
            $("div[class^='tab_']").hide();
            $('.' + whatTab).show();
        });

        //hide all tabs and show first tab
        $("div[class^='tab_']").hide();
        $("#tab_0").addClass("ON");
        $("div[class='tab_0']").show();

    });
    
    

