aplosJavascript.listener = function( component ) {
	if(component === 'ckEditorHelper') {
		ckEditorHelper.addProjectCkEditorStyles = function() {
			if( CKEDITOR.stylesSet.registered[ 'my_styles' ] == null ) {
				CKEDITOR.stylesSet.add( 'my_styles',
				[
				    // Block-level styles
				    { name : 'Main Title' , element : 'h3', styles : { 'font-family' : 'Verdana, Geneva, Arial, helvetica, sans-serif', "font-size" : "18px", "color" : "red", "font-weight" : "normal", "font-style" : "normal" } },
				 
				    // Inline styles
				    { name : 'Normal text', element : 'span', styles : { 'font-family' : 'Verdana, Geneva, Arial, helvetica, sans-serif', "font-size" : "12px", "color" : "black", "font-weight" : "normal", "font-style" : "normal"  } },
				    { name : 'Bold normal text', element : 'span', styles : { 'font-family' : 'Verdana, Geneva, Arial, helvetica, sans-serif', "font-size" : "12px", "color" : "black", "font-weight" : "bold", "font-style" : "normal"  } },
				    { name : 'Italic normal text', element : 'span', styles : { 'font-family' : 'Verdana, Geneva, Arial, helvetica, sans-serif', "font-size" : "12px", "color" : "black", "font-weight" : "normal", "font-style" : "italic"  } }
				]);
			}
			
			CKEDITOR.config.stylesSet = 'my_styles';
		}
	}
}
