mmLoadMenus('http://www.kencast.com'); /** * mm_menu 20MAR2002 Version 6.0 * Andy Finnell, March 2002 * Copyright (c) 2000-2002 Macromedia, Inc. * * based on menu.js * by gary smith, July 1997 * Copyright (c) 1997-1999 Netscape Communications Corp. * * Netscape grants you a royalty free license to use or modify this * software provided that this copyright notice appears on all copies. * This software is provided "AS IS," without a warranty of any kind. */ //function Menu(label, mw, mh, fnt, fs, fclr, fhclr, bg, bgh, halgn, valgn, pad, space, to, sx, sy, srel, opq, vert, idt, aw, ah) function mmLoadMenus(root) { borderColor = '#CCCCCC'; bgColor = '#F0F0F0'; hiliteColor = '#999999'; textColor = '#303030'; delay = 250; window.about_menu_0 = new Menu("root",150,20,"Arial, Verdana",12,textColor,"#ffffff",bgColor,hiliteColor,"left","middle",3,0,delay,0,-2,true,true,true,0,false,false); about_menu_0.addMenuItem("Corporate Overview","location='"+root+"/about/overview.php'"); about_menu_0.addMenuItem("Management Team","location='"+root+"/about/management-team.php'"); about_menu_0.addMenuItem("Careers","location='"+root+"/about/careers.php'"); about_menu_0.addMenuItem("Contact Us","location='"+root+"/about/contact.php'"); about_menu_0.fontWeight=""; about_menu_0.hideOnMouseOut=true; // about_menu_0.childMenuIcon=root+"/images/arrows.gif"; about_menu_0.menuBorder=1; about_menu_0.menuLiteBgColor=borderColor; about_menu_0.menuBorderBgColor=bgColor; about_menu_0.bgColor=borderColor; window.solutions_menu_0 = new Menu("root",150,20,"Arial, Verdana",12,textColor,"#ffffff",bgColor,hiliteColor,"left","middle",3,0,delay,0,0,true,true,true,0,false,false); solutions_menu_0.addMenuItem("Solutions by Industry","location='"+root+"/solutions/industry.php'"); solutions_menu_0.addMenuItem("Products","location='"+root+"/solutions/products.php'"); solutions_menu_0.addMenuItem("Features","location='"+root+"/solutions/features.php'"); solutions_menu_0.addMenuItem("Requirements","location='"+root+"/solutions/requirements.php'"); solutions_menu_0.addMenuItem("Services","location='"+root+"/solutions/services.php'"); solutions_menu_0.fontWeight=""; solutions_menu_0.hideOnMouseOut=true; solutions_menu_0.menuBorder=1; solutions_menu_0.menuLiteBgColor=borderColor; solutions_menu_0.menuBorderBgColor=bgColor; solutions_menu_0.bgColor=borderColor; window.support_menu_0 = new Menu("root",150,20,"Arial, Verdana",12,textColor,"#ffffff",bgColor,hiliteColor,"left","middle",3,0,delay,0,0,true,true,true,0,false,false); support_menu_0.addMenuItem("Maintenance","location='"+root+"/support/maintenance.php'"); support_menu_0.addMenuItem("Downloads","location='"+root+"/support/downloads.php'"); support_menu_0.fontWeight=""; support_menu_0.hideOnMouseOut=true; support_menu_0.menuBorder=1; support_menu_0.menuLiteBgColor=borderColor; support_menu_0.menuBorderBgColor=bgColor; support_menu_0.bgColor=borderColor; window.news_menu_0 = new Menu("root",150,20,"Arial, Verdana",12,textColor,"#ffffff",bgColor,hiliteColor,"left","middle",3,0,delay,0,0,true,true,true,0,false,false); news_menu_0.addMenuItem("Press Releases","location='"+root+"/news/press.php'"); news_menu_0.fontWeight=""; news_menu_0.hideOnMouseOut=true; news_menu_0.menuBorder=1; news_menu_0.menuLiteBgColor=borderColor; news_menu_0.menuBorderBgColor=bgColor; news_menu_0.bgColor=borderColor; // use the last menu name here news_menu_0.writeMenus(); } // mmLoadMenus() function Menu(label, mw, mh, fnt, fs, fclr, fhclr, bg, bgh, halgn, valgn, pad, space, to, sx, sy, srel, opq, vert, idt, aw, ah) { this.version = "020320 [Menu; mm_menu.js]"; this.type = "Menu"; this.menuWidth = mw; this.menuItemHeight = mh; this.fontSize = fs; this.fontWeight = "plain"; this.fontFamily = fnt; this.fontColor = fclr; this.fontColorHilite = fhclr; this.bgColor = "#555555"; this.menuBorder = 1; this.menuBgOpaque=opq; this.menuItemBorder = 1; this.menuItemIndent = idt; this.menuItemBgColor = bg; this.menuItemVAlign = valgn; this.menuItemHAlign = halgn; this.menuItemPadding = pad; this.menuItemSpacing = space; this.menuLiteBgColor = "#ffffff"; this.menuBorderBgColor = "#777777"; this.menuHiliteBgColor = bgh; this.menuContainerBgColor = "#cccccc"; this.childMenuIcon = "/images/arrows.gif"; this.submenuXOffset = sx; this.submenuYOffset = sy; this.submenuRelativeToItem = srel; this.vertical = vert; this.items = new Array(); this.actions = new Array(); this.childMenus = new Array(); this.hideOnMouseOut = true; this.hideTimeout = to; this.addMenuItem = addMenuItem; this.writeMenus = writeMenus; this.MM_showMenu = MM_showMenu; this.onMenuItemOver = onMenuItemOver; this.onMenuItemAction = onMenuItemAction; this.hideMenu = hideMenu; this.hideChildMenu = hideChildMenu; if (!window.menus) window.menus = new Array(); this.label = " " + label; window.menus[this.label] = this; window.menus[window.menus.length] = this; if (!window.activeMenus) window.activeMenus = new Array(); } function addMenuItem(label, action) { this.items[this.items.length] = label; this.actions[this.actions.length] = action; } function FIND(item) { if( window.mmIsOpera ) return(document.getElementById(item)); if (document.all) return(document.all[item]); if (document.getElementById) return(document.getElementById(item)); return(false); } function writeMenus(container) { if (window.triedToWriteMenus) return; var agt = navigator.userAgent.toLowerCase(); window.mmIsOpera = agt.indexOf("opera") != -1; if (!container && document.layers) { window.delayWriteMenus = this.writeMenus; var timer = setTimeout('delayWriteMenus()', 500); container = new Layer(100); clearTimeout(timer); } else if (document.all || document.hasChildNodes || window.mmIsOpera) { document.writeln(''); container = FIND("menuContainer"); } window.mmHideMenuTimer = null; if (!container) return; window.triedToWriteMenus = true; container.isContainer = true; container.menus = new Array(); for (var i=0; i