
// directory of where all the images are
var cmTemaAulaLibreBase = 'squelettes/aula_libre/inc/inc-jscookmenu/imagenes-menu/';

// the follow block allows user to re-define theme base directory
// before it is loaded.
try
{
    if (myTemaAulaLibreBase)
    {
        cmTemaAulaLibreBase = myTemaAulaLibreBase;
    }
}
catch (e)
{
}

var cmTemaAulaLibre =
{
    prefix: 'TemaAulaLibre',
    // main menu display attributes
    //
    // Note.  When the menu bar is horizontal,
    // mainFolderLeft and mainFolderRight are
    // put in <span></span>.  When the menu
    // bar is vertical, they would be put in
    // a separate TD cell.

    // HTML code to the left of the folder item
    mainFolderLeft: '<img alt="" src="' + cmTemaAulaLibreBase + 'blank.gif" />',
    // HTML code to the right of the folder item
    mainFolderRight: '<img alt="" src="' + cmTemaAulaLibreBase + 'arrow.gif" />',
    // HTML code to the left of the regular item
    mainItemLeft: '<img alt="" src="' + cmTemaAulaLibreBase + 'blank.gif" />',
    // HTML code to the right of the regular item
    mainItemRight: '<img alt="" src="' + cmTemaAulaLibreBase + 'blank.gif" />',

    // sub menu display attributes

    // HTML code to the left of the folder item
    folderLeft: '<img alt="" src="' + cmTemaAulaLibreBase + 'blank.gif" />',
    // HTML code to the right of the folder item
    folderRight: '<img alt="" src="' + cmTemaAulaLibreBase + 'arrow.gif"/>',
    // HTML code to the left of the regular item
    itemLeft: '<img alt="" src="' + cmTemaAulaLibreBase + 'blank.gif" />',
    // HTML code to the right of the regular item
    itemRight: '<img alt="" src="' + cmTemaAulaLibreBase + 'blank.gif" />',
    // cell spacing for main menu
    mainSpacing: 0,
    // cell spacing for sub menus
    subSpacing: 0,

    subMenuHeader: '<div class="TemaAulaLibreSubMenuShadow"></div><div class="TemaAulaLibreSubMenuBorder">',
    subMenuFooter: '</div>',

    // move the first lvl of vbr submenu up a bit
    offsetVMainAdjust:  [0, -2],
    // also for the other lvls
    offsetSubAdjust:    [0, -2]

    // rest use default settings
};

// for sub menu horizontal split
var cmTemaAulaLibreHSplit = [_cmNoClick, '<td colspan="3" class="TemaAulaLibreMenuSplit"><div class="TemaAulaLibreMenuSplit"></div></td>'];
// for vertical main menu horizontal split
var cmTemaAulaLibreMainHSplit = [_cmNoClick, '<td colspan="3" class="TemaAulaLibreMenuSplit"><div class="TemaAulaLibreMenuSplit"></div></td>'];
// for horizontal main menu vertical split
var cmTemaAulaLibreMainVSplit = [_cmNoClick, '|'];

/* IE can't do negative margin on tables */
/*@cc_on
    cmTemaAulaLibre.subMenuHeader = '<div class="TemaAulaLibreSubMenuShadow" style="background-color: #aaaaaa;filter: alpha(opacity=50);"></div><div class="TemaAulaLibreSubMenuBorder">';
@*/
