/*
 Milonic DHTML Website Navigation Menu - Version 3.4
 Written by Andy Woolley - Copyright 2002 (c) Milonic Solutions Limited. All Rights Reserved.
 Please visit http://www.milonic.co.uk/menu or e-mail menu3@milonic.com for more information.

 The Free use of this menu is only available to Non-Profit, Educational & Personal web sites.
 Commercial and Corporate licenses  are available for use on all other web sites & Intranets.
 All Copyright notices MUST remain in place at ALL times and, please keep us informed of your
 intentions to use the menu and send us your URL.
*/

//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE. If you have more than one menu_array.js file rem out this line in subsequent files

function dumpmenus()
{
    mt="<script language=javascript>";
    for(a=1;a<menus.length;a++)
    {
        mt+=" menu"+a+"=menus["+a+"];"
    }
    mt+="<\/script>";
    _d.write(mt)
}

function MM_openwin(MM_file,MM_height,MM_width)
{
   MM_config=""
   MM_config+="toolbar=no,";
   MM_config+="location=no,"
   MM_config+="directories=no,";
   MM_config+="status=no,"
   MM_config+="menubar=no," //Not on Apple Mac for obvious reasons
   MM_config+="scrollbars=no,"
   MM_config+="resizable=no," //Mac windows are always resizable
   MM_config+="copyhistory=no,"
   MM_config+="width="+MM_width+","
   MM_config+="height="+MM_height
   var MM_win=open(MM_file,"",MM_config);
   MM_win.focus();
}

//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless this file is part of a multi pack.


////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

timegap=400         // The time delay for menus to remain visible
followspeed=5       // Follow Scrolling speed
followrate=40       // Follow Scrolling Rate
suboffset_top=10;   // Sub menu offset Top position
suboffset_left=10;  // Sub menu offset Left position

style1=[                        // style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"white",                        // Mouse Off Font Color
"none",                         // Mouse Off Background Color
"ffcc00",                       // Mouse On Font Color
"none",                         // Mouse On Background Color
,                               // Menu Border Color
10,                             // Font Size in pixels
"normal",                       // Font Style (italic or normal)
"normal",                       // Font Weight (bold or normal)
"Verdana, Arial",               // Font Name
,                               // Menu Item Padding
,                               // Sub Menu Image (Leave this blank if not needed)
,                               // 3D Border & Separator bar
,                               // 3D High Color
,                               // 3D Low Color
,                               // Current Page Item Font Color (leave this blank to disable)
,                               // Current Page Item Background Color (leave this blank to disable)
,                               // Top Bar image (Leave this blank to disable)
,                               // Menu Header Font Color (Leave blank if headers are not needed)
,                               // Menu Header Background Color (Leave blank if headers are not needed)
,                               // Menu Item Separator Color
]

style2=[                // style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"FFFFFF",               // Mouse Off Font Color
"505965",               // Mouse Off Background Color
"FFFFFF",               // Mouse On Font Color
"A12200",               // Mouse On Background Color
"FFFFFF",               // Menu Border Color
10,                     // Font Size in pixels
"normal",               // Font Style (italic or normal)
"normal",               // Font Weight (bold or normal)
"Verdana, Arial",       // Font Name
4,                      // Menu Item Padding
,                       // Sub Menu Image (Leave this blank if not needed)
,                       // 3D Border & Separator bar
"ffcc00",               // 3D High Color
"ffcc00",               // 3D Low Color
,                       // Current Page Item Font Color (leave this blank to disable)
,                       // Current Page Item Background Color (leave this blank to disable)
,                       // Top Bar image (Leave this blank to disable)
,                       // Menu Header Font Color (Leave blank if headers are not needed)
,                       // Menu Header Background Color (Leave blank if headers are not needed)
,                       // Menu Item Separator Color
]


addmenu(menu=[
"mainmenu",         // Menu Name - This is needed in order for the menu to be called
143,                 // Menu Top - The Top position of the menu in pixels
,                   // Menu Left - The Left position of the menu in pixels
,                   // Menu Width - Menus width in pixels
0,                  // Menu Border Width
"center",           // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1,             // Properties Array - this is set higher up, as above
1,                  // Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"center",             // Alignment - sets the menu elements text alignment, values valid here are: left, right or center
,                   // Filter - Text variable for setting transitional effects on menu activation - see above for more info
,                   // Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
1,                  // Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
,                   // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,                   // Position of TOP sub image left:center:right
,                   // Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,                   // Right To Left - Used in Hebrew for example. (1=on/0=off)
,                   // Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,                   // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                   // Background image for menu when BGColor set to transparent.
,                   // Scrollable Menu
,                   // Reserved for future use
,"<img border=0 height=19 width=441 src=gif/navbit.gif>","#","","",0 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"<img border=0 height=19 width=90 src=gif/navtravel.gif>","show-menu=travel","# swapimage=gif/navtravelj.gif","",0
//,"<img border=0 height=19 width=120 src=gif/navcommunity.gif>","show-menu=community","# swapimage=gif/navcommunityj.gif","",0
,"<img border=0 height=19 width=124 src=gif/navvolunteers.gif>","show-menu=volunteers","# swapimage=gif/navvolunteersj.gif","",0
,"<img border=0 height=19 width=109 src=gif/navcharities.gif>","show-menu=charities","# swapimage=gif/navcharitiesj.gif","",0
])

    addmenu(menu=["travel",,,120,1,,style2,0,"left",,,,,,,,,,,,,
    ,"Partner Hotels","hotels.php",,,1
    ,"Getting Here","transportation.php",,,1
//    ,"Alberta","#",,,1
//    ,"Washington/Oregon","#",,,1
//    ,"Discover Victoria","#",,,1
//    ,"Bring the Family","#",,,1
    ,"Weekend Weather","weather.php",,,1
//    ,"Exchange Rates","#",,,1
    ])

//    addmenu(menu=["community",,,135,1,,style2,0,"left",,,,,,,,,,,,,
//    ,"Transit","#",,,1
//    ,"Media","#",,,1
//    ,"Fitness For Everyone","#",,,1
//    ,"Cheering Stations","#",,,1
//    ,"Road Closures","#",,,1
//    ,"Entertainment","#",,,1
//    ,"Viewing Areas","#",,,1
//    ,"Featured Athletes","#",,,1
//    ,"Discover Oak Bay","#",,,1
//    ])

    addmenu(menu=["volunteers",,,125,1,,style2,0,"left",,,,,,,,,,,,,
    ,"Volunteer Positions","volunteer.php",,,1
    ,"Online Volunteer Application","volunteer_application.php",,,1
//    ,"Volunteer Perks","#",,,1
//    ,"Sign Up Online","#",,,1
    ])

    addmenu(menu=["charities",,,150,1,,style2,0,"left",,,,,,,,,,,,,
    ,"Official Charities","charities.php",,,1
    ,"Charity Pledge Program","charitypledge.php",,,1
//    ,"Pledge Collection Form","charitypledgeform.php",,,1
//    ,"Pledge Instruction Page","charitypledgeinstructions.php",,,1
//    ,"Our Mission","#",,,1
//    ,"Previous Contributions","#",,,1
    ])

dumpmenus()