// ----------------------------------------------------------------------------
// - intranet                                                                 -
// - ethernix intranet javascript module                                      -
// ----------------------------------------------------------------------------
// - This software is the property of the copyright holder and is distributed -
// - under the term of the 'ethernix end-user license agreement' (EULA). This -
// - software cannot be copied, nor distributed without the express written   -
// - authorisation  of the copyright holder.                                  -
// - In no event, shall the copyright holder  or  its  licensor be liable for -
// - any direct, indirect, incidental or special damages  arising  in any way -
// - out of the use of this software.                                         -
// ----------------------------------------------------------------------------
// - author    (c) 2006-2010 amaury darsch                                    -
// - copyright (c) 2006-2010 ethernix eurl                                    -
// ----------------------------------------------------------------------------

// ----------------------------------------------------------------------------
// - header generation function                                               -
// ----------------------------------------------------------------------------

// the custom header

var EthernixCustomHeader = {
  "https://www.ethernix.com/xht/about.xht" : "about",
  "https://www.ethernix.com/xht/help.xht"  : "help"
};

// create the custom header

function createCustomHeader () {
  createSpecialHeader (EthernixCustomHeader);
}

// ----------------------------------------------------------------------------
// - menu generation function                                                 -
// ----------------------------------------------------------------------------

var EthernixCorporateMenu = {
  "/xht/company.xht" : "Corporate Information",
  "/xht/news.xht"    : "Latest News"
};

var EthernixSupportMenu = {
  "https://www.ethernix.com" : "Secured Portal"
};

var EthernixPublicMenu = {
  "Corporate" : EthernixCorporateMenu,
  "Support"   : EthernixSupportMenu
}

// create the menu bar

function createPageMenuBar () {
  createMenuBar (EthernixPublicMenu);
}
