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

// BEGIN FORUM MODULES
  
  
    registeredModule['4611041'] = new Object();
    registeredModule['4611041'].type = 'ubbx';
    registeredModule['4611041'].baseurl = 'http://forums.healthcentral.com/discussion/chronic-pain/forums' ;
    
    categoryViewPerm = new Object();// used to calculate cat view perm based on forum perms within it
    
    registeredModule['4611041'].createDataObj = function ubbx4611041() {
        var i=0;
   
        this[i] = new Object();
        this[i].text = 'Chronic Pain Connections';
        this[i].value = 'c_2371041';
        categoryViewPerm['2371041'] = false;
        i++;
        
        this[i] = new Object();
        this[i].text = 'Introductions';
        this[i].value = '7551017';
        this[i].perm = hasPerm(7551017, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['2371041'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'General Discussion';
        this[i].value = '7251032';
        this[i].perm = hasPerm(7251032, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['2371041'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Diagnosis';
        this[i].value = '6651017';
        this[i].perm = hasPerm(6651017, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['2371041'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Treatment';
        this[i].value = '5751017';
        this[i].perm = hasPerm(5751017, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['2371041'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Fibromyalgia';
        this[i].value = '3461038';
        this[i].perm = hasPerm(3461038, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['2371041'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Chronic Fatique Syndrome (Myalgic Encephalopathy)';
        this[i].value = '2561038';
        this[i].perm = hasPerm(2561038, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['2371041'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Medication';
        this[i].value = '4851017';
        this[i].perm = hasPerm(4851017, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['2371041'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Families, Friends, Caregivers';
        this[i].value = '8951017';
        this[i].perm = hasPerm(8951017, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['2371041'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Advocacy';
        this[i].value = '1161017';
        this[i].perm = hasPerm(1161017, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['2371041'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Working with Chronic Pain';
        this[i].value = '1261017';
        this[i].perm = hasPerm(1261017, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['2371041'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Off Topic';
        this[i].value = '1361017';
        this[i].perm = hasPerm(1361017, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['2371041'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Moderator Administration';
        this[i].value = '2371068';
        this[i].perm = hasPerm(2371068, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['2371041'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'TMJ Disorder';
        this[i].value = 'c_9381007';
        categoryViewPerm['9381007'] = false;
        i++;
        
        this[i] = new Object();
        this[i].text = 'Announcements';
        this[i].value = '4581007';
        this[i].perm = hasPerm(4581007, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['9381007'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Introductions';
        this[i].value = '2781007';
        this[i].perm = hasPerm(2781007, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['9381007'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Diagnosis';
        this[i].value = '3681007';
        this[i].perm = hasPerm(3681007, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['9381007'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Splint Therapy';
        this[i].value = '5881007';
        this[i].perm = hasPerm(5881007, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['9381007'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Surgery';
        this[i].value = '5981007';
        this[i].perm = hasPerm(5981007, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['9381007'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'General Discussion';
        this[i].value = '3171017';
        this[i].perm = hasPerm(3171017, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['9381007'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Insurance, Disability, Working with TMJ Disorder';
        this[i].value = '6941017';
        this[i].perm = hasPerm(6941017, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['9381007'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Nutrition';
        this[i].value = '2251017';
        this[i].perm = hasPerm(2251017, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['9381007'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Complementary Treatments';
        this[i].value = '1351017';
        this[i].perm = hasPerm(1351017, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['9381007'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Off-Topic';
        this[i].value = '2451017';
        this[i].perm = hasPerm(2451017, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['9381007'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Administrative Information';
        this[i].value = '3481007';
        this[i].perm = hasPerm(3481007, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['9381007'] = true; }; 
        i++;
        
        this.length = i;
        this.siteid = '1611041';
        this.servleturl = 'http://forums.healthcentral.com/discussion/chronic-pain/forums';
    }

// END FORUM MODULES

// BEGIN CHAT MODULES
  
  
    registeredModule['6611041'] = new Object();
    registeredModule['6611041'].type = 'chime';
    registeredModule['6611041'].baseurl =  'http://forums.healthcentral.com/discussion/chronic-pain/chat' ;
       
    registeredModule['6611041'].popup_height = '500';
    registeredModule['6611041'].popup_width = '600';
    registeredModule['6611041'].createDataObj = function chime6611041(){
        var i=0;
      
    
        this.length = i;
        this.siteid = "1611041";
        this.servleturl = "http://forums.healthcentral.com/discussion/chronic-pain/chat";
    }

// END CHAT MODULES

registeredModulesLoaded = true;

