// JavaScript Document
$(document).ready(function(){
    /*
     * This is to make the height for the cover, because the text which should be covers is dynamic, so the height can be dynamic,
     * also the cover div can not the open at the begining of the text and closed at the end of the content, because of its opacity which affect the text colour inside
     */
    $("[id='cover']").each(function(){
        $(this).css({
            height: $(this).parent().height(),
            width: $(this).parent().width()
        });
    });
    
    if (window.desableWysiwygAddMedia) 
        desableWysiwygAddMedia();
    
    if (window.notImplemented) 
        notImplemented();
});
