// 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', '', 'Inside Toshiba', '' ); oCMenu.makeMenu( 'PRODUCTS', '', 'Laptops', '' ); oCMenu.makeMenu( 'SERVICES_SOLUTIONS', '', 'Accessories & Services', 'http://uk.computers.toshiba-europe.com/innovation/generic/laptop-options-accessories/' ); oCMenu.makeMenu( 'SUPPORT_DOWNLOAD', '', 'Support & Downloads', '' ); oCMenu.makeMenu( 'BACK_TO_HOME_INSIDE', 'INSIDE', 'Back to Home', 'http://uk.computers.toshiba-europe.com/innovation/jsp/home.do?service=UK' ); oCMenu.makeMenu( 'INSIDE_TOSHIBA', 'INSIDE', 'Inside Toshiba', '' ); oCMenu.makeMenu( 'RESELLER_SITE', 'INSIDE', 'Toshiba Resellers Site', 'javascript:var w=window.open( "http://reseller2.toshiba.co.uk", "Toshiba" )' ); oCMenu.makeMenu( 'Latest_Innovations', 'INSIDE', 'Latest Innovations', '' ); oCMenu.makeMenu( 'ENVIRONMENTAL_INFO', 'INSIDE', 'Environmental Management', 'http://uk.computers.toshiba-europe.com/innovation/generic_content.jsp?service=UK&ID=200711_ENVIRONMENTAL' ); oCMenu.makeMenu( 'TV_DVD_INSIDE', 'INSIDE', 'Toshiba LCD TV & DVD', 'javascript:var w=window.open( "http://www.home-entertainment.toshiba.co.uk/", "Toshiba" )' ); oCMenu.makeMenu( 'MENU_ITEM3', 'INSIDE', 'Toshiba Partners', 'http://uk.computers.toshiba-europe.com/innovation/generic/partners-uk/?service=UK' ); oCMenu.makeMenu( 'HomeComputing', 'PRODUCTS', 'Home Computing', 'http://uk.computers.toshiba-europe.com/innovation/generic/home-computing-laptop-range/' ); oCMenu.makeMenu( 'BusinessComputing', 'PRODUCTS', 'Business Computing', 'http://uk.computers.toshiba-europe.com/innovation/generic/business-computing-laptop-range/' ); oCMenu.makeMenu( 'PRODUCT_SELECTOR_PRODUCTS', 'PRODUCTS', 'Help Me Choose A Laptop', 'http://uk.computers.toshiba-europe.com/innovation/generic/product-selector/#$=&xcUI=profile=neutralprofile;&_1sz?service=UK' ); oCMenu.makeMenu( 'uk_portege_PRODUCTS', 'PRODUCTS', 'Portégé', 'http://uk.computers.toshiba-europe.com/innovation/jsp/familyHomepage.do?service=UK&FAMILY_ID=2329' ); oCMenu.makeMenu( 'uk_qosmio_PRODUCTS', 'PRODUCTS', 'Qosmio', 'http://uk.computers.toshiba-europe.com/innovation/jsp/familyHomepage.do?service=UK&FAMILY_ID=96787' ); oCMenu.makeMenu( 'uk_satellite_PRODUCTS', 'PRODUCTS', 'Satellite', 'http://uk.computers.toshiba-europe.com/innovation/jsp/familyHomepage.do?service=UK&FAMILY_ID=2326' ); oCMenu.makeMenu( 'uk_satpro_PRODUCTS', 'PRODUCTS', 'Satellite Pro', 'http://uk.computers.toshiba-europe.com/innovation/jsp/familyHomepage.do?service=UK&FAMILY_ID=2327' ); oCMenu.makeMenu( 'uk_tecra_PRODUCTS', 'PRODUCTS', 'Tecra', 'http://uk.computers.toshiba-europe.com/innovation/jsp/familyHomepage.do?service=UK&FAMILY_ID=2328' ); oCMenu.makeMenu( 'NETBOOK_NB100_UK_PRODUCTS', 'PRODUCTS', 'Netbooks', 'http://uk.computers.toshiba-europe.com/innovation/generic/home-netbook-nb200/' ); oCMenu.makeMenu( 'HOW_TO_BUY_PRODUCTS', 'PRODUCTS', 'How to Buy', 'http://uk.computers.toshiba-europe.com/innovation/generic_content.jsp?service=UK&ID=how-to-buy' ); oCMenu.makeMenu( 'SPECIAL_OFFERS_PRODUCTS', 'PRODUCTS', 'Customer Laptop Reviews', 'http://uk.computers.toshiba-europe.com/innovation/generic_content.jsp?service=UK&ID=laptop-product-reviews' ); oCMenu.makeMenu( 'toshiba_tv_PRODUCTS', 'PRODUCTS', 'Toshiba Product Videos', 'http://uk.computers.toshiba-europe.com/innovation/generic_content.jsp?service=UK&ID=toshiba_tv' ); oCMenu.makeMenu( 'Latest_Promotions', 'PRODUCTS', 'Latest Promotions', '' ); oCMenu.makeMenu( 'digital_imaging1_SERVICES_SOLUTIONS', 'SERVICES_SOLUTIONS', 'Digital Camcorders & Photoframes', 'http://uk.computers.toshiba-europe.com/innovation/generic/digital-imaging/' ); oCMenu.makeMenu( 'carry_cases1_SERVICES_SOLUTIONS', 'SERVICES_SOLUTIONS', 'Laptop Sleeves & Carry Cases', 'http://uk.computers.toshiba-europe.com/innovation/jsp/optionsAndAccessoriesSearch.do?service=UK&oldOptionCategory=4694&selOptionCategory=4695' ); oCMenu.makeMenu( 'Drives-Storage', 'SERVICES_SOLUTIONS', 'Drives & Storage', 'http://uk.computers.toshiba-europe.com/innovation/jsp/optionsAndAccessoriesSearch.do?service=UK&service=UK&oldOptionCategory=4696&selOptionCategory=4699' ); oCMenu.makeMenu( 'power_accessories1_SERVICES_SOLUTIONS', 'SERVICES_SOLUTIONS', 'Power & Battery Options', 'http://uk.computers.toshiba-europe.com/innovation/jsp/optionsAndAccessoriesSearch.do?service=UK&oldOptionCategory=4701&selOptionCategory=4703' ); oCMenu.makeMenu( 'expansion1_SERVICES_SOLUTIONS', 'SERVICES_SOLUTIONS', 'Internal & USB Memory', 'http://uk.computers.toshiba-europe.com/innovation/jsp/optionsAndAccessoriesSearch.do?service=UK&oldOptionCategory=4701&selOptionCategory=4700' ); oCMenu.makeMenu( 'docking_stations1_SERVICES_SOLUTIONS', 'SERVICES_SOLUTIONS', 'Connectivity Devices', 'http://uk.computers.toshiba-europe.com/innovation/jsp/optionsAndAccessoriesSearch.do?service=UK&oldOptionCategory=4701&selOptionCategory=4697' ); oCMenu.makeMenu( 'deskbased_accessories1_SERVICES_SOLUTIONS', 'SERVICES_SOLUTIONS', 'Desk-based Accessories', 'http://uk.computers.toshiba-europe.com/innovation/jsp/optionsAndAccessoriesSearch.do?service=UK&oldOptionCategory=4695&selOptionCategory=4698' ); oCMenu.makeMenu( 'bundles1_SERVICES_SOLUTIONS', 'SERVICES_SOLUTIONS', 'Bundles/Packages', 'http://uk.computers.toshiba-europe.com/innovation/jsp/optionsAndAccessoriesSearch.do?service=UK&oldOptionCategory=4701&selOptionCategory=4694' ); oCMenu.makeMenu( 'HCI_SCHEME', 'SERVICES_SOLUTIONS', 'Security Options', 'http://uk.computers.toshiba-europe.com/innovation/jsp/optionsAndAccessoriesSearch.do?service=UK&oldOptionCategory=4694&selOptionCategory=4704' ); oCMenu.makeMenu( 'warranties_insurance_SERVICES_SOLUTIONS', 'SERVICES_SOLUTIONS', 'Warranties & Insurance', 'http://uk.computers.toshiba-europe.com/innovation/generic/laptop-services/' ); oCMenu.makeMenu( 'peripherals_support_SERVICES_SOLUTIONS', 'SERVICES_SOLUTIONS', 'Support', 'http://uk.computers.toshiba-europe.com/innovation/generic_content.jsp?service=UK&ID=200705_OPTIONS_SUPPORT_HOME' ); oCMenu.makeMenu( 'lapjacks_SERVICES_SOLUTIONS', 'SERVICES_SOLUTIONS', 'Lapjacks', 'javascript:var w=window.open( "http://www.lapjacks.com", "Toshiba" )' ); oCMenu.makeMenu( 'SERVICES_MENU_ITEM2', 'SERVICES_SOLUTIONS', 'Projectors', 'javascript:var w=window.open( "http://www.toshiba-projectors.co.uk", "Toshiba" )' ); oCMenu.makeMenu( 'Multimedia_SERVICES_SOLUTIONS', 'SERVICES_SOLUTIONS', 'Toshiba Multimedia', 'javascript:var w=window.open( "http://www.toshiba-multimedia.com/uk/", "Toshiba" )' ); oCMenu.makeMenu( 'MAGNIA_SURELINK', 'SERVICES_SOLUTIONS', 'Customer Reviews - Accessories', 'http://uk.computers.toshiba-europe.com/innovation/generic/laptop-product-reviews/' ); oCMenu.makeMenu( 'SUPPORT_HOMEPAGE', 'SUPPORT_DOWNLOAD', 'Support Home Page', 'http://uk.computers.toshiba-europe.com/innovation/generic_content.jsp?service=UK&ID=SUPPORT_PORTAL', '', '', '', '', '', '', '', 'left' ); oCMenu.makeMenu( 'SUPPORT_FORUM_LINK', 'SUPPORT_DOWNLOAD', 'Toshiba Knowledge Base', 'http://uk.computers.toshiba-europe.com/innovation/generic/TKB_SUPPORT/', '', '', '', '', '', '', '', 'left' ); oCMenu.makeMenu( 'DOWNLOAD_FILES_SUPPORT_DOWNLOAD', 'SUPPORT_DOWNLOAD', 'Download Files', 'http://uk.computers.toshiba-europe.com/innovation/download_drivers_bios.jsp?service=UK' ); oCMenu.makeMenu( 'DOWNLOAD_VISTA_DRIVERS_SUPPORT_DOWNLOAD', 'SUPPORT_DOWNLOAD', 'Download Vista Drivers', 'http://uk.computers.toshiba-europe.com/innovation/vista_drivers.jsp?service=UK' ); oCMenu.makeMenu( 'BIOS_DOWNLOAD_SUPPORT_DOWNLOAD', 'SUPPORT_DOWNLOAD', 'Update Your BIOS', 'http://uk.computers.toshiba-europe.com/innovation/download_bios.jsp?service=UK' ); oCMenu.makeMenu( 'DISCONTINUED_MODELS_UK_SUPPORT_DOWNLOAD', 'SUPPORT_DOWNLOAD', 'Discontinued Models', 'http://uk.computers.toshiba-europe.com/innovation/discontinued_models.jsp?service=UK' ); oCMenu.makeMenu( 'TEMPO_DOWNLOAD_SUPPORT_DOWNLOAD', 'SUPPORT_DOWNLOAD', 'TEMPRO Monitoring Service', 'http://uk.computers.toshiba-europe.com/innovation/generic_content.jsp?service=UK&ID=TEMPRO_RELEASE' ); oCMenu.makeMenu( 'toshiba_services_SUPPORT_DOWNLOAD', 'SUPPORT_DOWNLOAD', 'Toshiba Services', 'http://uk.computers.toshiba-europe.com/innovation/generic/laptop-services/' ); oCMenu.makeMenu( 'EverydayBusiness_BusinessComputing', 'BusinessComputing', 'Everyday Computing', 'http://uk.computers.toshiba-europe.com/innovation/generic/business-computing-everyday-computing-laptops/' ); oCMenu.makeMenu( 'BigScreenBusiness_BusinessComputing', 'BusinessComputing', 'Performance Mobile', 'http://uk.computers.toshiba-europe.com/innovation/generic/business-performance-mobile-laptops/' ); oCMenu.makeMenu( 'STLBusiness_BusinessComputing', 'BusinessComputing', 'Ultra Mobile', 'http://uk.computers.toshiba-europe.com/innovation/generic/business-thin-light-mobile-laptops/' ); oCMenu.makeMenu( 'PenComputing_BusinessComputing', 'BusinessComputing', 'Netbook', 'http://uk.computers.toshiba-europe.com/innovation/generic/business-netbook-nb200/' ); oCMenu.makeMenu( 'EverydayHome_HomeComputing', 'HomeComputing', 'Everyday Computing', 'http://uk.computers.toshiba-europe.com/innovation/generic/home-computing-everyday-home-laptops/' ); oCMenu.makeMenu( 'BigScreenHome_HomeComputing', 'HomeComputing', 'Home Entertainment', 'http://uk.computers.toshiba-europe.com/innovation/generic/home-entertainment-laptops/' ); oCMenu.makeMenu( 'TSLHome_HomeComputing', 'HomeComputing', 'Thin, Light & Mobile', 'http://uk.computers.toshiba-europe.com/innovation/generic/home-thin-light-mobile-laptops/' ); oCMenu.makeMenu( 'GamingMultimedia_HomeComputing', 'HomeComputing', 'Performance & Gaming', 'http://uk.computers.toshiba-europe.com/innovation/generic/home-computing-gaming-multimedia-laptops/' ); oCMenu.makeMenu( 'netbook_HomeComputing', 'HomeComputing', 'Netbook', 'http://uk.computers.toshiba-europe.com/innovation/generic/home-netbook-nb200/' ); oCMenu.makeMenu( 'HOW_TO_FIND_US_INSIDE_TOSHIBA', 'INSIDE_TOSHIBA', 'How to Find Us', 'http://uk.computers.toshiba-europe.com/innovation/generic/how-to-find-toshiba/' ); oCMenu.makeMenu( 'COMPANY_DETAILS_INSIDE_TOSHIBA', 'INSIDE_TOSHIBA', 'Company Details', 'http://uk.computers.toshiba-europe.com/innovation/generic_content.jsp?service=UK&ID=0000001d33' ); oCMenu.makeMenu( 'flatiron_Latest_Innovations', 'Latest_Innovations', 'Satellite T110 & T130 Laptops', 'http://uk.computers.toshiba-europe.com/innovation/generic/t130-t110-laptops/' ); oCMenu.makeMenu( 'mini_notebook_NB200_Latest_Innovations', 'Latest_Innovations', 'Mini Laptop NB200', 'javascript:var w=window.open( "http://uk.computers.toshiba-europe.com/images/en/NB200_UK/mini-laptop-nb200.html", "Toshiba" )' ); oCMenu.makeMenu( 'easyguard_Latest_Innovations', 'Latest_Innovations', 'EasyGuard - Protect your Laptop', 'javascript:var w=window.open( "http://www.toshiba.co.uk/easyguard/", "Toshiba" )' ); oCMenu.makeMenu( 'informationassurance_Latest_Innovations', 'Latest_Innovations', 'Information Assurance', 'javascript:var w=window.open( "http://www.toshiba.co.uk/informationassurance", "Toshiba" )' ); oCMenu.makeMenu( 'SunSolaris_Latest_Innovations', 'Latest_Innovations', 'Laptops with Sun OpenSolaris', 'http://uk.computers.toshiba-europe.com/innovation/generic/laptops-with-sun-solaris/' ); oCMenu.makeMenu( 'secured_Latest_Innovations', 'Latest_Innovations', 'SecuRED HDD', 'http://uk.computers.toshiba-europe.com/innovation/generic/secuRED-HDD/' ); oCMenu.makeMenu( 'windows7_Latest_Promotions', 'Latest_Promotions', 'Windows 7', 'http://uk.computers.toshiba-europe.com/innovation/generic/windows7/' ); oCMenu.makeMenu( 'cashback_2009_Latest_Promotions', 'Latest_Promotions', 'Cashback - Claim up to £50 cash back', 'http://uk.computers.toshiba-europe.com/innovation/generic/laptops-cashback-2009/' ); oCMenu.makeMenu( 'Moneyback_Latest_Promotions', 'Latest_Promotions', 'Reliability Refund Guarantee', 'http://uk.computers.toshiba-europe.com/innovation/generic_content.jsp?service=UK&service=UK&ID=product_guarantee' ); oCMenu.makeMenu( 'CarbonZero_Latest_Promotions', 'Latest_Promotions', 'CarbonZero', 'javascript:var w=window.open( "http://www.toshiba.co.uk/carbonzero", "Toshiba" )' ); //Leave this line - it constructs the menu oCMenu.construct()