// JavaScript to handle the footer signup form.
$(document).ready(function() {

    var isThere = readCookie('dtsSignupDonut');
    
    if (!isThere) {
        $('#signup')
            .show()
            .animate({'bottom':'0'}, 750)
        
        createCookie('dtsSignupDonut', true, 365);
        
    }
    
    $('#signup a#closeButton').click(function() {
        $('#signup')
            .animate({'bottom':'-100px'}, 250);
        return false;
        
    });
    
});
