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

// BEGIN FORUM MODULES
  
  
    registeredModule['5361022'] = new Object();
    registeredModule['5361022'].type = 'ubbx';
    registeredModule['5361022'].baseurl = 'http://forums.healthcentral.com/discussion/sleep-disorders/forums' ;
    
    categoryViewPerm = new Object();// used to calculate cat view perm based on forum perms within it
    
    registeredModule['5361022'].createDataObj = function ubbx5361022() {
        var i=0;
   
        this[i] = new Object();
        this[i].text = 'Sleep Connections';
        this[i].value = 'c_1181022';
        categoryViewPerm['1181022'] = false;
        i++;
        
        this[i] = new Object();
        this[i].text = 'Insomnia Connections';
        this[i].value = '3181022';
        this[i].perm = hasPerm(3181022, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['1181022'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Narcolepsy Connections';
        this[i].value = '3281022';
        this[i].perm = hasPerm(3281022, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['1181022'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Sleep Apnea Connections';
        this[i].value = '9141032';
        this[i].perm = hasPerm(9141032, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['1181022'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Questions and Answers';
        this[i].value = '7641032';
        this[i].perm = hasPerm(7641032, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['1181022'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Recommend';
        this[i].value = 'c_5541032';
        categoryViewPerm['5541032'] = false;
        i++;
        
        this[i] = new Object();
        this[i].text = 'Recommend a Product';
        this[i].value = '3341032';
        this[i].perm = hasPerm(3341032, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['5541032'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Recommend a Doctor/Hospital';
        this[i].value = '4441032';
        this[i].perm = hasPerm(4441032, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['5541032'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Best Books';
        this[i].value = '7541032';
        this[i].perm = hasPerm(7541032, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['5541032'] = true; }; 
        i++;
        
        this.length = i;
        this.siteid = '2361022';
        this.servleturl = 'http://forums.healthcentral.com/discussion/sleep-disorders/forums';
    }

// END FORUM MODULES

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

// END CHAT MODULES

registeredModulesLoaded = true;

