YAHOO.namespace('CMS');

(function() {
	
	var jsPath = 'js/';

	YAHOO.CMS.addModulesToLoader = function(loader) {
		
        loader.addModule({
            name: 'CMS.components.structure.AdminModule',
            type: 'js',
            requires: ['POTISCOM.cms.components.structure.AdminModule'],
            fullpath: jsPath+'components/structure/AdminModule.js'
        });

        loader.addModule({
            name: 'CMS.components.richtexteditor.plugins.ImagePlugin',
            type: 'js',
            requires: ['POTISCOM.components.richtexteditor.plugins.SimpleImagePlugin'],
            fullpath: jsPath+'components/richtexteditor/plugins/ImagePlugin.js'
        });

	};
	
})();

