createProducts:function(){
if(!this.radioItems)this.radioItems=[];
for(var i=0;i<this.ds.getCount();i++){
var r=this.ds.getAt(i);
if(r.data['state']==1)
var checked=i;
var name='<font color="'+r.data['color']+r.data['name']+</font>';
var product =new Ext.form.Radio({
boxLabel:name,
name:'_cg',
inputValue:i,
checked:!!r.data['state']
product.on('check',
function(t,c){c?this.choice(t,'all'):'':},this);
this.radioItems.push(product);}
this.products=new Ext.form.RadioGroup({
columnWidth:'.5',
items:this.radioItems});
this.createYears(checked);}