/*
 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
menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}

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
,                 // 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=81 src=gif/navhome.gif>","show-menu=home","index.php swapimage=gif/navhomej.gif","",0 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"<img border=0 height=19 width=106 src=gif/navraceinfo.gif>","show-menu=raceinfo","# swapimage=gif/navraceinfoj.gif","",0
,"<img border=0 height=19 width=128 src=gif/navregistration.gif>","show-menu=registration","# swapimage=gif/navregistrationj.gif","",0
,"<img border=0 height=19 width=144 src=gif/navspecialevents.gif>","show-menu=specialevents","# swapimage=gif/navspecialeventsj.gif","",0
,"<img border=0 height=19 width=94 src=gif/navresults.gif>","show-menu=results","# swapimage=gif/navresultsj.gif","",0
,"<img border=0 height=19 width=99 src=gif/navtraining.gif>","show-menu=training","# swapimage=gif/navtrainingj.gif","",0
,"<img border=0 height=19 width=112 src=gif/navsponsors.gif>","show-menu=sponsors","# swapimage=gif/navsponsorsj.gif","",0
])

    addmenu(menu=["home",,,135,1,,style2,0,"left",,,,,,,,,,,,,
    ,"Home Page","index.php",,,1
    ,"Welcome","welcome.php",,,1
    ,"Contact Information","contact.php",,,1
//    ,"New Website","website.php",,,1
    ])

    addmenu(menu=["raceinfo",,,170,1,,style2,0,"left",,,,,,,,,,,,,
    ,"Frequently Asked Questions","faq.php",,,1
    ,"Racing Events","races.php",,,1
//    ,"Start Times","#",,,1
    ,"Course Maps","maps.php",,,1
    ,"Course Descriptions","descriptions.php",,,1
    ,"Course Information","course.php",,,1
    ,"THRIFTY FOODS Kids Run","kidsruns.php",,,1
    ,"Race Package Pickup","expo.php#pickup",,,1
    ,"Medals & Awards","awards.php",,,1
    ,"Souvenir Apparel","apparel.php",,,1
//    ,"Medical Information","course.php",,,1
//    ,"Awards & Prizes","#",,,1
    ,"Wheelchairs","wheelchair.php",,,1
    ,"Early Start","earlyrules.php",,,1
//    ,"Race Week Activities","#",,,1
//    ,"Race Day Details","#",,,1
//    ,"After You Finish","#",,,1
//    ,"Race History","#",,,1
    ])

    addmenu(menu=["registration",,,135,1,,style2,0,"left",,,,,,,,,,,,,
//    ,"Entry Fees","fees.php",,,1
    ,"Register and Confirm","register.php",,,1
    ,"PRINT an Entry Form","RVMEntry.pdf",,,1
    ,"Full 2007 Brochure","RVMFullBrochure2007.pdf",,,1
//    ,"Edit Registration","registerlogin.php",,,1
//    ,"Confirmation List","confirm.php",,,1
    ,"Race Package Pickup","expo.php#pickup",,,1
    ,"Race Shirts","shirts.php",,,1
//    ,"Deadlines","#",,,1
    ,"Elite Athletes","elite.php",,,1
//    ,"Training Teams","teams.php",,,1
    ])

    addmenu(menu=["results",,,130,1,,style2,0,"left",,,,,,,,,,,,,
    ,"Race Results","results.php",,,1
//    ,"Race Records","#",,,1
//    ,"Statistics","#",,,1
    ,"Timing Information","timing.php",,,1
    ])

    addmenu(menu=["specialevents",,,120,1,,style2,0,"left",,,,,,,,,,,,,
//    ,"Awards Presentation","#",,,1
//    ,"Online Store","#",,,1
    ,"Victoria Marathon Race Expo","expo.php",,,1
    ,"Carbo Gala Dinner","carbo.php",,,1
    ,"Race Weekend","raceweekend.php",,,1
//    ,"Featured Guests","show-menu=speakers","#",,1
//    ,"Entertainment","#",,,1
//    ,"Breakfast/Dinner","#",,,1
//    ,"Press Opportunities","#",,,1
    ,"Race Photographs","photos.php",,,1
//    ,"Flowers","#",,,1
    ,"Souvenir Sales","apparel.php",,,1
//    ,"Course Tours","#",,,1
//    ,"Online Auction","auction.php",,,1
    ])

    addmenu(menu=["speakers",,,100,1,,style2,0,"left",,,,,,,,,,,,,
    ,"Jon Brown","jonbrown.php",,,1
    ,"Peter Butler","peterbutler.php",,,1
    ,"Bruce Deacon","brucedeacon.php",,,1
    ,"Dan Cumming","dancumming.php",,,1
    ,"John Hill","johnhill.php",,,1
    ,"Lynn Kanuka","lynnkanuka.php",,,1
    ,"Steve King","steveking.php",,,1
    ,"Carey Nelson","careynelson.php",,,1
    ,"Leah Pells","pells.php",,,1
    ,"Cindy Rhodes","cindyrhodes.php",,,1
    ,"Lucy Smith","lucy.php",,,1
    ])

    addmenu(menu=["training",,,122,1,,style2,0,"left",,,,,,,,,,,,,
    ,"Training Programs","show-menu=programs","trainingplans.php",,1
//    ,"Training Clinics","#",,,1
//    ,"Running Routes","#",,,1
//    ,"Preparation","#",,,1
//    ,"Nutrition","#",,,1
    ,"Training Tips","trainingtips.php",,,1
    ,"Pace Calculator","calculator.php",,,1
    ])

    addmenu(menu=["programs",,,220,1,,style2,0,"left",,,,,,,,,,,,,
    ,"Boston Marathon Qualifier","trainingboston.php",,,1
    ,"Marathon Quest for Improvement","trainingquest.php",,,1
    ,"Marathon First Timers","trainingfirst.php",,,1
    ,"Half Marathon Personal Best","traininghalfpr.php",,,1
    ,"Half Marathon Go The Distance","traininghalfgtd.php",,,1
    ,"Half Marathon Just In Time","traininghalfshort.php",,,1
    ])

    addmenu(menu=["sponsors",,,115,1,,style2,0,"left",,,,,,,,,,,,,
    ,"Current Sponsors","sponsors.php",,,1
    ,"Souvenir Apparel","apparel.php",,,1
//    ,"Promotional Package","#",,,1
//    ,"Special Offers","#",,,1
//    ,"Opportunities","#",,,1
//    ,"Media","#",,,1
//    ,"Expo Booths","#",,,1
    ])

dumpmenus()
