var pathPrefix=""; // Path prefix for item links and images.
var saveNavigationPath = 1; // 0 - disable items highlight; 1 - items highlight during menu navigation. Default is 1.

var topDX = 0; // 1st level Submenu X offset.
var topDY = 0; // 1st level Submenu Y offset.
var DX = 0;   // Submenu X offset.
var DY = 0;    //Submenu Y offset.

var absolutePos = 0; //0-relative position, 1-absolute position
var posX = 190; //X coordinate of top-left menu corner, if absolutePos = 1; //
var posY = 160; //Y coordinate of top-left menu corner, if absolutePos = 1; //

var blankImage = "img/blank.gif"; //path to blank image
var isHorizontal = 1; //0-vertical, 1-horizontal
var menuWidth = "100%"; //width of top-level menu (% or px), if "" fits to largest item

var floatable = 0; //if 1 the menu "floats" on window scrolling staying always visible
var floatIterations = 8; //defines speed of floating

var movable = 0; //if 1 you can drag the menu by using top spacer
var moveCursor = "move"; //cursor type when you mouseover the drag spacer
var moveImage=""; //image of the drag spacer
var moveWidth = 12; //width of drag spacer
var moveHeight = 24; //height of drag spacer

var fontStyle="normal 8pt Verdana";
var fontColor=["#000000","#000000"]; //
var fontDecoration=["none","none"]; // normal and mouseover font color decoration
                                    // ("none", "underline", "line-through", "overline")

var itemBackColor=["#ECE9D8","#ECE9D8"]; //normal and mouseover color of item background
var itemBorderWidth=0; //item border width
var itemAlign="left"; //alignment of item text
var itemBorderColor=["#FFFFFF","#316AC5"]; //normal and mouseover border color
var itemBorderStyle=["solid","solid"]; //normal and mouseover border style ("none","solid","double","dotted","dashed","groove", "ridge")
var itemBackImage=["",""]; //normal and mouseover background image
var itemSpacing=1; //item spacing
var itemPadding=2; //item padding
var itemCursor="default"; //mouseover cursor ("hand", "default", "move"...)
var itemTarget="_self"; //default target for all items ("_self","_blank","_parent",
                         // "_top"...), if "" target is "_self"

var iconWidth = 16; //submenu item icon width
var iconHeight = 16; //submenu item icon height
var iconTopWidth = 16; //icon width of top-level menu items
var iconTopHeight = 16; //icon height of top-level menu items

var menuBackImage=""; //menu background image
var menuBackColor="#ECE9D8"; //menu background color
var menuBorderColor="#AAAAAA"; //menu border color
var menuBorderStyle="solid"; //menu border style ("none","solid","double","dotted","dashed","groove", "ridge")
var menuBorderWidth=1; //menu border width
var subMenuAlign = "left"; //alignment of submenu item text

var transparency=100; //transparency in %
// 25: Blinds
//     var transOptions= "bands=number, direction=up/down/left/right";
//
// 26: Checkerboard
//     var transOptions= "direction=up/down/left/right, SquaresX=number, SquaresY=number";
//
// 27: GradientWipe
//     var transOptions= "gradientSize=[0..1], wipestyle=0/1, motion=forward/reverse";
//
// 28: Inset
//     This transition doesn't have options.
//
// 29: Iris
//     var transOptions= "irisstyle=diamond/circle/cross/plus/aquare/star, motion=in/out";
//
// 30: Pixelate
//     var transOptions= "maxSquare=number";
//
// 31: RadialWipe
//     var transOptions= "wipestyle=clock/wedge/radial";
//
// 32: RandomBars
//     var transOptions= "orientation=horizontal/vertical";
//
// 33: RandomDissolve
//     This transition doesn't have options.
//
// 34: Slide
//     var transOptions= "slidestyle=hide/push/swap, bands=number";
//
// 35: Spiral
//     var transOptions= "gridSizeX=number, gridSizeY=number";
//
// 36: Stretch
//     var transOptions= "stretchstyle=hide/push/spin";
//
// 37: Strips
//     var transOptions= "motion=leftdown/leftup/rightup/rightdown";
//
// 38: Wheel
// 	    var transOptions= "spokes=number";
//
// 39: Zigzag
//     var transOptions= "gridSizeX=number, gridSizeY=number";
var transition=19; //transition visual effect number (0-39)  5
var transOptions="options"; //for more details click here.
var transDuration=350; //visual effect delay in ms
var shadowColor="#CCCCCC"; //shadow color
var shadowLen=2; //shadow length in px
var shadowTop=1; //disable/enable shadow for top menu. Default is 1.

var arrowImageMain=["img/xparrow1.gif","img/xparrow1.gif"]; // normal and mouseover arrow images for top-level menu
var arrowImageSub=["img/xparrow1.gif","img/xparrow1.gif"]; //normal and mouseover arrow images for all submenus
var arrowWidth =2; //arrow width
var arrowHeight=2; //arrow height

var separatorImage="img/separ1.gif"; //separator image
var separatorWidth="100%"; //separator width
var separatorHeight=1; //separator height
var separatorAlignment="center"; //separator alignment
var separatorVImage="img/separv1.gif"; //vertical separator image
var separatorVWidth=5; //vertical separator width
var separatorVHeight=16; //vertical separator height

var statusString="text"; //status string, "link" shows item links, "text" shows item label text, with other strings shows this string

var pressedItem=-2; //Defines an item that will appear in the highlighted state (-2 - normal mode, -1 - toggle mode is active, but highlighted item not defined, 0,1,2,3,... - # of pressed item including separators)

// *******************************************************************************************************
// var itemStyles =
// [
//     ["fontStyle=normal 9pt Tahoma","fontColor=#000000,#9999ff"],
//     ["itemBackImage=img/iconback3.gif,img/iconback4.gif"],
// ];
// var menuStyles =
// [
//     ["menuBackColor=#ffffff","menuBorderStyle=dotted"],
// ];
//

var itemStyles =
[
  ["itemBackColor=#ECE9D8,#bbccee", "itemBorderWidth=1","itemBorderColor=#ECE9D8,#316AC5"], //ECE9D8
  ["itemBackColor=#FFFFFF,#bbccee", "itemBorderWidth=1","itemBorderColor=#FFFFFF,#316AC5"],
  ["itemBackColor=#ECE9D8,#ECE9D8", "itemBorderWidth=1","itemBorderColor=#ECE9D8,#ECE9D8"], // labels in top menu items
  ["itemBackColor=#FFFFFF,#FFFFFF", "itemBorderWidth=1","itemBorderColor=#FFFFFF,#FFFFFF"]  // labels in sub menu items
];

var menuStyles =
[
  ["menuBorderWidth=1","menuBackColor=#ffffff"]
];

// [item_label, item_link, normal_icon, mouseover_icon, tooltip, item_target, item_style, menu_style]
//     ["Home","testlink.html","icon.gif","iconover.gif","Home Tip",,"1"],
//     ["|Our Products","testlink.html","icon1.gif","icon2.gif","Our Products Tip","_blank",,"0"],
// * item_label:
//    separator is"-";
//    sub item text starts with "|" symbol;
// * item_target
//    if "_" the item is inactive/disabled
// * item_style and menu_style
//    you can use individual styles for items or whole submenu. item_style and menu_style are the
//    indexes of required style within style arrays, defined in itemStyles and menuStyles variables,

var menuItems =
[
//  [item_label,                   item_link,           normal_icon,mouseover_icon,      tooltip,item_target,item_style, menu_style]
    ["Home",                       "default.asp",       "img/bhome.gif","",            "",     "",         "0",""],
    ["-"],
    ["About VOICE",                "aboutus.asp",       "img/b02.gif","",                           "",     "",         "0",""],
    ["-"],
    ["Join VOICE!",                "membership.asp",    "img/new4-098.gif","",                           "",     "",         "0",""],
    ["-"],
    ["Make a Donation",            "https://www.voicefordeafkids.com/pledge_form.asp",    "img/mail3.gif","",                           "",     "",         "0",""],
    ["-"],
    ["Contact Us",                 "contact.asp",       "img/info.gif","",           "",     "",         "0",""],
];

apy_init();
//     ["|You can place <b>any HTML code</b><br> to item, for example <u>image</u>:<br><img src=img/logo.gif>","testlink.html",,,,,,"0"],
//    ["Javascript calls","","img/contact_card.gif","",,,"0"],
//     ["|Click to call<br>message box","javascript:alert('Hello world!')","","",,,,"0"],
//     ["|Click to call<br>confirmation<br>dialog","javascript:confirm('Do you want to confirm?')"],
//     ["|Open 'Testlink'<br>page in 680x600<br>window","javascript:open('testlink.html','_blank','scrollbars,width=680,height=600')"],
//    ["Contact Us","mailto:support@apycom.com","img/mail_bubble.gif","","Contact Us Tip",,"0"]


