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

// BEGIN FORUM MODULES
  
  
    registeredModule['3061045'] = new Object();
    registeredModule['3061045'].type = 'ubbx';
    registeredModule['3061045'].baseurl = 'http://community.discoverychannel.com.tw/eve/forums' ;
    
    categoryViewPerm = new Object();// used to calculate cat view perm based on forum perms within it
    
    registeredModule['3061045'].createDataObj = function ubbx3061045() {
        var i=0;
   
        this[i] = new Object();
        this[i].text = 'Discovery頻道';
        this[i].value = 'c_6001027';
        categoryViewPerm['6001027'] = false;
        i++;
        
        this[i] = new Object();
        this[i].text = 'Discovery頻道節目討論';
        this[i].value = '4331027';
        this[i].perm = hasPerm(4331027, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['6001027'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = '歷史';
        this[i].value = '256100633';
        this[i].perm = hasPerm(256100633, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['6001027'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = '犯罪/刑事鑑識科學';
        this[i].value = '466100633';
        this[i].perm = hasPerm(466100633, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['6001027'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = '文化/人類/旅遊';
        this[i].value = '476100633';
        this[i].perm = hasPerm(476100633, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['6001027'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = '人類探險/寫實記錄';
        this[i].value = '486100633';
        this[i].perm = hasPerm(486100633, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['6001027'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = '時事';
        this[i].value = '496100633';
        this[i].perm = hasPerm(496100633, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['6001027'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = '自然/野生動物';
        this[i].value = '407100633';
        this[i].perm = hasPerm(407100633, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['6001027'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = '科學/科技/健康/醫學';
        this[i].value = '417100633';
        this[i].perm = hasPerm(417100633, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['6001027'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Discovery Channel 人文地圖';
        this[i].value = 'c_944103332';
        categoryViewPerm['944103332'] = false;
        i++;
        
        this[i] = new Object();
        this[i].text = '人文地圖：中國';
        this[i].value = '554103332';
        this[i].perm = hasPerm(554103332, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['944103332'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = '人文地圖：義大利';
        this[i].value = '964103332';
        this[i].perm = hasPerm(964103332, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['944103332'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = '人文地圖：巴西';
        this[i].value = '974103332';
        this[i].perm = hasPerm(974103332, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['944103332'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = '人文地圖：澳洲';
        this[i].value = '984103332';
        this[i].perm = hasPerm(984103332, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['944103332'] = true; }; 
        i++;
        
        this.length = i;
        this.siteid = '7341045';
        this.servleturl = 'http://community.discoverychannel.com.tw/eve/forums';
    }

// END FORUM MODULES

// BEGIN CHAT MODULES
  
  
    registeredModule['6361045'] = new Object();
    registeredModule['6361045'].type = 'chime';
    registeredModule['6361045'].baseurl =  'http://community.discoverychannel.com.tw/eve/chat' ;
       
    registeredModule['6361045'].popup_height = '500';
    registeredModule['6361045'].popup_width = '600';
    registeredModule['6361045'].createDataObj = function chime6361045(){
        var i=0;
      
    
        this.length = i;
        this.siteid = "7341045";
        this.servleturl = "http://community.discoverychannel.com.tw/eve/chat";
    }

// END CHAT MODULES

registeredModulesLoaded = true;

