function compsAjax()
{
    if($('rscs'))
    {
        $('filter').set('send',{
            url: 'rscresponder.php',
            onSuccess: function(txt){
                if(txt=='false')
                {
                    $('fc2').set('html','<option value="">--</option>');
                }
                else
                {
                    r=JSON.decode(txt);
                    $('fc2').set('html',r.form);
                    $('rscbox').set('html',r.rsc);
                }
            }
        });
        $$('#fchk, #fc1, #fc2').each(function(i){
            i.addEvent('change',function(){
                $('filter').send();
            });
        });
    }
}
