/* Milonic DHTML Menu
Written by Andy Woolley
Copyright 2002 (c) Milonic Solutions. All Rights Reserved.
Please visit http://www.milonic.co.uk/menu or e-mail menu3@milonic.com */
//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE.
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)}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless you have more than one _array.js file
// Editable properties START here 
timegap=250                  // The time delay for menus to remain visible before disappearing after a mouse out
followspeed=5                 // Follow Scrolling speed
followrate=40                // Follow Scrolling Rate
suboffset_top=0              // Sub menu offset Top position
suboffset_left=-6             // Sub menu offset Left position
PlainStyle=[                  	// PlainStyle is an array of properties. You can have as many property arrays as you need
"000000",                       	// Mouse Off Font Color
"white",                     		// Mouse Off Background Color (use zero for transparent in Netscape 6)
"CCFFFF",                     		// Mouse On Font Color
"336699",                     		// Mouse On Background Color
"FFFFFF",                     		// Menu Border Color
"10",                         		// Font Size (default is px but you can specify mm, pt or a percentage)
"normal",                     		// Font Style (italic or normal)
"normal",                       	// Font Weight (bold or normal)
"verdana,helvetica",			// Font Name
2,                            			// Menu Item Padding or spacing
"http://library.rit.edu/scripts/arrow.gif",			// Sub Menu Image (Leave this blank if not needed)
0,                            			// 3D Border & Separator bar
"ffff00",                     		// 3D High Color
"ccffff",                     			// 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)
"66CCCC",                     		// Menu Item Separator Color
]
MenuStyle=[                  // PlainStyle is an array of properties. You can have as many property arrays as you need
"Black",                       // Mouse Off Font Color
"CCCCCC",                     // Mouse Off Background Color (use zero for transparent in Netscape 6)
"White",                     // Mouse On Font Color
"336699",                     // Mouse On Background Color  FF9933
"FFFFFF",                     // Menu Border Color
"12",                         // Font Size (default is px but you can specify mm, pt or a percentage)
"normal",                     // Font Style (italic or normal)
"bold",                       // Font Weight (bold or normal)
"verdana,helvetica",          // Font Name
2,                            // Menu Item Padding or spacing
"http://library.rit.edu/scripts/arrow.gif",                  // Sub Menu Image (Leave this blank if not needed)
0,                            // 3D Border & Separator bar (0=off, 1=on)
"ffff00",                     // 3D High Color
"ccffff",                     // 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)
"ffffff",                     // Menu Header Font Color (Leave blank if headers are not needed)
"black",                     // Menu Header Background Color (Leave blank if headers are not needed)
"FFFFFF",                     // Menu Item Separator Color
]
//This is an example menu
addmenu(menu=[
"Colleges",              // Menu Name - This is needed in order for this menu to be called
,                             // Menu Top - The Top position of this menu in pixels
,                             // Menu Left - The Left position of this menu in pixels
245,                          // Menu Width - Menus width in pixels
1,                            // Menu Border Width
,                             // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
MenuStyle,                   // Properties Array - this array is declared higher up as you can see above
0,                            // Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
,                             // Alignment - sets this menu elements text alignment, values valid here are: left, right or center
"Alpha(style=0,opacity=95);Fade(duration=0.2);Shadow(color=777777, Direction=135, Strength=5)",
// Previous line is Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,                            // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
0,                            // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,                            // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,                             // Position of TOP sub image left:center:right
,                             // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
0,                            // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,                            // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,                             // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                             // Background image for menu Color must be set to transparent for this to work
0,                            // Scrollable Menu
,                             // Miscellaneous Menu Properties
,"Applied Science & Technology","http://library.rit.edu/booksandmore/cast.html",,,1
,"Business","http://library.rit.edu/booksandmore/business.html",,,1
,"Center for Integrated Manufacturing","http://library.rit.edu/booksandmore/cims.html",,,1
,"Computing & Information Sciences","http://library.rit.edu/booksandmore/golisano.html",,,1
,"Engineering","http://library.rit.edu/booksandmore/engineering.html",,,1
,"Imaging Arts & Sciences","http://library.rit.edu/booksandmore/cias.html",,,1
,"Liberal Arts","http://library.rit.edu/booksandmore/libarts.html",,,1
,"NTID","http://library.rit.edu/booksandmore/ntid.html",,,1
,"Science","http://library.rit.edu/booksandmore/science.html",,,1
])
addmenu(menu=[
"Departments",
,
,
180,
1,
,
MenuStyle,
0,
,
"Alpha(style=0,opacity=95);Fade(duration=0.2);Shadow(color=777777, Direction=135, Strength=5)",   //"Fade(duration=0.2);Alpha(style=0,opacity=100);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Archives","#",,,0
,"Cataloging","#",,,0
,"Circulation","#",,,0
,"Info Delivery Services (ILL)","#",,,0
,"Library Technology Services","#",,,0
,"Computer Labs","#",,,0
])
addmenu(menu=[
"MyAccount",
,
,
200,
1,
,
MenuStyle,
0,
,
"Alpha(style=0,opacity=95);Fade(duration=0.2);Shadow(color=777777, Direction=135, Strength=5)",   //"Fade(duration=0.2);Alpha(style=0,opacity=100);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"View Account/Renewals","https://albert.rit.edu/patroninfo~S3",,,1
,"Course Reserves","http://library.rit.edu/myaccount/reserves.html",,,1
,"Request Interlibrary Loans","http://library.rit.edu/myaccount/ill.html",,,1
,"Borrowing Guidelines","http://library.rit.edu/myaccount/policies.html",,,1
,"Account Questions?","http://library.rit.edu/myaccount/circforms.html",,,1
,"Need Your PIN Reset?","http://library.rit.edu/myaccount/pin.html",,,1
])
addmenu(menu=[
"Books",
,
,
200,
1,
,
MenuStyle,
0,
,
"Alpha(style=0,opacity=95);Fade(duration=0.2);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Einstein:  RIT Catalog","http://albert.rit.edu",,,1
,"Connect NY Catalog","http://www.connectny.info/screens/opacmenu.html",,,1
,"Additional Catalogs","show-menu=AddCatalogsSubMenu",,,1
,"Databases","show-menu=DatabasesSubMenu","http://library.rit.edu/electronic/electronic.html",,1
,"eBooks","show-menu=eBooksSubMenu",,,1

,"College Specific Resources","show-menu=Colleges",,,1
,"Select Web Resources","show-menu=WebResourcesSubMenu",,,1
])
addmenu(menu=[
"Research",
,
,
220,  //Menu width parameter
1,
,
MenuStyle,
0,
,
"Alpha(style=0,opacity=95);Fade(duration=0.2);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Guides and Tutorials","http://library.rit.edu/researchguides/subjguides.html",,,1
,"Workshops/Instruction","http://library.rit.edu/researchguides/workshops.html",,,1
,"Doing Library Research ","http://library.rit.edu/researchguides/resguides.html",,,1
,"Information Literacy","http://library.rit.edu/researchguides/infolit.html",,,1
,"Avoid Plagiarism/Cite Right","http://library.rit.edu/researchguides/citing.html",,,1
,"NoodleBib (Citation Builder)","http://library.rit.edu/electronic/noodletools/noodletools.html",,,1
,"EndNote (Database and Bibliography Creator)","http://library.rit.edu/electronic/endnote/endnote.html",,,1
,"Assignment Calculator","http://library.rit.edu/researchguides/calculator/",,,1
,"Dissertation Calculator","http://library.rit.edu/researchguides/disscalc/",,,1
])
addmenu(menu=[
"Collections",
,
,
180,
1,
,
MenuStyle,
0,
,
"Alpha(style=0,opacity=95);Fade(duration=0.2);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Wallace Library","http://library.rit.edu/collections/wallace.html",,,1
,"Cary Collection","http://library.rit.edu/cary",,,1
,"RIT Archives","http://library.rit.edu/collections/archives.html",,,1
,"Special Collections","http://library.rit.edu/collections/special.html",,,1
,"Image Collections","http://library.rit.edu/collections/images.html",,,1
,"RIT Digital Media Library","http://ritdml.rit.edu",,,1
])
addmenu(menu=[
"UserServices",
,
,
200,
1,
,
MenuStyle,
0,
,
"Alpha(style=0,opacity=95);Fade(duration=0.2);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Get Help/Talk To Us","http://library.rit.edu/info/talktous.html",,,1
,"One 2 One Live Chat","/depts/ref/research/humanclick/humanclick.htm",,,1
,"Library Hours","http://library.rit.edu/info/hours.html",,,1
,"Info for Specific User Groups","http://library.rit.edu/info/specificusers.html",,,1
,"Online Learners Services","http://library.rit.edu/userservices/dl.html",,,1
,"Computing Services","http://library.rit.edu/info/computing.html",,,1
,"Access Borrowing Card","http://library.rit.edu/services/access/index.html",,,1
,"Thesis Binding","http://library.rit.edu/userservices/binding.html",,,1
,"Request Campus Delivery: Faculty/Staff","http://library.rit.edu/myaccount/delivery.html",,,1
,"Fax Service","http://library.rit.edu/userservices/fax.html",,,1
,"About the Library","show-menu=AboutLibrarySubMenu",,,1
])


addmenu(menu=[
"DatabasesSubMenu",              // Menu Name - This is needed in order for this menu to be called
,                             // Menu Top - The Top position of this menu in pixels
,                             // Menu Left - The Left position of this menu in pixels
150,                          // Menu Width - Menus width in pixels
1,                            // Menu Border Width
,                             // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
MenuStyle,                   // Properties Array - this array is declared higher up as you can see above
0,                            // Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
,                             // Alignment - sets this menu elements text alignment, values valid here are: left, right or center
"Alpha(style=0,opacity=95);Fade(duration=0.2);Shadow(color=777777, Direction=135, Strength=5)",
// Previous line is Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,                            // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
0,                            // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,                            // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,                             // Position of TOP sub image left:center:right
,                             // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
0,                            // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,                            // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,                             // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                             // Background image for menu Color must be set to transparent for this to work
0,                            // Scrollable Menu
,                             // Miscellaneous Menu Properties
,"Get Started Here","http://library.rit.edu/electronic/electronic.html",,,1
,"Databases by Subject","http://library.rit.edu/booksandmore/subjects.html",,,1
,"Databases A-Z","http://library.rit.edu/electronic/topic/aaa-zzz.html",,,1
])

addmenu(menu=[
"AddCatalogsSubMenu",              // Menu Name - This is needed in order for this menu to be called
,                             // Menu Top - The Top position of this menu in pixels
,                             // Menu Left - The Left position of this menu in pixels
200,                          // Menu Width - Menus width in pixels
1,                            // Menu Border Width
,                             // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
MenuStyle,                   // Properties Array - this array is declared higher up as you can see above
0,                            // Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
,                             // Alignment - sets this menu elements text alignment, values valid here are: left, right or center
"Alpha(style=0,opacity=95);Fade(duration=0.2);Shadow(color=777777, Direction=135, Strength=5)",
// Previous line is Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,                            // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
0,                            // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,                            // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,                             // Position of TOP sub image left:center:right
,                             // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
0,                            // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,                            // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,                             // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                             // Background image for menu Color must be set to transparent for this to work
0,                            // Scrollable Menu
,                             // Miscellaneous Menu Properties
,"WorldCat","http://library.rit.edu/electronic/firstsearch/fs.html",,,1
,"Other Catalogs","http://library.rit.edu/electronic/libraries.html",,,1
,"Faculty/Staff Bibliography","http://library.rit.edu/electronic/fsbdb/",,,1
])

addmenu(menu=[
"eBooksSubMenu",              // Menu Name - This is needed in order for this menu to be called
,                             // Menu Top - The Top position of this menu in pixels
,                             // Menu Left - The Left position of this menu in pixels
200,                          // Menu Width - Menus width in pixels
1,                            // Menu Border Width
,                             // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
MenuStyle,                   // Properties Array - this array is declared higher up as you can see above
0,                            // Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
,                             // Alignment - sets this menu elements text alignment, values valid here are: left, right or center
"Alpha(style=0,opacity=95);Fade(duration=0.2);Shadow(color=777777, Direction=135, Strength=5)",
// Previous line is Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,                            // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
0,                            // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,                            // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,                             // Position of TOP sub image left:center:right
,                             // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
0,                            // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,                            // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,                             // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                             // Background image for menu Color must be set to transparent for this to work
0,                            // Scrollable Menu
,                             // Miscellaneous Menu Properties
,"Books 24x7","http://library.rit.edu/electronic/books24x7/books24x7.html",,,1
,"Safari","http://library.rit.edu/electronic/safari/safari.html",,,1
,"ebrary","http://library.rit.edu/electronic/ebrary/ebrary.html",,,1
,"netLibrary","http://library.rit.edu/electronic/netlibrary/netlibrary.html",,,1
])

addmenu(menu=[
"WebResourcesSubMenu",              // Menu Name - This is needed in order for this menu to be called
,                             // Menu Top - The Top position of this menu in pixels
,                             // Menu Left - The Left position of this menu in pixels
200,                          // Menu Width - Menus width in pixels
1,                            // Menu Border Width
,                             // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
MenuStyle,                   // Properties Array - this array is declared higher up as you can see above
0,                            // Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
,                             // Alignment - sets this menu elements text alignment, values valid here are: left, right or center
"Alpha(style=0,opacity=95);Fade(duration=0.2);Shadow(color=777777, Direction=135, Strength=5)",
// Previous line is Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,                            // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
0,                            // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,                            // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,                             // Position of TOP sub image left:center:right
,                             // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
0,                            // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,                            // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,                             // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                             // Background image for menu Color must be set to transparent for this to work
0,                            // Scrollable Menu
,                             // Miscellaneous Menu Properties
,"Election 2008","http://library.rit.edu/election/",,,1
,"Iraq Conflict Resources","http://library.rit.edu/internet/subject/wariniraq.htm",,,1
,"Librarian Selected Sites","http://library.rit.edu/booksandmore/websites.html",,,1
,"Search Engines","http://library.rit.edu/depts/ref/instruction/tutorial/engines.html",,,1
])



addmenu(menu=[
"AboutLibrarySubMenu",              // Menu Name - This is needed in order for this menu to be called
,                             // Menu Top - The Top position of this menu in pixels
,                             // Menu Left - The Left position of this menu in pixels
200,                          // Menu Width - Menus width in pixels
1,                            // Menu Border Width
,                             // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
MenuStyle,                   // Properties Array - this array is declared higher up as you can see above
0,                            // Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
,                             // Alignment - sets this menu elements text alignment, values valid here are: left, right or center
"Alpha(style=0,opacity=95);Fade(duration=0.2);Shadow(color=777777, Direction=135, Strength=5)",
// Previous line is Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,                            // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
0,                            // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,                            // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,                             // Position of TOP sub image left:center:right
,                             // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
0,                            // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,                            // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,                             // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                             // Background image for menu Color must be set to transparent for this to work
0,                            // Scrollable Menu
,                             // Miscellaneous Menu Properties
,"Overview","http://library.rit.edu/info/overview.html",,,1
,"Staff/Dept. Directory","http://library.rit.edu/info/contact.html",,,1
,"Floor Maps","http://library.rit.edu/maps/",,,1
,"Jobs","http://library.rit.edu/info/jobs.html",,,1
,"What's New","http://library.rit.edu/info/whatsnew.html",,,1
,"Site Index","http://library.rit.edu/info/mapindex.html",,,1
,"Giving to the Library","http://library.rit.edu/giving/",,,1
])



addmenu(menu=[
"Mainmenu",
84,  // Menu Top - The Top position of this menu in pixels
200, // Menu Left - The Left position of this menu in pixels
,
0,
,
PlainStyle,
1,
,
,
0,
1,
0,
,
,
0,
0,
,
,
0,
,
,"My&nbsp;Account&nbsp;&&nbsp;Services","show-menu=MyAccount",,,1
,"Catalogs,&nbsp;Databases&nbsp;&&nbsp;More","show-menu=Books",,,1
,"Research&nbsp;Guides&nbsp;&&nbsp;Instruction","show-menu=Research",,,1
,"Collections","show-menu=Collections",,,1
,"User&nbsp;Services","show-menu=UserServices",,,0  //Changing 0 to 1 puts in a dividing line
])
dumpmenus();	
