﻿function showIntro() {
    $('#intro1').css("display", "none");
    $('#intro2').css("display", "block");
}

function hideIntro() {
    $('#intro1').css("display", "block");
    $('#intro2').css("display", "none");
}

function showThreeDegreesResult() {
    if ($('#three_degrees_result').hasClass('open')) {
        $('#three_degrees_result').slideUp();
        $('#three_degrees_result').removeClass('open')
    }
    else {
        $('#three_degrees_result').slideDown();
        $('#three_degrees_result').addClass('open')
    }
    return false;
}

function showHistory() {
    if ($('#history').hasClass('open') == false) {
        $('#history').slideDown();
        $('#history').addClass('open')
        $('#learn_more_btn').css("display", "none");
    }
    return false;
}