
// request key: 9A1F14EB6AD211CCCE97FC49CC56E5A1
    
// create all registered modules data obj that can be queried
registeredModule = new Object();

// BEGIN FORUM MODULES
  
  
    registeredModule['3211055'] = new Object();
    registeredModule['3211055'].type = 'ubbx';
    registeredModule['3211055'].baseurl = 'http://community.discoverychannelasia.com/eve/forums' ;
    
    categoryViewPerm = new Object();// used to calculate cat view perm based on forum perms within it
    
    registeredModule['3211055'].createDataObj = function ubbx3211055() {
        var i=0;
   
        this[i] = new Object();
        this[i].text = 'Discovery Channel';
        this[i].value = 'c_8311055';
        categoryViewPerm['8311055'] = false;
        i++;
        
        this[i] = new Object();
        this[i].text = 'Ancient History';
        this[i].value = '821109533';
        this[i].perm = hasPerm(821109533, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['8311055'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Crime / Forensic Science';
        this[i].value = '341109533';
        this[i].perm = hasPerm(341109533, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['8311055'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Culture / People / Travel';
        this[i].value = '551109533';
        this[i].perm = hasPerm(551109533, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['8311055'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Human Adventure / Reality';
        this[i].value = '561109533';
        this[i].perm = hasPerm(561109533, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['8311055'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Modern History / Current Affairs';
        this[i].value = '571109533';
        this[i].perm = hasPerm(571109533, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['8311055'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Nature / Wildlife';
        this[i].value = '581109533';
        this[i].perm = hasPerm(581109533, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['8311055'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Science / Technology / Health';
        this[i].value = '691109533';
        this[i].perm = hasPerm(691109533, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['8311055'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Dirty Jobs';
        this[i].value = '948107693';
        this[i].perm = hasPerm(948107693, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['8311055'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = '20th Century Icons - The Complete';
        this[i].value = '553106233';
        this[i].perm = hasPerm(553106233, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['8311055'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Bone Detectives';
        this[i].value = '542104704';
        this[i].perm = hasPerm(542104704, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['8311055'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Dangerous Jobs';
        this[i].value = '160105013';
        this[i].perm = hasPerm(160105013, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['8311055'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Smash Lab';
        this[i].value = '593106604';
        this[i].perm = hasPerm(593106604, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['8311055'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Got To Know';
        this[i].value = '69210887';
        this[i].perm = hasPerm(69210887, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['8311055'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Programmes';
        this[i].value = '3411055';
        this[i].perm = hasPerm(3411055, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['8311055'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Discovery Channel Atlas';
        this[i].value = 'c_146103232';
        categoryViewPerm['146103232'] = false;
        i++;
        
        this[i] = new Object();
        this[i].text = 'China Revealed';
        this[i].value = '396103232';
        this[i].perm = hasPerm(396103232, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['146103232'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Australia Revealed';
        this[i].value = '123103332';
        this[i].perm = hasPerm(123103332, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['146103232'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Brazil Revealed';
        this[i].value = '633103332';
        this[i].perm = hasPerm(633103332, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['146103232'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Italy Revealed';
        this[i].value = '643103332';
        this[i].perm = hasPerm(643103332, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['146103232'] = true; }; 
        i++;
        
        this.length = i;
        this.siteid = '7591045';
        this.servleturl = 'http://community.discoverychannelasia.com/eve/forums';
    }

// END FORUM MODULES

// BEGIN CHAT MODULES
  
  
    registeredModule['6511055'] = new Object();
    registeredModule['6511055'].type = 'chime';
    registeredModule['6511055'].baseurl =  'http://community.discoverychannelasia.com/eve/chat' ;
       
    registeredModule['6511055'].popup_height = '800';
    registeredModule['6511055'].popup_width = '800';
    registeredModule['6511055'].createDataObj = function chime6511055(){
        var i=0;
      
    
        this.length = i;
        this.siteid = "7591045";
        this.servleturl = "http://community.discoverychannelasia.com/eve/chat";
    }

// END CHAT MODULES

registeredModulesLoaded = true;

