// 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', '', 'Allmänt', '' ); oCMenu.makeMenu( 'PRODUCTS', '', 'Produkter', 'http://nordic.computers.toshiba-europe.com/innovation/notebooks_desktops_servers_family_page.jsp?LNG=16&service=ND' ); oCMenu.makeMenu( 'SERVICES_SOLUTIONS', '', 'Garanti', '' ); oCMenu.makeMenu( 'SUPPORT_DOWNLOAD', '', 'Support och Nedladdningar', 'http://nordic.computers.toshiba-europe.com/innovation/generic_content.jsp?LNG=16&service=ND&ID=SUPPORT_PORTAL' ); oCMenu.makeMenu( 'NEWS_INSIDE', 'INSIDE', 'Nyheter', 'http://nordic.computers.toshiba-europe.com/innovation/news_article_index.jsp?LNG=16&service=ND' ); oCMenu.makeMenu( 'TECHNOLOGY_TRENDS_AND_VIEWS_INSIDE', 'INSIDE', 'Tekniktrender', 'http://nordic.computers.toshiba-europe.com/innovation/future_techs.jsp?LNG=16&service=ND&ID=technology_homepage' ); oCMenu.makeMenu( 'MEDIA_PRESS_CENTRE_INSIDE', 'INSIDE', 'Produktbilder', 'javascript:var w=window.open( "http://toshiba.press.jadis.net/index.phtml?language=swe", "Toshiba" )' ); oCMenu.makeMenu( 'MENU_ITEM2', 'INSIDE', 'Fråga experten', 'http://nordic.computers.toshiba-europe.com/innovation/workshop_index.jsp?LNG=16&service=ND' ); oCMenu.makeMenu( 'MENU_ITEM1', 'INSIDE', 'Återförsäljare', 'javascript:var w=window.open( "http://www.toshiba-web.com/se-reseller/", "Toshiba" )' ); oCMenu.makeMenu( 'INSIDE_TOSHIBA', 'INSIDE', 'Företaget Toshiba', '' ); oCMenu.makeMenu( 'ND_images_resellers_INSIDE', 'INSIDE', 'Bilddatabas bärbara datorer', 'javascript:var w=window.open( "http://www.toshiba-europe.com/bv/Press_DB/Index.html", "Toshiba" )' ); oCMenu.makeMenu( 'TV_DVD_INSIDE', 'INSIDE', 'Toshiba LCD-TV & DVD', 'javascript:var w=window.open( "http://www.toshiba-tv-dvd.se/", "Toshiba" )' ); oCMenu.makeMenu( 'ND_Notebooks', 'PRODUCTS', 'Bärbara datorer', '' ); oCMenu.makeMenu( 'OPTIONS_PRODUCTS', 'PRODUCTS', 'Tillbehör', 'http://nordic.computers.toshiba-europe.com/innovation/se/generic/barbart-alternativ-tillbehor/' ); oCMenu.makeMenu( 'DISCONTINUED_MODELS_PRODUCTS', 'PRODUCTS', 'Utgångna modeller', 'http://nordic.computers.toshiba-europe.com/innovation/discontinued_models.jsp?LNG=16&service=ND' ); oCMenu.makeMenu( 'toshiba_tv_PRODUCTS', 'PRODUCTS', 'Toshiba Produkter Videofilm', 'http://nordic.computers.toshiba-europe.com/innovation/generic_content.jsp?LNG=16&service=ND&ID=toshiba-tv' ); oCMenu.makeMenu( 'SERVICES_MENU_ITEM1', 'SERVICES_SOLUTIONS', 'Standardgaranti', 'http://nordic.computers.toshiba-europe.com/innovation/generic_content.jsp?LNG=16&service=ND&ID=STANDARD_WARRANTY' ); oCMenu.makeMenu( 'SERVICES_MENU_ITEM2', 'SERVICES_SOLUTIONS', 'Förläng din garanti', 'http://nordic.computers.toshiba-europe.com/innovation/generic_content.jsp?LNG=16&service=ND&ID=000000147b' ); oCMenu.makeMenu( 'SERVICES_MENU_ITEM3', 'SERVICES_SOLUTIONS', 'Utöka din garanti', 'http://nordic.computers.toshiba-europe.com/innovation/generic_content.jsp?LNG=16&service=ND&ID=000000175f' ); oCMenu.makeMenu( 'REGISTER_SERVICE', 'SERVICES_SOLUTIONS', 'Registrera din garanti', 'http://nordic.computers.toshiba-europe.com/innovation/jsp/true.do?tc=TC_START&preset=TRUE_BV_REGISTRATION&LNG=16?LNG=16&service=ND' ); oCMenu.makeMenu( 'SUPPORT_HOMEPAGE', 'SUPPORT_DOWNLOAD', 'Support och Nedladdningar', 'http://nordic.computers.toshiba-europe.com/innovation/generic_content.jsp?LNG=16&service=ND&ID=SUPPORT_PORTAL', '', '', '', '', '', '', '', 'left' ); oCMenu.makeMenu( 'SUPPORT_FORUM_LINK', 'SUPPORT_DOWNLOAD', 'Supportforum', 'http://nordic.computers.toshiba-europe.com/innovation/go_to_forum.jsp?LNG=16&service=ND&nav_btn=no,toshiba_ext, scrollbars=yes,resizable=yes,toolbar=yes,width=980,height=735', '', '', '', '', '', '', '', 'left' ); oCMenu.makeMenu( 'DOWNLOAD_VISTA_DRIVERS_SUPPORT_DOWNLOAD', 'SUPPORT_DOWNLOAD', 'Vista-drivrutinerna', 'http://nordic.computers.toshiba-europe.com/innovation/vista_drivers.jsp?LNG=16&service=ND' ); oCMenu.makeMenu( 'SUPPORT_MENU_ITEM2', 'SUPPORT_DOWNLOAD', 'Direktsupport', 'http://nordic.computers.toshiba-europe.com/innovation/generic_content.jsp?LNG=16&service=ND&ID=DIRECT_SUPPORT', '', '', '', '', '', '', '', 'left' ); oCMenu.makeMenu( 'SUPPORT_MENU_ITEM1', 'SUPPORT_DOWNLOAD', 'Garanti information', 'http://nordic.computers.toshiba-europe.com/innovation/generic_content.jsp?LNG=16&service=ND&ID=STANDARD_WARRANTY', '', '', '', '', '', '', '', 'left' ); oCMenu.makeMenu( 'FIND_ASP', 'SUPPORT_DOWNLOAD', 'Serviceställen', 'http://nordic.computers.toshiba-europe.com/innovation/generic_content.jsp?LNG=16&service=ND&ID=ASP_SUPPORT', '', '', '', '', '', '', '', 'left' ); oCMenu.makeMenu( 'ABOUT_TOSHIBA_INSIDE_TOSHIBA', 'INSIDE_TOSHIBA', 'Om Toshiba', 'http://nordic.computers.toshiba-europe.com/innovation/about_toshiba.jsp?LNG=16&service=ND' ); oCMenu.makeMenu( 'CONTACT_TOSHIBA_INSIDE_TOSHIBA', 'INSIDE_TOSHIBA', 'Kontakta Toshiba', 'http://nordic.computers.toshiba-europe.com/innovation/contact_toshiba.jsp?LNG=16&service=ND' ); oCMenu.makeMenu( 'Satellite_ND_Notebooks', 'ND_Notebooks', 'Satellite', 'http://nordic.computers.toshiba-europe.com/innovation/jsp/familyHomepage.do?LNG=16&service=ND&FAMILY_ID=2326' ); oCMenu.makeMenu( 'satellite_pro_ND_Notebooks', 'ND_Notebooks', 'Satellite Pro', 'http://nordic.computers.toshiba-europe.com/innovation/jsp/familyHomepage.do?LNG=16&service=ND&FAMILY_ID=2327' ); oCMenu.makeMenu( 'Qosmio_ND_Notebooks', 'ND_Notebooks', 'Qosmio', 'http://nordic.computers.toshiba-europe.com/innovation/jsp/familyHomepage.do?LNG=16&service=ND&FAMILY_ID=96787' ); oCMenu.makeMenu( 'Tecra_ND_Notebooks', 'ND_Notebooks', 'Tecra', 'http://nordic.computers.toshiba-europe.com/innovation/jsp/familyHomepage.do?LNG=16&service=ND&FAMILY_ID=2328' ); oCMenu.makeMenu( 'Portege_ND_Notebooks', 'ND_Notebooks', 'Portégé', 'http://nordic.computers.toshiba-europe.com/innovation/jsp/familyHomepage.do?LNG=16&service=ND&FAMILY_ID=2329' ); oCMenu.makeMenu( 'NetbookNB100_ND_Notebooks', 'ND_Notebooks', 'Mini Bärbara Datorer', 'http://nordic.computers.toshiba-europe.com/innovation/se/family/Netbook-NB100/1058018/' ); //Leave this line - it constructs the menu oCMenu.construct()