/* ------------------------------------------------------------------------ */
/*    Copyright (c) 2002  SUMBERA                                           */
/*                                                                          */
/*    FILE : MTMCFG.js                                                      */
/*                                                                          */
/*    PURPOSE :                                                             */
/*    1. PARAMETERS FOR MENU TREE                                           */
/*    2. Start up menu                                                      */
/*                                                                          */
/*    PART OF COMPONENT : FOREST WEB SITE                                   */
/*                                                                          */
/*                                                                          */
/*    CREATED BY  : Stano Sumbera	   DATE : 16.08.2002	TIME 16.00 CET  */
/*    MODIFIED BY :                    DATE :							    */
/*    GOAL		  :                                                         */
/*                                                                          */
/* ------------------------------------------------------------------------ */

//var MenuLDFPath = "file.php?soubor=";         // base part to load menu

MTMenuImageDirectory = "/images/menu/";        // Directory of menu images/icons from the root of frame
MTMDefaultTarget     = "text";
MTMTableWidth        = "100%";                 // Menu table width, either a pixel-value (number) or a percentage value.
MTMenuFrame          = "menu";                 // Name of the frame where the menu is to appear.

MTMSubsGetPlus       = "Always";
MTMEmulateWE         = false;        


// Variables for controlling colors in the menu document. Regular BODY atttributes as in HTML documents.
MTMBGColor          = "#4A637B";
MTMBackground       = "";
MTMTextColor        = "white";

MTMLinkColor        = "white";                     // color for all menu items
MTMAhoverColor      = "#FFFFFF";             // Hover color, when the mouse is over a menu link
//MTMAhoverOther      = "background : transparent; border-top : 1px solid #FFFFFF;";
//MTMExtraCSS.addRule('a:tracked', 'background :  #4A637B; color:#FFFFFF;');
//MTMExtraCSS.addRule('a:tracked',  ' background-image: url('+MTMenuImageDirectory+'menu_tr.gif);background-repeat:no-repeat');

MTMTrackColor       =  "#FFFFFF"
//MTMTrackOther       ="background :  #4A637B; border-top : 1px solid #FFFFFF;";

MTMSubExpandColor ="";
MTMSubExpandOther ="";
MTMSubClosedColor ="";
MTMSubClosedOther ="";


// All options regarding the root text and it's icon
MTMRootStyle    = "style='position : absolute; top:0; left :0'";
MTMRootIcon     = "menu_bar.gif";
MTMenuText      = "";
MTMRootColor    = "white";
MTMRootFont     = "Verdana, Helvetica, sans-serif";
MTMRootCSSize   = "75%";
MTMRootFontSize = "18";

// Font for menu items.
MTMenuFont = "Imapct, Helvetica, sans-serif";
MTMenuCSSize = "60%";

MTMuseScrollbarCSS    = true;
MTMscrollbarBaseColor = "#E5E5E5";
// Variables for style sheet usage
// 'true' means use a linked style sheet.

MTMLinkedSS = false;


// Additional style sheet properties if you're not using a linked style sheet.
// See the documentation for details on IDs, classes & elements used in the menu.
// Empty string if not used.


// Header & footer, these are plain HTML.
// Leave them to be "" if you're not using them
MTMHeader = "";
MTMFooter = "";

// Whether you want an open sub-menu to close automagically
// when another sub-menu is opened.  'true' means auto-close
MTMSubsAutoClose = true;

// This variable controls how long it will take for the menu
// to appear if the tracking code in the content frame has
// failed to display the menu. Number if in tenths of a second
// (1/10) so 10 means "wait 1 second".
MTMTimeOut = 0;

// Cookie usage.  First is use cookie (yes/no, true/false).
// Second is cookie name to use.
// Third is how many days we want the cookie to be stored.

MTMUseCookies = false;
MTMCookieName = "LDFMTMCookie";
MTMCookieDays = 3;

MTMUseToolTips = true;
// Options for controlling the menu document
MTMcontentType = "text/html; charset=iso-8859-2";

// URL for a linked JavaScript file (.js), this URL is relative
// to the directory where code.html is located
//MTMLinkedJSURL = "right-click.js";
//MTMLinkedInitFunction = "initialize";

/******************************************************************************
* User-configurable list of icons.                                            *
******************************************************************************/

var MTMIconList = null;
MTMIconList = new IconList();
MTMIconList.addIcon(new MTMIcon("menu_link_external.gif", "http://", "pre"));
MTMIconList.addIcon(new MTMIcon("menu_link_pdf.gif", ".pdf", "post"));


// Main menu def.
var menu = null;
menu = new MTMenu();
