$(function()
{
    $('#hear_about option:selected').each(function () {
        if ($(this).text() == 'Other')
        {
            $('.sh_other_hear').show('fast');
        }
        else
        {
            $('.sh_other_hear').hide('fast');
            $('.sh_other_hear input').val('');
        }
    });
    
    $('#hear_about').change(function()
    {
        $('#hear_about option:selected').each(function () 
        {
            if ($(this).text() == 'Other')
            {
                $('.sh_other_hear').show('fast');
            }
            else
            {
                $('.sh_other_hear').hide('fast');
                $('.sh_other_hear input').val('');
            }
        });
    })
    
    $('#hear_about option:selected').each(function () {
        if ($(this).val() == '32')
        {
            $('.sh_recommended_by').show('fast');
        }
        else
        {
            $('.sh_recommended_by').hide('fast');
            $('.sh_recommended_by input').val('');
        }
    });
    
    $('#hear_about').change(function()
    {
        $('#hear_about option:selected').each(function () 
        {
            if ($(this).val() == '32')
            {
                $('.sh_recommended_by').show('fast');
            }
            else
            {
                $('.sh_recommended_by').hide('fast');
                $('.sh_recommended_by input').val('');
            }
        });
    })
    
    $('#university option:selected').each(function () {
        if ($(this).text() == 'Other')
        {
            $('.sh_other_university').show('fast');
        }
        else
        {
            $('.sh_other_university').hide('fast');
            $('.sh_other_university input').val('');
        }
    });
    
    $('#university').change(function()
    {
        $('#university option:selected').each(function () 
        {
            if ($(this).text() == 'Other')
            {
                $('.sh_other_university').show('fast');
            }
            else
            {
                $('.sh_other_university').hide('fast');
                $('.sh_other_university input').val('');
            }
        });
    })

});