//-- Keyboard Support
var keystrokes = 1;
var dm_actKey  = 113;
var dm_focus   = 1;

var dm_writeAll=1;

//-- Delays
var smShowPause = 200;
var smHidePause = 1000;
//-- for new version
var smHideOnClick = 0; 

//-- Submenus appearance
var smViewType = 0;
var smColumns = 1;
var smWidth   = 0;
var smHeight  = 0;

// -- CSS Support
var cssStyle     = 1;
var cssSubmenu   = 'topMenu';	// Dmenu
var cssClass     = 'topMenu';	// Apymenu
var cssItem      = ['',''];
var cssItemText  = ['',''];

//-- Common
var smOrientation = 0;
var noWrap = 1;
var isHorizontal = 1;
var saveNavigationPath = 1;
var showByClick = 0;
var pressedItem = -1;
var blankImage = portalStylesLocation + "images/arrow_unselected.gif";
var statusString = "link";

var pathPrefix_link  = "";
var pathPrefix_img   = ""
//--for new version
var dmRTL = 0;


//-- Menu
var menuWidth = "100%";
var menuBorderWidth = 0;
var menuBorderStyle = "";
var menuBackImage = portalStylesLocation + "images/menu_bar.gif";
//-- added for new version of delux menu
var menuBackRepeat = "no-repeat"; 
var menuHeight = "100%"; 

//-- Menu Positioning
var absolutePos = 0;
var posX = 0;
var posY = 0;

//-- Floatable
var floatable = 0;
var floatIterations = 6;
var floatableX=1;
var floatableY=1;

//-- Movable
var movable = 0;
var smMovable = 0;
var moveWidth = 12;
var moveHeight = 20;
var moveCursor = "default";
var moveImage = "";
var moveColor = "#AAAAAA";

//-- Submenus Positioning
var topDX = 0;
var topDY = 0;
var DX = 0;
var DY = 0;

//-- Font
var fontStyle = "normal 12px Trebuchet MS, Tahoma, Arial, Helvetica";
var fontColor = ["#5B5B5B","#000000"];
var fontDecoration = ["none","none"];
var fontColorDisabled = "#AAAAAA";

//-- Items
var itemBorderWidth = 0;
var itemBorderStyle = ["solid","solid"];
var itemBackImage = ["",""];
var itemAlign = "";
var subMenuAlign = "";
var itemSpacing = 0;
var itemPadding = "";
var itemCursor = "pointer";
var itemTarget = "_self";
//-- for new version
var itemAlignTop = ""; 

//-- Colors
var menuBackColor = "444444";
var menuBorderColor = "#AAAAAA";
var itemBackColor   = ["#FFFFFF","#EEEEEE"];
var itemBorderColor = ["#FFFFFF","#AEAEAE"];

//-- Icons
var iconTopWidth = 0;
var iconTopHeight = 0;
var iconWidth = 0;
var iconHeight = 0;
var arrowImageMain = ["",""];
var arrowImageSub=[portalStylesLocation + "images/arrow_unselected.gif", portalStylesLocation + "images/arrow_selected.gif"];
var arrowWidth=10;
var arrowHeight=12;

//-- Separators
var separatorWidth = "100%";
var separatorHeight = "3";
var separatorAlignment = "left";
var separatorImage = "";
var separatorVWidth="1";
var separatorVHeight="22";
var separatorVImage= portalStylesLocation + "images/nav_divider.gif";

//-- Visual Effects
var transparency = "100";
var transition = 0;
var transDuration = 0;
//var transOptions = "gradientSize=1, wipestyle=1, motion=forward";
var transOptions = "";
var shadowLen = 0;
var shadowTop = 0;
var shadowColor = "#222222";
//-for new version
var transDuration2 = 0; 

//-- added for delux-menu ver 3
var dmObjectsCheck = 0;
var dynamic = 0;  
var dmAJAX = 0;  


var itemStyles = [
   ["CSS=topItemNormal,topItemOver"],
   ["CSS=itemNormal,itemOver"],
];

var menuStyles = [
   ["CSS=submenu"],
   ["CSS=submenu2"],
];

var _fntClr = fontColor;    // remember font color of the site menu
function changeItem(o, f)
{
    o.style.color = _fntClr[f];
}



