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 = -20; // 1st level Submenu X offset.
var topDY = -10; // 1st level Submenu Y offset.
var DX = -20;   // Submenu X offset.
var DY = -10;    //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 = 0; //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 10pt Tahoma";  //
var fontColor=["#000000","#000000"]; //
var fontDecoration=["none","none"]; // normal and mouseover font color decoration
                                    // ("none", "underline", "line-through", "overline")

var itemBackColor=["#F1F1F1","#4792E6"]; //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=0; //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=0; //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=150; //visual effect delay in ms
var shadowColor="#CCCCCC"; //shadow color
var shadowLen=0; //shadow length in px def 4
var shadowTop=0; //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 =9; //arrow width
var arrowHeight=9; //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/separ1.gif"; //vertical separator image
var separatorVWidth="100%"; //vertical separator width
var separatorVHeight=1; //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 Verdana","fontColor=#000000,#9999ff"],
//     ["itemBackImage=img/iconback3.gif,img/iconback4.gif"],
// ];
// var menuStyles =
// [
//     ["menuBackColor=#ffffff","menuBorderStyle=dotted"],
// ];
//
var itemStyles =
[
  ["itemBackColor=#F1F1F1,#bbccee", "itemBorderWidth=1","itemBorderColor=#F1F1F1,#316AC5"], //ECE9D8
  ["itemBackColor=#FFFFFF,#bbccee", "itemBorderWidth=1","itemBorderColor=#FFFFFF,#316AC5"],
  ["itemBackColor=#F1F1F1,#F1F1F1", "itemBorderWidth=1","itemBorderColor=#F1F1F1,#F1F1F1"], // labels in top menu items
  ["itemBackColor=#FFFFFF,#FFFFFF", "itemBorderWidth=1","itemBorderColor=#FFFFFF,#FFFFFF"]  // labels in sub menu items
];

var menuStyles =
[
  ["menuBorderWidth=1","menuBackColor=#ffffff"]
];
var menuItems =
// [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,

[
//  [item_label,                                      item_link,                   normal_icon,mouseover_icon,      tooltip,item_target,item_style, menu_style]
    ["Home",                                          "default.asp",               "","",                           "",     "",         "0",""],
    ["About VOICE",                                   "",                          "","",                           "",     "",         "0",""],
     ["|Background",                                  "aboutus.asp",               "","",                           "",     "",         "1","0"],
     ["|Accomplishments",                             "accomplishments.asp",          "","",                           "",     "",         "1","0"],
     ["|Meet the Executive Director and view Executive Report",    "http://www.voicefordeafkids.com/PDFs/VOICE_Report_November_2009.pdf",          "","",                           "",     "",         "1","0"],
     ["|Feedback/Contact Us",                         "contact.asp",          "","",                           "",     "",         "1","0"],
    ["Join VOICE",                                    "",                "","",                           "",     "",         "0",""],
     ["|Benefits of Membership",                      "membership.asp",           "","",                           "",     "",         "1","0"],
     ["|Membership Application Form",                 "https://www.voicefordeafkids.com/membership_form.asp",            "","",                           "",     "",         "1","0"],
    ["Donate to VOICE",                               "https://www.voicefordeafkids.com/pledge_form.asp",          "","",                           "",     "",         "0",""],
    ["Parent Support Program",                        "",          "","",                           "",     "",         "0",""],
     ["|Parent to Parent",                            "parentsupport.asp",       "","",                           "",     "",         "1","0"],
     ["|Yahoo Chat Group for Parents",                "http://health.groups.yahoo.com/group/voicefordeafkids",          "","",                           "",     "",         "1","0"],
     ["|Newsletters and Publications",                "publications.asp",          "","",                           "",     "",         "1","0"],
     ["|VOICE Conference",                            "PDFs/VOICE_Conference_2011.pdf",          "","",                           "",     "",         "1","0"],
     ["|VOICE Camp",                                  "PDFs/Camp_Registration_Form.pdf",          "","",                           "",     "",         "1","0"],
     ["|VOICE Library Resources",                      "library.asp",          "","",                           "",     "",         "1","0"],
    ["Public Education Program",                              "",          "","",                           "",     "",         "0",""],
     ["|Public Education",                          "education.asp",       "","",                           "",     "",         "1","0"],
     ["|VOICE Video",                                 "pop_voice_video.asp",          "","",                           "",     "",         "1","0"],
     ["|VOICE Library Resources",                      "library.asp",          "","",                           "",     "",         "1","0"],
     ["|Scholarships",                                 "scholarships.asp",          "","",                           "",     "",         "1","0"],
    ["Advocacy Program",                              "",          "","",                           "",     "",         "0",""],
     ["|Advocacy",                                   "advocacy.asp",       "","",                           "",     "",         "1","0"],
     ["|VOICE Advocating Committees",       "vac.asp",          "","",                           "",     "",         "1","0"],
     ["|Special Education Advisory Committee",       "seac.asp",          "","",                           "",     "",         "1","0"],
     ["|Provincial Parent Association Committee",    "PPAC.asp",       "","",                           "",     "",         "1","0"],
     ["|Minister's Advisory Council on Special Education (MACSE)",                "MACSE.asp",       "","",                           "",     "",         "1","0"],
    ["Auditory-Verbal Therapy",                                  "",          "","",                           "",     "",         "0",""],
     ["|What is AVT?",                              "avt.asp",       "","",                           "",     "",         "1","0"],
     ["|Definition of an AV Treatment Plan",        "avt_plan.asp",          "","",                           "",     "",         "1","0"],
     ["|VOICE'S AVT Program",                       "avt_voice_program.asp",          "","",                           "",     "",         "1","0"],
     ["|AV Therapists",                             "av_therapists.asp",          "","",                           "",     "",         "1","0"],
     ["|VOICE'S Mentorship Program",                "av_mentor.asp",          "","",                           "",     "",         "1","0"],
     ["|For Parents",                                "av_4parents.asp",          "","",                           "",     "",         "1","0"],
    ["Events Calendar",                            "events.asp",          "","",                           "",     "",         "0",""],
    ["Educational Information",                           "",          "","",                           "",     "",         "0",""],
     ["|VOICE Education Goal",                     "ed_info.asp",       "","",                           "",     "",         "1","0"],
     ["|Education Policies",                       "ed_info.asp",          "","",                           "",     "",         "1","0"],
     ["|The Individual Education Plan (IEP)",      "ed_info.asp",          "","",                           "",     "",         "1","0"],
     ["|Publications",                              "",          "","",                           "",     "",         "1","0"],
     ["||Tips for Teachers",                        "PDFs/Teacher_Tips_Services.pdf",          "","",                           "",     "",         "1","0"],
     ["||Tips for Parents",                        "PDFs/Preschool_tips.pdf",          "","",                           "",     "",         "1","0"],
     ["||Managing Noise in the Classroom",         "PDFs/Managing_Noise.pdf",          "","",                           "",     "",         "1","0"],
     ["||Tips for Improving Communication",        "PDFs/Tips_Improving_Com.pdf",          "","",                           "",     "",         "1","0"],
     ["||Accommodations",                          "PDFs/Accommodations.pdf",          "","",                           "",     "",         "1","0"],
     ["||Responsibilities of an Educational Audiologist",        "PDFs/Respon_Ed_Audiologist.pdf",          "","",                           "",     "",         "1","0"],
     ["||Role of the Itinerant Teacher",        "PDFs/Role_of_the_itinerant_teacher.pdf",          "","",                           "",     "",         "1","0"],
	["|Scholarships",                              "scholarships.asp",          "","",                           "",     "",         "1","0"],
    ["Ask a Professional",                                  "",          "","",                           "",     "",         "0",""],
     ["|Ask Dr. Norm",                				"mailto:info@voicefordeafkids.com?Subject=Ask Dr. Norm",       "","",                           "",     "",         "1","0"],
     ["|Ask the VOICE Director of Therapy Services","mailto:info@voicefordeafkids.com?Subject=Ask the VOICE Director of Therapy Services",          "","",                           "",     "",         "1","0"],
     ["|Ask an Audioliogist ",                    "mailto:info@voicefordeafkids.com?Subject=Ask an Audioliogist",          "","",                           "",     "",         "1","0"],
    ["Volunteer Opportunities",                                  "volopp.asp",          "","",                           "",     "",         "0",""],
     ["|You can help by...",                        "volopp.asp",       "","",                           "",     "",         "1","0"],
    ["Kid's Page",                                  "",          "","",                           "",     "",         "0",""],
     ["|Yahoo Chat Group for Teens",                "yahoochat4teens.asp",       "","",                           "",     "",         "1","0"],
     ["|VOICE Camp",                                "PDFs/Camp_Registration_Form.pdf",        "","",                           "",     "",         "1","0"],
     ["|Share Your Stories",                        "shareyourstory.asp",          "","",                           "",     "",         "1","0"],
    ["Resources & Links",                                  "",          "","",                           "",     "",         "0",""],
     ["|Web Links",                                 "resourceindex.asp",          "","",                           "",     "",         "1","0"],
     ["|Index for Resource Handouts",               "resourceindex.asp#ResourceIndex",          "","",                           "",     "",         "1","0"],
     ["|VOICE Library Resources",                      "library.asp",          "","",                           "",     "",         "1","0"],
     ["|Scholarships",                                 "scholarships.asp",          "","",                           "",     "",         "1","0"],
    ["VOICE Chapter News",                                  "",          "","",                           "",     "",         "0",""],
     ["|Calgary",                                  "news_calgary.asp",          "","",                           "",     "",         "1","0"],
     ["|Edmonton",                                 "news_edmonton.asp",          "","",                           "",     "",         "1","0"],
     ["|Kawartha/Durham",                          "news_durham.asp",          "","",                           "",     "",         "1","0"],
     ["|Halton/Hamilton/Niagara & Peel",           "news_halton.asp",          "","",                           "",     "",         "1","0"],
     ["|Kingston & District",                      "news_kingston.asp",          "","",                           "",     "",         "1","0"],
     ["|London",                                   "news_london.asp",          "","",                           "",     "",         "1","0"],
     ["|Montreal",                                 "news_montreal.asp",          "","",                           "",     "",         "1","0"],
     ["|Near North",                               "news_north.asp",          "","",                           "",     "",         "1","0"],
     ["|Newfoundland",                             "news_newfoundland.asp",          "","",                           "",     "",         "1","0"],
     ["|Ottawa",                                   "news_ottawa.asp",          "","",                           "",     "",         "1","0"],
     ["|Sarnia",                                   "news_sarnia.asp",          "","",                           "",     "",         "1","0"],
     ["|Simcoe County",                            "news_simcoe.asp",          "","",                           "",     "",         "1","0"],
     ["|Thunder Bay",                              "news_thunderbay.asp",          "","",                           "",     "",         "1","0"],
     ["|Toronto",                                  "news_toronto.asp",          "","",                           "",     "",         "1","0"],
     ["|Waterloo-Wellington",                      "news_waterloo.asp",          "","",                           "",     "",         "1","0"],
     ["|Windsor & Essex County",                   "news_windsor.asp",          "","",                           "",     "",         "1","0"],
     ["|Winnipeg",                                 "news_winnipeg.asp",          "","",                           "",     "",         "1","0"],
     ["|York Region",                              "news_york.asp",          "","",                           "",     "",         "1","0"],
     ];

apy_init();

