                                var c_faction = new Ext.data.Store( {
                                        url: "stores/c_faction.php",
                                        autoLoad: true,
                                        baseParams: { disableCaching: false },
                                        reader: new Ext.data.JsonReader( {
                                                totalProperty: "results", root: "rows", id: "key" }, [ { name: 'key' }, { name: 'val' } ] )
                                } ) ;
                                var c_type = new Ext.data.Store( {
                                        url: "stores/c_type.php",
                                        autoLoad: true,
					baseParams: { disableCaching: false },
                                        reader: new Ext.data.JsonReader( {
                                                totalProperty: "results", root: "rows", id: "key" }, [ { name: 'key' }, { name: 'val' } ] )
                                } ) ;
                                var c_suptype = new Ext.data.Store( {
                                        url: "stores/c_suptype.php",
                                        autoLoad: false,
                                        baseParams: { disableCaching: false },
                                        reader: new Ext.data.JsonReader( {
                                                totalProperty: "results", root: "rows", id: "key" }, [ { name: 'key' }, { name: 'val' } ] )
                                } ) ;
                                var c_subtype = new Ext.data.Store( {
                                        url: "stores/c_subtype.php",
                                        autoLoad: false,
                                        baseParams: { disableCaching: false },
                                        reader: new Ext.data.JsonReader( {
                                                totalProperty: "results", root: "rows", id: "key" }, [ { name: 'key' }, { name: 'val' } ] )
                                } ) ;
                                var c_race = new Ext.data.Store( {
                                        url: "stores/c_race.php",
                                        autoLoad: false,
                                        baseParams: { disableCaching: false },
                                        reader: new Ext.data.JsonReader( {
                                                totalProperty: "results", root: "rows", id: "key" }, [ { name: 'key' }, { name: 'val' } ] )
                                } ) ;
                                var c_class = new Ext.data.Store( {
                                        url: "stores/c_class.php",
                                        autoLoad: false,
                                        baseParams: { disableCaching: false },
                                        reader: new Ext.data.JsonReader( {
                                                totalProperty: "results", root: "rows", id: "key" }, [ { name: 'key' }, { name: 'val' } ] )
                                } ) ;
                                var c_talent = new Ext.data.Store( {
                                        url: "stores/c_talent.php",
                                        autoLoad: false,
                                        baseParams: { disableCaching: false },
                                        reader: new Ext.data.JsonReader( {
                                                totalProperty: "results", root: "rows", id: "key" }, [ { name: 'key' }, { name: 'val' } ] )
                                } ) ;
                                var c_profession = new Ext.data.Store( {
                                        url: "stores/c_profession.php",
                                        autoLoad: false,
                                        baseParams: { disableCaching: false },
                                        reader: new Ext.data.JsonReader( {
                                                totalProperty: "results", root: "rows", id: "key" }, [ { name: 'key' }, { name: 'val' } ] )
                                } ) ;
                                var c_rarity = new Ext.data.SimpleStore( {
                                        fields: [ "key","val" ], data: [ ["C","Common"],["U","Uncommon"],["R","Rare"],["E","Epic"] ]
                                } ) ;
				var c_conditions = new Ext.data.SimpleStore( {
                                        fields: [ "key","val" ], data: [ ["=","="],[">",">"],["<","<"] ]
				} ) ;
                                var c_conditions2 = new Ext.data.SimpleStore( {
                                        fields: [ "key","val" ], data: [ ["equal","equal to"],["restrict","restricted to"] ]
                                } ) ;
                                var c_cost = new Ext.data.Store( {
                                        url: "stores/c_cost.php",
                                        autoLoad: false,
                                        baseParams: { disableCaching: false },
                                        reader: new Ext.data.JsonReader( {
                                                totalProperty: "results", root: "rows", id: "key" }, [ { name: 'key' }, { name: 'val' } ] )
                                } ) ;
                                var c_attack = new Ext.data.Store( {
                                        url: "stores/c_attack.php",
                                        autoLoad: false,
                                        baseParams: { disableCaching: false },
                                        reader: new Ext.data.JsonReader( {
                                                totalProperty: "results", root: "rows", id: "key" }, [ { name: 'key' }, { name: 'val' } ] )
                                } ) ;
                                var c_health = new Ext.data.Store( {
                                        url: "stores/c_health.php",
                                        autoLoad: false,
                                        baseParams: { disableCaching: false },
                                        reader: new Ext.data.JsonReader( {
                                                totalProperty: "results", root: "rows", id: "key" }, [ { name: 'key' }, { name: 'val' } ] )
                                } ) ;
                                var c_atktype = new Ext.data.Store( {
                                        url: "stores/c_atktype.php",
                                        autoLoad: false,
                                        baseParams: { disableCaching: false },
                                        reader: new Ext.data.JsonReader( {
                                                totalProperty: "results", root: "rows", id: "key" }, [ { name: 'key' }, { name: 'val' } ] )
                                } ) ;
                                var c_scost = new Ext.data.Store( {
                                        url: "stores/c_scost.php",
                                        autoLoad: false,
                                        baseParams: { disableCaching: false },
                                        reader: new Ext.data.JsonReader( {
                                                totalProperty: "results", root: "rows", id: "key" }, [ { name: 'key' }, { name: 'val' } ] )
                                } ) ;
                                var c_defense = new Ext.data.Store( {
                                        url: "stores/c_defense.php",
                                        autoLoad: false,
                                        baseParams: { disableCaching: false },
                                        reader: new Ext.data.JsonReader( {
                                                totalProperty: "results", root: "rows", id: "key" }, [ { name: 'key' }, { name: 'val' } ] )
                                } ) ;
                                var c_release = new Ext.data.Store( {
                                        url: "stores/c_release.php",
                                        autoLoad: true,
					baseParams: { disableCaching: false },
                                        reader: new Ext.data.JsonReader( {
                                                totalProperty: "results", root: "rows", id: "key" }, [ { name: 'key' }, { name: 'val' } ] )
                                } ) ;
                                var c_spoiler = new Ext.data.Store( {
                                        url: "stores/c_spoiler.php",
                                        autoLoad: false,
					baseParams: { disableCaching: false },
                                        reader: new Ext.data.JsonReader( {
                                                totalProperty: "results", root: "rows", id: "key" }, [ { name: 'key' }, { name: 'val' } ] )
                                } ) ;
                                var c_format = new Ext.data.SimpleStore( {
                                        fields: [ "key","val" ], data: [ ["txt","Plain Text"],["xls","Excel Spreadsheet"],["xml","XML"] ]
                                } ) ;
