
/*
Javascript DHTML Menu
Audit Trail  NXT-WEB                                            SICAS Center
David Dawes Stanley                                             Saturday, November 30th, 2002
1. Rewritten for the SICAS Center Web Pages
If you are having difficulty with the menu please read the FAQ at http://www.milonic.co.uk/menu/faq.php before contacting us.
*/

//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=1500               // The time delay for menus to remain visible
followspeed=5              // Follow Scrolling speed
followrate=50              // Follow Scrolling Rate
suboffset_top=15           // Sub menu offset Top position
suboffset_left=10          // Sub menu offset Left position
// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//                                                                                       ScrollingSampStyle
ScrollingSampStyle=[     // ScrollingSampStyle is an array of properties. You can have as many property arrays as you need
"FFFFFF",                // Mouse Off Font Color
"003399",                // Mouse Off Background Color (use zero for transparent in Netscape 6)
"FFFFFF",                // Mouse On Font Color
"000066",                // Mouse On Background Color
"003366",                // Menu Border Color
"14",                    // 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, Arial, Helvetica, sans-serif", //"comic sans ms,verdana,helvetica",       // Font Name
3,                       // Menu Item Padding or spacing
,                        // Sub Menu Image (Leave this blank if not needed)
0,                       // 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)
"000033",                // Menu Item Separator Color
]           
// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//                                                                                       SubMenuL1Style
SubMenuL1Style=[                              // ScrollingSampStyle is an array of properties. You can have as many property arrays as you need
"FFFFFF",   //"9999cc",                                               // Mouse Off Font Color
"3366cc",                                             // Mouse Off Background Color (use zero for transparent in Netscape 6)
"FFFFFF",                                           // Mouse On Font Color
"333399",                                         // Mouse On Background Color
"003366",                                       // Menu Border Color
"14",                                              // 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, Arial, Helvetica, sans-serif",//"Verdana, Arial, Helvetica, sans-serif", //"comic sans ms,verdana,helvetica",                // Font Name
3,                                            // Menu Item Padding or spacing
,                                            // Sub Menu Image (Leave this blank if not needed)
0,                                        // 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)
"000033",         // Menu Item Separator Color
]
// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//                                                                                       SubMenuL2Style
SubMenuL2Style=[                             // ScrollingSampStyle is an array of properties. You can have as many property arrays as you need
"FFFFFF",  //"9999cc",                                              // Mouse Off Font Color
 "333399",                                           // Mouse Off Background Color (use zero for transparent in Netscape 6)
"FFFFFF",                                           // Mouse On Font Color
"3366cc",                                         // Mouse On Background Color
"003366",                                       // Menu Border Color
"14",                                              // 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, Arial, Helvetica, sans-serif", //"comic sans ms,verdana,helvetica",                // Font Name
3,                                            // Menu Item Padding or spacing
,                                            // Sub Menu Image (Leave this blank if not needed)
0,                                        // 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)
"000033",         // Menu Item Separator Color
]

// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//                                                              Follow Main
addmenu(menu=[
"FollowMain",          // Menu Name - This is needed in order for this menu to be called
75,                    // Menu Top - The Top position of this menu in pixels
5,                     // Menu Left - The Left position of this menu in pixels
100,                   // 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"
ScrollingSampStyle,    // Properties Array - this array is declared higher up as you can see above
1,                     // 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
"Fade(duration=0.1);Shadow(color=0000ff, Direction=135, Strength=5)", //"Fade(duration=0.2);Shadow(color=777777, Direction=135, Strength=5)", // Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,                     // Follow Scrolling Top Position - 0=nomove, 1=follow. 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
,"At a Glance","show-menu=aboutmenu","#",,1
,"Sign-on","show-menu=signonmenu","#",,1                     // 
,"Directory","show-menu=sitemenu","#",,1
,"Applications","show-menu=appmenu","#",,1
,"Key Dates","http://sicasnt1.oneonta.edu:9010/pls/full92/BWCKYKEY.PY_KEYDATES","#",,1
,"External Resources","show-menu=linkmenu","#",,1
,"Directions","show-menu=directmenu","#",,1
,"Member Campuses","members.asp","#",,1
,"Submit Web Comments","webmaster_comments.asp","#",,1
,"Homepage","default.asp","#",,1
])
// ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//                                                                 Sign-on Menu
addmenu(menu=[
"signonmenu",
,
,
250,
1,
,
SubMenuL1Style,
0,
,
"Fade(duration=0.1);Shadow(color=0000ff, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
, 
,"Members Secure Area","login/login.asp","#",,1
,"Associate Members","amlog/login.asp","#",,1
,"Open Members","openlog/login.asp","#",,1
])
// ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//                                                                 Directory Menu
addmenu(menu=[
"sitemenu",
,
,
125,
1,
,
SubMenuL1Style,
0,
,
"Fade(duration=0.1);Shadow(color=0000ff, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
, 
,"Address Book","http://sicasnt1.oneonta.edu:9010/pls/full92/BWCKYCON.PY_SICASLIST","#",,1
/*,"Site Map","sitemap.asp","#",,1*/
])



// ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//                                                                    About Menu
addmenu(menu=[
"aboutmenu",
,
,
130,
1,
,
SubMenuL1Style,
0,
,
"Fade(duration=0.1);Shadow(color=0000ff, Direction=135, Strength=5)",
0,
0,
0,
,
, 
0,
0,
,
,
0,
, 
,"At a Glance","about_info.asp","#",,1
,"By Laws","SICASBYL.PDF","#",,1
,"Applications","show-menu=appmenu","#",,1
,"Directions","show-menu=directmenu","#",,1
])
// ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//                                                                    DirectMenu
addmenu(menu=[
"directmenu",
,
,
130,
1,
,
SubMenuL1Style,
0,
,
"Fade(duration=0.1);Shadow(color=0000ff, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Directions Page","directions.asp","#",,1
,"Maps","directions.asp#maps","#",,1
,"Around Town","directions.asp#local","#",,1
])
// ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//                                                                    appMenu
addmenu(menu=[
"appmenu",
,
,
200,
1,
,
SubMenuL1Style,
0,
,
"Fade(duration=0.1);Shadow(color=0000ff, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Application Page","application.asp","#",,1
,"Application Descriptions","http://sicasnt1.oneonta.edu:9010/pls/full92/BWCKYAPP.PY_APPLE","#",,1
,"Application Year of Release","http://sicasnt1.oneonta.edu:9010/pls/full92/BWCKYAPP.PY_RAPPLE","#",,1
])
// ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//                                                                    LinkMenu
addmenu(menu=[
"linkmenu",
,
,
130,
1,
,
SubMenuL1Style,
0,
,
"Fade(duration=0.1);Shadow(color=0000ff, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Links Page","links.asp","#",,1
,"SUNY Homepage","http://www.suny.edu/","#",,1
,"Visit a Campus ","http://www.suny.edu/Student/VisitCampus/welVisitCampus.cfm","#",,1
,"SUNY Center for Professional Development ","http://www.cpd.suny.edu/","#",,1
,"ITEC","http://www.itec.suny.edu/","#",,1
,"SUNGARD HE","http://www.sungardsct.com/","#",,1
,"Oracle","http://www.oracle.com/","#",,1
,"NYS Links","http://nylink.suny.edu/","#",,1
])
// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//                                                     Dump Menu
dumpmenus();
	