$('.answer').hide();
		$(".email").defuscate();
$(document).ready(function(){
    $(function(){
    });
    
    $(function(){
        $('#the-sign').click(function(){
            $('#how-to-sign').empty();
            $('#how-to-sign').flash({
                src: '/incs/flash/FLVPlayer_Progressive.swf',
                width: 375,
                height: 250,
                flashvars: {
                    skinName: '/incs/flash/Clear_Skin_1',
                    streamName: '/incs/flash/Frosign',
                    autoPlay: 'true',
                    autoRewind: 'true'
                }
            });
            return false;
        });
        $('.question').click(function(){
            $(this).closest('.qa').find('.answer').slideToggle('fast');
            return false;
        });
        $('a[href^=http]').click(function(){
            window.open(this.href);
            return false;
        });
        $('#agree').click(function(){
			if ($('#agree').attr('checked')){
				$('#grat-short-vob').html('<a href=/incs/movies/gc-dl-short.zip>thegratitudecampaign (short)</a>');
				$('#grat-long-vob').html('<a href=/incs/movies/gc-dl-long.zip>thegratitudecampaign (full length)</a>');
				$('#grat-short-qt').html('<a href=/incs/movies/gc-dl-short.mov>thegratitudecampaign (short)</a>');
				$('#grat-long-qt').html('<a href=/incs/movies/gc-dl-long.mov>thegratitudecampaign (full length)</a>');
			}else{
				$('#grat-short-vob').empty();
				$('#grat-short-vob').html('thegratitudecampaign (short)');
				$('#grat-long-vob').html('thegratitudecampaign (full length)');
				$('#grat-short-qt').html('thegratitudecampaign (short)');
				$('#grat-long-qt').html('thegratitudecampaign (full length)');
			}
        })
    })
    $('#expand-all').click(function(){
        $('.answer').show();
    });
    $('#collapse-all').click(function(){
        $('.answer').hide();
    });
});
