﻿// tab control
$('#tabBar a').click(function() {
    var e = $(this).attr('href');
    // change tab
    $('#tabBar a').removeClass('activeTab');
    $(this).addClass('activeTab');

    // change content
    $(e).show();
    $('.tabContent:not(' + e + ')').hide();
    return false;
})

$('#helpTabs a').hover(
    function() {
        var e = $(this).attr('id');
        $('#helpWrapper').attr('class', e + 'Wrap');
        $('#helpText div').hide();
        $('#' + e + 'Text').show();
    },
    function() { }
)