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

// BEGIN FORUM MODULES
  
  
    registeredModule['6711011'] = new Object();
    registeredModule['6711011'].type = 'ubbx';
    registeredModule['6711011'].baseurl = 'http://forums.healthcentral.com/discussion/depression/forums' ;
    
    categoryViewPerm = new Object();// used to calculate cat view perm based on forum perms within it
    
    registeredModule['6711011'].createDataObj = function ubbx6711011() {
        var i=0;
   
        this[i] = new Object();
        this[i].text = 'Depression Connections';
        this[i].value = 'c_2531011';
        categoryViewPerm['2531011'] = false;
        i++;
        
        this[i] = new Object();
        this[i].text = 'Recommend a Doctor/Hospital';
        this[i].value = '4531011';
        this[i].perm = hasPerm(4531011, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['2531011'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Questions and Answers';
        this[i].value = '4631011';
        this[i].perm = hasPerm(4631011, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['2531011'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Community Connection';
        this[i].value = '3981011';
        this[i].perm = hasPerm(3981011, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['2531011'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'General Discussion';
        this[i].value = '86910491';
        this[i].perm = hasPerm(86910491, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['2531011'] = true; }; 
        i++;
        
        this[i] = new Object();
        this[i].text = 'Depression Must-Reads';
        this[i].value = '7391011';
        this[i].perm = hasPerm(7391011, ubbxfrm.vfrm);
        if(this[i].perm) { categoryViewPerm['2531011'] = true; }; 
        i++;
        
        this.length = i;
        this.siteid = '3711011';
        this.servleturl = 'http://forums.healthcentral.com/discussion/depression/forums';
    }

// END FORUM MODULES

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

// END CHAT MODULES

registeredModulesLoaded = true;

