function closeCatfish() {
            $("#catfish").fadeOut("normal", function(){$("#catfish_shim").slideUp("normal");});

            var exdate = new Date();
            exdate.setDate(exdate.getDate() + 7);
            document.cookie = "cf_close=1; expires=" + exdate.toGMTString() + "; path=/";
        }

        function showCatfish() {
            if(('screen' in window) && ('width' in screen))
            {
                if(screen.width < 1024)
                {
                    return;
                }
            }

            $("#catfish").slideToggle("slow");
        }

        function signupAjax(emailAddress)
        {
            if (!emailAddress.match(/^\s*$/))
            {
                document.getElementById('btnJoinEmail').disabled = true;
                document.getElementById('joinEmail').disabled = true;

                $.getJSON('/query/query_user_accounts.php', {'createUserByEmail' : emailAddress}, signupAjax_Callback);
            }
            else
                alert('I know you\'re new here and all... but you\'re going to actually have to enter an e-mail address for us to send you an e-mail.');
        }

        function signupAjax_Callback(json)
        {
            if (json.error == '0')
            {
                document.getElementById('signupContent').innerHTML = 'Please check your e-mail for instructions on verifying your account.';
            }
            else
            {
                alert('Error: ' + json.message);

                document.getElementById('btnJoinEmail').disabled = false;
                document.getElementById('joinEmail').disabled = false;
            }
        }