// Sandeep: Simplification of the attributes var topMenuBarsPositionFromLeft=15; var topMenuBarsPositionFromTop=207; var menuItemsheight=20; var menuItemsWidth = 235; menuDirection="left"; //Menu object creation oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname //Menu properties oCMenu.pxBetween=1 oCMenu.fromLeft=topMenuBarsPositionFromLeft oCMenu.fromTop=topMenuBarsPositionFromTop oCMenu.rows=1 oCMenu.menuPlacement=0 oCMenu.offlineRoot="" oCMenu.onlineRoot="" oCMenu.resizeCheck=1 oCMenu.wait=1000 oCMenu.fillImg="/menu/images/dot.gif" oCMenu.zIndex=0 //Background bar properties oCMenu.useBar=1 oCMenu.barWidth="menu" oCMenu.barHeight="menu" oCMenu.barClass="clBar" oCMenu.barX=topMenuBarsPositionFromLeft oCMenu.barY=topMenuBarsPositionFromTop oCMenu.barBorderX=0 oCMenu.barBorderY=0 oCMenu.barBorderClass="" //Level properties - ALL properties have to be spesified in level 0 oCMenu.level[0]=new cm_makeLevel() //Add this for each new level oCMenu.level[0].width=menuItemsWidth oCMenu.level[0].height=menuItemsheight oCMenu.level[0].regClass="clLevel0" oCMenu.level[0].overClass="clLevel0over" oCMenu.level[0].borderX=0 oCMenu.level[0].borderY=0 oCMenu.level[0].offsetX=0 oCMenu.level[0].offsetY=-1 oCMenu.level[0].borderClass="clLevel0border" oCMenu.level[0].rows=0 oCMenu.level[0].align="bottom" //EXAMPLE SUB LEVEL[1] PROPERTIES - You have to spesify the properties you want different from LEVEL[0] - If you want all items to look the same just remove this oCMenu.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number) oCMenu.level[1].width=menuItemsWidth-2 oCMenu.level[1].height=menuItemsheight oCMenu.level[1].regClass="clLevel1" oCMenu.level[1].overClass="clLevel1over" oCMenu.level[1].borderX=1 oCMenu.level[1].borderY=1 oCMenu.level[1].offsetX=0 oCMenu.level[1].offsetY=-1 oCMenu.level[1].borderClass="clLevel1border" oCMenu.level[1].align="right" oCMenu.level[1].arrow="/menu/ltr/images/link_button.gif" oCMenu.level[1].arrowAlways="/menu/images/dot.gif" oCMenu.level[1].arrowWidth=9 oCMenu.level[1].arrowHeight=7 /****************************************** Menu item creation: myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) *************************************/ oCMenu.makeMenu( 'INSIDE', '', 'Sur Toshiba', '' ); oCMenu.makeMenu( 'PRODUCTS', '', 'Portables', '' ); oCMenu.makeMenu( 'SERVICES_SOLUTIONS', '', 'Accessoires & Services', '' ); oCMenu.makeMenu( 'SUPPORT_DOWNLOAD', '', 'Support & Téléchargements', 'http://ch.computers.toshiba-europe.com/innovation/generic_content.jsp?LNG=7&service=CH&ID=SUPPORT_PORTAL' ); oCMenu.makeMenu( 'BACK_TO_HOME_INSIDE', 'INSIDE', 'Retour à la page d\'introduction', 'http://ch.computers.toshiba-europe.com/innovation/fr/home/' ); oCMenu.makeMenu( 'CONTACT_INSIDE', 'INSIDE', 'Service clientèle', 'http://ch.computers.toshiba-europe.com/innovation/fr/generic/KONTAKT/' ); oCMenu.makeMenu( 'NEWS_INSIDE', 'INSIDE', 'Actualités', 'http://ch.computers.toshiba-europe.com/innovation/news_article_index.jsp?LNG=7&service=CH' ); oCMenu.makeMenu( 'NEWSLETTERS_INSIDE', 'INSIDE', 'Abonner newsletter', 'http://ch.computers.toshiba-europe.com/innovation/subscriber.jsp?LNG=7&service=CH' ); oCMenu.makeMenu( 'ABOUT_INSIDE', 'INSIDE', 'A propos de Toshiba', 'http://ch.computers.toshiba-europe.com/innovation/about_toshiba.jsp?LNG=7&service=CH' ); oCMenu.makeMenu( 'JOBS_INSIDE', 'INSIDE', 'Offres d\'emploi', 'javascript:var w=window.open( "http://www.toshiba.de/teg/jobsFS.htm", "Toshiba" )' ); oCMenu.makeMenu( 'RESELLER_SITE', 'INSIDE', 'L\'espace revendeurs', 'http://ch.computers.toshiba-europe.com/innovation/fr/generic/GO_EXTRANET_CH/' ); oCMenu.makeMenu( 'MENU_ITEM3', 'INSIDE', 'Toshiba partenaires', 'http://ch.computers.toshiba-europe.com/innovation/fr/generic/partners-ch/' ); oCMenu.makeMenu( 'MEDIA_PRESS_CENTRE_INSIDE', 'INSIDE', 'Information Presse', 'http://ch.computers.toshiba-europe.com/innovation/fr/generic/Presse_Kontakt/' ); oCMenu.makeMenu( 'ENVIRONMENTAL_INFO', 'INSIDE', 'Toshiba et l\'environnement', 'http://ch.computers.toshiba-europe.com/innovation/fr/generic/200711_ENVIRONMENTAL/' ); oCMenu.makeMenu( 'HomeComputing', 'PRODUCTS', 'Utilisateurs privés', 'http://ch.computers.toshiba-europe.com/innovation/fr/generic/homecomputing/' ); oCMenu.makeMenu( 'BusinessComputing', 'PRODUCTS', 'Clients commerciaux', 'http://ch.computers.toshiba-europe.com/innovation/fr/generic/businesscomputing/' ); oCMenu.makeMenu( 'eu_portege_PRODUCTS', 'PRODUCTS', 'Portégé - Ultra Portable', 'http://ch.computers.toshiba-europe.com/innovation/fr/family/Portege/2329/' ); oCMenu.makeMenu( 'eu_qosmio_PRODUCTS', 'PRODUCTS', 'Qosmio - Multimedia & Gaming', 'http://ch.computers.toshiba-europe.com/innovation/fr/family/Qosmio/96787/' ); oCMenu.makeMenu( 'eu_satellite_PRODUCTS', 'PRODUCTS', 'Satellite - Home Computing', 'http://ch.computers.toshiba-europe.com/innovation/fr/family/Satellite/2326/' ); oCMenu.makeMenu( 'eu_satellite_pro_PRODUCTS', 'PRODUCTS', 'Satellite Pro - Business Allrounder', 'http://ch.computers.toshiba-europe.com/innovation/fr/family/Satellite-Pro/2327/' ); oCMenu.makeMenu( 'eu_tecra_PRODUCTS', 'PRODUCTS', 'Tecra - Professional Business', 'http://ch.computers.toshiba-europe.com/innovation/fr/family/Tecra/2328/' ); oCMenu.makeMenu( 'eu_netbook_PRODUCTS', 'PRODUCTS', 'Netbook', 'http://ch.computers.toshiba-europe.com/innovation/fr/family/Mini-Notebook/1058018/' ); oCMenu.makeMenu( 'PRODUCT_SELECTOR_PRODUCTS', 'PRODUCTS', 'Sélecteur de portables', 'http://ch.computers.toshiba-europe.com/innovation/fr/generic/product-selector/' ); oCMenu.makeMenu( 'DISCONTINUED_MODELS_PRODUCTS', 'PRODUCTS', 'Portables sortis du catalogue', 'http://ch.computers.toshiba-europe.com/innovation/discontinued_models.jsp?LNG=7&service=CH' ); oCMenu.makeMenu( 'PRICELIST', 'PRODUCTS', 'Liste de prix', 'http://ch.computers.toshiba-europe.com/innovation/price_list.jsp?LNG=7&service=CH' ); oCMenu.makeMenu( 'DEALER_LOCATOR', 'PRODUCTS', 'Liste de revendeurs', 'http://ch.computers.toshiba-europe.com/innovation/fr/generic/DEALER_LOCATOR_CH/' ); oCMenu.makeMenu( 'Latest_Promotions', 'PRODUCTS', 'Promotions actuelles', '' ); oCMenu.makeMenu( 'Multimedia_SERVICES_SOLUTIONS', 'SERVICES_SOLUTIONS', 'Produits multimédia', 'javascript:var w=window.open( "http://www.toshiba-multimedia.com/chf/", "Toshiba" )' ); oCMenu.makeMenu( 'SUBMENU_OPTIONS', 'SERVICES_SOLUTIONS', 'Accessoires pour portables', 'http://ch.computers.toshiba-europe.com/innovation/fr/generic/optionen_zubehoer/' ); oCMenu.makeMenu( 'SUBMENU_SERVICES', 'SERVICES_SOLUTIONS', 'Services pour portables', 'http://ch.computers.toshiba-europe.com/innovation/fr/generic/Services_TSA/' ); oCMenu.makeMenu( 'REGISTER_SERVICE', 'SERVICES_SOLUTIONS', 'Enregistrer un service', 'http://ch.computers.toshiba-europe.com/innovation/jsp/vpoWarrantyRegHome.do?LNG=7&service=CH' ); oCMenu.makeMenu( 'REGISTRATION_LOOKUP_SERVICES_SOLUTIONS', 'SERVICES_SOLUTIONS', 'Rechercher les services enregistrés', 'http://ch.computers.toshiba-europe.com/innovation/jsp/vpoRegLookup.do?LNG=7&service=CH' ); oCMenu.makeMenu( 'SECURITY_CENTER_SUPPORT_DOWNLOAD', 'SUPPORT_DOWNLOAD', 'Centre de sécurité', 'http://ch.computers.toshiba-europe.com/innovation/fr/generic/security-center-ch_fr/' ); oCMenu.makeMenu( 'SUPPORT_HOMEPAGE', 'SUPPORT_DOWNLOAD', 'Centre de support', 'http://ch.computers.toshiba-europe.com/innovation/generic_content.jsp?LNG=7&service=CH&ID=SUPPORT_PORTAL', '', '', '', '', '', '', '', 'left' ); oCMenu.makeMenu( 'SUPPORT_FORUM_LINK', 'SUPPORT_DOWNLOAD', 'Support Forum', 'http://ch.computers.toshiba-europe.com/innovation/go_to_forum.jsp?LNG=7&service=CH&nav_btn=no,toshiba_ext, scrollbars=yes,resizable=yes,toolbar=yes,width=980,height=735', '', '', '', '', '', '', '', 'left' ); oCMenu.makeMenu( 'DOWNLOAD_FILES_SUPPORT_DOWNLOAD', 'SUPPORT_DOWNLOAD', 'Pilotes', 'http://ch.computers.toshiba-europe.com/innovation/download_drivers_bios.jsp?LNG=7&service=CH' ); oCMenu.makeMenu( 'DOWNLOAD_VISTA_DRIVERS_SUPPORT_DOWNLOAD', 'SUPPORT_DOWNLOAD', 'Pilotes Vista', 'http://ch.computers.toshiba-europe.com/innovation/vista_drivers.jsp?LNG=7&service=CH' ); oCMenu.makeMenu( 'DOWNLOAD_WIN7_DRIVERS_SUPPORT_DOWNLOAD', 'SUPPORT_DOWNLOAD', 'Pilotes Windows 7', 'http://ch.computers.toshiba-europe.com/innovation/windows7_drivers.jsp?LNG=7&service=CH' ); oCMenu.makeMenu( 'bestsellers_brochure_Latest_Promotions', 'Latest_Promotions', 'Brochure BestSellers', 'javascript:var w=window.open( "http://ch.computers.toshiba-europe.com/Contents/Toshiba_ch/CH-DE/Others/promotions/bestsellers/online_brochure/FR/index.htm", "Toshiba" )' ); oCMenu.makeMenu( 'CarbonZero_Latest_Promotions', 'Latest_Promotions', 'BestSeller of the Month', 'http://ch.computers.toshiba-europe.com/innovation/fr/generic/BESTSELLER/' ); oCMenu.makeMenu( 'Options_Cashback_Latest_Promotions', 'Latest_Promotions', 'Tecra A10 - Double Garantie', 'http://ch.computers.toshiba-europe.com/innovation/generic_content.jsp?LNG=7&service=CH&ID=doppelgarantie_ch' ); oCMenu.makeMenu( 'RESELLER_LOGIN_RESELLER_SITE', 'RESELLER_SITE', 'Login pour l\'extranet partenaires', 'http://ch.computers.toshiba-europe.com/innovation/ppc_entry_page.jsp?LNG=7&service=CH' ); oCMenu.makeMenu( 'RESELLER_BIDS_RESELLER_SITE', 'RESELLER_SITE', 'Conditions projets pour revendeurs', 'http://ch.computers.toshiba-europe.com/innovation/fr/generic/bidrequest_open_ch/' ); oCMenu.makeMenu( 'RESELLER_REGISTRATION_RESELLER_SITE', 'RESELLER_SITE', 'Enregistration revendeurs en ligne', 'http://ch.computers.toshiba-europe.com/innovation/fr/generic/Advanced_Partner_Programm_CH/' ); //Leave this line - it constructs the menu oCMenu.construct()