// chatjs.js
//
// Just does a few things for the chat window
//
// Written by Jeff Parker - jeffreyp(at)aplus.net
//
// Props to the jQuery community for guidance and support
//
// $Id: chatjs.js 1255 2009-07-30 18:37:06Z codero $

$(document).ready(function()
    {
     $('#checkyes').click(function()
	    {
			//$("#pop-download").show('slow');
            var k = $(this).attr("checked");
            if(k)
                {
                    $('#checkno').attr('checked', false);
                    $('#regnum').attr('disabled', false).show('slow');
                    $('#regspan').show('slow');
                    return true;
                }
			//return false;
		});
     $('#checkno').click(function()
	    {
            var k = $(this).attr("checked");
            if(k)
                {
                    $('#checkyes').attr('checked', false);
                    $('#regnum').attr('disabled', true);
                    $('#regspan').hide('slow');
                    return true;
                }
			//$("#pop-download").hide();
			return false;
		});
	return false;
    });
