var startupLinkID = 'ctl00_MainContent_TopicCloud1_startUpLink'; var startupLinkBehavior = 'b_explore'; var TopicList = new Array(15); var hdnStateID = 'ctl00_MainContent_TopicCloud1_hiddenState'; var hdnTopicID = 'ctl00_MainContent_TopicCloud1_hiddenTopic'; var allowServerEvents = false; var TopicSelectedCallback = ShowTopicDetails; var TopicHoveredCallback = ShowTopicDetails; TopicList[0] = new Topic('Build Your Brand', 'BuildBrand', 'ctl00_MainContent_TopicCloud1_lnk_BuildBrand', '', 'b_tophlt_ctl00_MainContent_TopicCloud1_lnk_BuildBrand', 'b_subhlt_ctl00_MainContent_TopicCloud1_lnk_BuildBrand', 'b_topsel_ctl00_MainContent_TopicCloud1_lnk_BuildBrand', 'b_topselchild_ctl00_MainContent_TopicCloud1_lnk_BuildBrand', 'b_subtopsel_ctl00_MainContent_TopicCloud1_lnk_BuildBrand', 'b_subtopselpar_ctl00_MainContent_TopicCloud1_lnk_BuildBrand', 'b_zoom_ctl00_MainContent_TopicCloud1_lnk_BuildBrand', 'b_zoomout_ctl00_MainContent_TopicCloud1_lnk_BuildBrand', 'b_default_ctl00_MainContent_TopicCloud1_lnk_BuildBrand', 'b_tintro_ctl00_MainContent_TopicCloud1_lnk_BuildBrand', 'b_topexthigh_ctl00_MainContent_TopicCloud1_lnk_BuildBrand'); TopicList[1] = new Topic('Design a logo', 'DesignLogo', 'ctl00_MainContent_TopicCloud1_lnk_DesignLogo', '', 'b_tophlt_ctl00_MainContent_TopicCloud1_lnk_DesignLogo', 'b_subhlt_ctl00_MainContent_TopicCloud1_lnk_DesignLogo', 'b_topsel_ctl00_MainContent_TopicCloud1_lnk_DesignLogo', 'b_topselchild_ctl00_MainContent_TopicCloud1_lnk_DesignLogo', 'b_subtopsel_ctl00_MainContent_TopicCloud1_lnk_DesignLogo', 'b_subtopselpar_ctl00_MainContent_TopicCloud1_lnk_DesignLogo', 'b_zoom_ctl00_MainContent_TopicCloud1_lnk_DesignLogo', 'b_zoomout_ctl00_MainContent_TopicCloud1_lnk_DesignLogo', 'b_default_ctl00_MainContent_TopicCloud1_lnk_DesignLogo', 'b_tintro_ctl00_MainContent_TopicCloud1_lnk_DesignLogo', 'b_topexthigh_ctl00_MainContent_TopicCloud1_lnk_DesignLogo'); TopicList[2] = new Topic('Manage inventory efficiently', 'ManageInventory', 'ctl00_MainContent_TopicCloud1_lnk_ManageInventory', '', 'b_tophlt_ctl00_MainContent_TopicCloud1_lnk_ManageInventory', 'b_subhlt_ctl00_MainContent_TopicCloud1_lnk_ManageInventory', 'b_topsel_ctl00_MainContent_TopicCloud1_lnk_ManageInventory', 'b_topselchild_ctl00_MainContent_TopicCloud1_lnk_ManageInventory', 'b_subtopsel_ctl00_MainContent_TopicCloud1_lnk_ManageInventory', 'b_subtopselpar_ctl00_MainContent_TopicCloud1_lnk_ManageInventory', 'b_zoom_ctl00_MainContent_TopicCloud1_lnk_ManageInventory', 'b_zoomout_ctl00_MainContent_TopicCloud1_lnk_ManageInventory', 'b_default_ctl00_MainContent_TopicCloud1_lnk_ManageInventory', 'b_tintro_ctl00_MainContent_TopicCloud1_lnk_ManageInventory', 'b_topexthigh_ctl00_MainContent_TopicCloud1_lnk_ManageInventory'); TopicList[3] = new Topic('Start Selling', 'StartSelling', 'ctl00_MainContent_TopicCloud1_lnk_StartSelling', '', 'b_tophlt_ctl00_MainContent_TopicCloud1_lnk_StartSelling', 'b_subhlt_ctl00_MainContent_TopicCloud1_lnk_StartSelling', 'b_topsel_ctl00_MainContent_TopicCloud1_lnk_StartSelling', 'b_topselchild_ctl00_MainContent_TopicCloud1_lnk_StartSelling', 'b_subtopsel_ctl00_MainContent_TopicCloud1_lnk_StartSelling', 'b_subtopselpar_ctl00_MainContent_TopicCloud1_lnk_StartSelling', 'b_zoom_ctl00_MainContent_TopicCloud1_lnk_StartSelling', 'b_zoomout_ctl00_MainContent_TopicCloud1_lnk_StartSelling', 'b_default_ctl00_MainContent_TopicCloud1_lnk_StartSelling', 'b_tintro_ctl00_MainContent_TopicCloud1_lnk_StartSelling', 'b_topexthigh_ctl00_MainContent_TopicCloud1_lnk_StartSelling'); TopicList[4] = new Topic('Print marketing materials', 'MarketingMaterials', 'ctl00_MainContent_TopicCloud1_lnk_MarketingMaterials', '', 'b_tophlt_ctl00_MainContent_TopicCloud1_lnk_MarketingMaterials', 'b_subhlt_ctl00_MainContent_TopicCloud1_lnk_MarketingMaterials', 'b_topsel_ctl00_MainContent_TopicCloud1_lnk_MarketingMaterials', 'b_topselchild_ctl00_MainContent_TopicCloud1_lnk_MarketingMaterials', 'b_subtopsel_ctl00_MainContent_TopicCloud1_lnk_MarketingMaterials', 'b_subtopselpar_ctl00_MainContent_TopicCloud1_lnk_MarketingMaterials', 'b_zoom_ctl00_MainContent_TopicCloud1_lnk_MarketingMaterials', 'b_zoomout_ctl00_MainContent_TopicCloud1_lnk_MarketingMaterials', 'b_default_ctl00_MainContent_TopicCloud1_lnk_MarketingMaterials', 'b_tintro_ctl00_MainContent_TopicCloud1_lnk_MarketingMaterials', 'b_topexthigh_ctl00_MainContent_TopicCloud1_lnk_MarketingMaterials'); TopicList[5] = new Topic('Get an online store', 'SellOnline', 'ctl00_MainContent_TopicCloud1_lnk_SellOnline', '', 'b_tophlt_ctl00_MainContent_TopicCloud1_lnk_SellOnline', 'b_subhlt_ctl00_MainContent_TopicCloud1_lnk_SellOnline', 'b_topsel_ctl00_MainContent_TopicCloud1_lnk_SellOnline', 'b_topselchild_ctl00_MainContent_TopicCloud1_lnk_SellOnline', 'b_subtopsel_ctl00_MainContent_TopicCloud1_lnk_SellOnline', 'b_subtopselpar_ctl00_MainContent_TopicCloud1_lnk_SellOnline', 'b_zoom_ctl00_MainContent_TopicCloud1_lnk_SellOnline', 'b_zoomout_ctl00_MainContent_TopicCloud1_lnk_SellOnline', 'b_default_ctl00_MainContent_TopicCloud1_lnk_SellOnline', 'b_tintro_ctl00_MainContent_TopicCloud1_lnk_SellOnline', 'b_topexthigh_ctl00_MainContent_TopicCloud1_lnk_SellOnline'); TopicList[6] = new Topic('Track customer relationships', 'TrackCustomerRelationships', 'ctl00_MainContent_TopicCloud1_lnk_TrackCustomerRelationships', '', 'b_tophlt_ctl00_MainContent_TopicCloud1_lnk_TrackCustomerRelationships', 'b_subhlt_ctl00_MainContent_TopicCloud1_lnk_TrackCustomerRelationships', 'b_topsel_ctl00_MainContent_TopicCloud1_lnk_TrackCustomerRelationships', 'b_topselchild_ctl00_MainContent_TopicCloud1_lnk_TrackCustomerRelationships', 'b_subtopsel_ctl00_MainContent_TopicCloud1_lnk_TrackCustomerRelationships', 'b_subtopselpar_ctl00_MainContent_TopicCloud1_lnk_TrackCustomerRelationships', 'b_zoom_ctl00_MainContent_TopicCloud1_lnk_TrackCustomerRelationships', 'b_zoomout_ctl00_MainContent_TopicCloud1_lnk_TrackCustomerRelationships', 'b_default_ctl00_MainContent_TopicCloud1_lnk_TrackCustomerRelationships', 'b_tintro_ctl00_MainContent_TopicCloud1_lnk_TrackCustomerRelationships', 'b_topexthigh_ctl00_MainContent_TopicCloud1_lnk_TrackCustomerRelationships'); TopicList[7] = new Topic('Do-It-Yourself Marketing', 'DoItYourselfMarketing', 'ctl00_MainContent_TopicCloud1_lnk_DoItYourselfMarketing', '', 'b_tophlt_ctl00_MainContent_TopicCloud1_lnk_DoItYourselfMarketing', 'b_subhlt_ctl00_MainContent_TopicCloud1_lnk_DoItYourselfMarketing', 'b_topsel_ctl00_MainContent_TopicCloud1_lnk_DoItYourselfMarketing', 'b_topselchild_ctl00_MainContent_TopicCloud1_lnk_DoItYourselfMarketing', 'b_subtopsel_ctl00_MainContent_TopicCloud1_lnk_DoItYourselfMarketing', 'b_subtopselpar_ctl00_MainContent_TopicCloud1_lnk_DoItYourselfMarketing', 'b_zoom_ctl00_MainContent_TopicCloud1_lnk_DoItYourselfMarketing', 'b_zoomout_ctl00_MainContent_TopicCloud1_lnk_DoItYourselfMarketing', 'b_default_ctl00_MainContent_TopicCloud1_lnk_DoItYourselfMarketing', 'b_tintro_ctl00_MainContent_TopicCloud1_lnk_DoItYourselfMarketing', 'b_topexthigh_ctl00_MainContent_TopicCloud1_lnk_DoItYourselfMarketing'); TopicList[8] = new Topic('Develop a marketing plan', 'DevelopAMarketingPlan', 'ctl00_MainContent_TopicCloud1_lnk_DevelopAMarketingPlan', '', 'b_tophlt_ctl00_MainContent_TopicCloud1_lnk_DevelopAMarketingPlan', 'b_subhlt_ctl00_MainContent_TopicCloud1_lnk_DevelopAMarketingPlan', 'b_topsel_ctl00_MainContent_TopicCloud1_lnk_DevelopAMarketingPlan', 'b_topselchild_ctl00_MainContent_TopicCloud1_lnk_DevelopAMarketingPlan', 'b_subtopsel_ctl00_MainContent_TopicCloud1_lnk_DevelopAMarketingPlan', 'b_subtopselpar_ctl00_MainContent_TopicCloud1_lnk_DevelopAMarketingPlan', 'b_zoom_ctl00_MainContent_TopicCloud1_lnk_DevelopAMarketingPlan', 'b_zoomout_ctl00_MainContent_TopicCloud1_lnk_DevelopAMarketingPlan', 'b_default_ctl00_MainContent_TopicCloud1_lnk_DevelopAMarketingPlan', 'b_tintro_ctl00_MainContent_TopicCloud1_lnk_DevelopAMarketingPlan', 'b_topexthigh_ctl00_MainContent_TopicCloud1_lnk_DevelopAMarketingPlan'); TopicList[9] = new Topic('Get professional e-mail addresses', 'GetCustomEmailAddress', 'ctl00_MainContent_TopicCloud1_lnk_GetCustomEmailAddress', '', 'b_tophlt_ctl00_MainContent_TopicCloud1_lnk_GetCustomEmailAddress', 'b_subhlt_ctl00_MainContent_TopicCloud1_lnk_GetCustomEmailAddress', 'b_topsel_ctl00_MainContent_TopicCloud1_lnk_GetCustomEmailAddress', 'b_topselchild_ctl00_MainContent_TopicCloud1_lnk_GetCustomEmailAddress', 'b_subtopsel_ctl00_MainContent_TopicCloud1_lnk_GetCustomEmailAddress', 'b_subtopselpar_ctl00_MainContent_TopicCloud1_lnk_GetCustomEmailAddress', 'b_zoom_ctl00_MainContent_TopicCloud1_lnk_GetCustomEmailAddress', 'b_zoomout_ctl00_MainContent_TopicCloud1_lnk_GetCustomEmailAddress', 'b_default_ctl00_MainContent_TopicCloud1_lnk_GetCustomEmailAddress', 'b_tintro_ctl00_MainContent_TopicCloud1_lnk_GetCustomEmailAddress', 'b_topexthigh_ctl00_MainContent_TopicCloud1_lnk_GetCustomEmailAddress'); TopicList[10] = new Topic('Build a website', 'BuildAWebSite', 'ctl00_MainContent_TopicCloud1_lnk_BuildAWebSite', '', 'b_tophlt_ctl00_MainContent_TopicCloud1_lnk_BuildAWebSite', 'b_subhlt_ctl00_MainContent_TopicCloud1_lnk_BuildAWebSite', 'b_topsel_ctl00_MainContent_TopicCloud1_lnk_BuildAWebSite', 'b_topselchild_ctl00_MainContent_TopicCloud1_lnk_BuildAWebSite', 'b_subtopsel_ctl00_MainContent_TopicCloud1_lnk_BuildAWebSite', 'b_subtopselpar_ctl00_MainContent_TopicCloud1_lnk_BuildAWebSite', 'b_zoom_ctl00_MainContent_TopicCloud1_lnk_BuildAWebSite', 'b_zoomout_ctl00_MainContent_TopicCloud1_lnk_BuildAWebSite', 'b_default_ctl00_MainContent_TopicCloud1_lnk_BuildAWebSite', 'b_tintro_ctl00_MainContent_TopicCloud1_lnk_BuildAWebSite', 'b_topexthigh_ctl00_MainContent_TopicCloud1_lnk_BuildAWebSite'); TopicList[11] = new Topic('Setup Your Office', 'GetOrganized', 'ctl00_MainContent_TopicCloud1_lnk_GetOrganized', '', 'b_tophlt_ctl00_MainContent_TopicCloud1_lnk_GetOrganized', 'b_subhlt_ctl00_MainContent_TopicCloud1_lnk_GetOrganized', 'b_topsel_ctl00_MainContent_TopicCloud1_lnk_GetOrganized', 'b_topselchild_ctl00_MainContent_TopicCloud1_lnk_GetOrganized', 'b_subtopsel_ctl00_MainContent_TopicCloud1_lnk_GetOrganized', 'b_subtopselpar_ctl00_MainContent_TopicCloud1_lnk_GetOrganized', 'b_zoom_ctl00_MainContent_TopicCloud1_lnk_GetOrganized', 'b_zoomout_ctl00_MainContent_TopicCloud1_lnk_GetOrganized', 'b_default_ctl00_MainContent_TopicCloud1_lnk_GetOrganized', 'b_tintro_ctl00_MainContent_TopicCloud1_lnk_GetOrganized', 'b_topexthigh_ctl00_MainContent_TopicCloud1_lnk_GetOrganized'); TopicList[12] = new Topic('Choose a computer', 'ChooseAComputer', 'ctl00_MainContent_TopicCloud1_lnk_ChooseAComputer', '', 'b_tophlt_ctl00_MainContent_TopicCloud1_lnk_ChooseAComputer', 'b_subhlt_ctl00_MainContent_TopicCloud1_lnk_ChooseAComputer', 'b_topsel_ctl00_MainContent_TopicCloud1_lnk_ChooseAComputer', 'b_topselchild_ctl00_MainContent_TopicCloud1_lnk_ChooseAComputer', 'b_subtopsel_ctl00_MainContent_TopicCloud1_lnk_ChooseAComputer', 'b_subtopselpar_ctl00_MainContent_TopicCloud1_lnk_ChooseAComputer', 'b_zoom_ctl00_MainContent_TopicCloud1_lnk_ChooseAComputer', 'b_zoomout_ctl00_MainContent_TopicCloud1_lnk_ChooseAComputer', 'b_default_ctl00_MainContent_TopicCloud1_lnk_ChooseAComputer', 'b_tintro_ctl00_MainContent_TopicCloud1_lnk_ChooseAComputer', 'b_topexthigh_ctl00_MainContent_TopicCloud1_lnk_ChooseAComputer'); TopicList[13] = new Topic('Select the right software', 'SelectSoftware', 'ctl00_MainContent_TopicCloud1_lnk_SelectSoftware', '', 'b_tophlt_ctl00_MainContent_TopicCloud1_lnk_SelectSoftware', 'b_subhlt_ctl00_MainContent_TopicCloud1_lnk_SelectSoftware', 'b_topsel_ctl00_MainContent_TopicCloud1_lnk_SelectSoftware', 'b_topselchild_ctl00_MainContent_TopicCloud1_lnk_SelectSoftware', 'b_subtopsel_ctl00_MainContent_TopicCloud1_lnk_SelectSoftware', 'b_subtopselpar_ctl00_MainContent_TopicCloud1_lnk_SelectSoftware', 'b_zoom_ctl00_MainContent_TopicCloud1_lnk_SelectSoftware', 'b_zoomout_ctl00_MainContent_TopicCloud1_lnk_SelectSoftware', 'b_default_ctl00_MainContent_TopicCloud1_lnk_SelectSoftware', 'b_tintro_ctl00_MainContent_TopicCloud1_lnk_SelectSoftware', 'b_topexthigh_ctl00_MainContent_TopicCloud1_lnk_SelectSoftware'); TopicList[14] = new Topic('Protect your computer', 'ProtectYourComputer', 'ctl00_MainContent_TopicCloud1_lnk_ProtectYourComputer', '', 'b_tophlt_ctl00_MainContent_TopicCloud1_lnk_ProtectYourComputer', 'b_subhlt_ctl00_MainContent_TopicCloud1_lnk_ProtectYourComputer', 'b_topsel_ctl00_MainContent_TopicCloud1_lnk_ProtectYourComputer', 'b_topselchild_ctl00_MainContent_TopicCloud1_lnk_ProtectYourComputer', 'b_subtopsel_ctl00_MainContent_TopicCloud1_lnk_ProtectYourComputer', 'b_subtopselpar_ctl00_MainContent_TopicCloud1_lnk_ProtectYourComputer', 'b_zoom_ctl00_MainContent_TopicCloud1_lnk_ProtectYourComputer', 'b_zoomout_ctl00_MainContent_TopicCloud1_lnk_ProtectYourComputer', 'b_default_ctl00_MainContent_TopicCloud1_lnk_ProtectYourComputer', 'b_tintro_ctl00_MainContent_TopicCloud1_lnk_ProtectYourComputer', 'b_topexthigh_ctl00_MainContent_TopicCloud1_lnk_ProtectYourComputer'); TopicList[0].addSubTopic('DesignLogo'); TopicList[0].addSubTopic('MarketingMaterials'); TopicList[0].addRelatedProduct('OfficeSmallBusiness','

Office Small Business 2007 includes both Publisher 2007 and Word 2007, which are key applications you can use to create and express your brand.

','images/OfficeSmallBusinessLogoType.jpg'); TopicList[0].addCTA('OfficeSmallBusiness','TryCTA','Free Trial','OfficeSmallBusinessTry','http://us20.trymicrosoftoffice.com/product.aspx?re_ms=oo&family=officesmallbusiness&culture=en-US','window'); TopicList[0].addCTA('OfficeSmallBusiness','BuyCTA','How to Buy','OfficeSmallBusinessBuy','/smallbusiness/products/BaseProductPage/StartupBuyView.aspx?ProductID=Office2007SmallBusiness','iframe'); TopicList[1].addRelatedProduct('OfficeSmallBusiness','

You can design a logo yourself with Publisher 2007 and insert it directly into flyers and other marketing materials.

','images/OfficeSmallBusinessLogoType.jpg'); TopicList[1].addCTA('OfficeSmallBusiness','TryCTA','Free Trial','OfficeSmallBusinessTry','http://us20.trymicrosoftoffice.com/product.aspx?re_ms=oo&family=officesmallbusiness&culture=en-US','window'); TopicList[1].addCTA('OfficeSmallBusiness','BuyCTA','How to Buy','OfficeSmallBusinessBuy','/smallbusiness/products/BaseProductPage/StartupBuyView.aspx?ProductID=Office2007SmallBusiness','iframe'); TopicList[2].addRelatedProduct('OfficeSmallBusiness','

If you\'re starting small and your product line or services offerings are limited, Excel 2007 can help you track the bottom line and generate reports.

','images/OfficeSmallBusinessLogoType.jpg'); TopicList[2].addCTA('OfficeSmallBusiness','TryCTA','Free Trial','OfficeSmallBusinessTry','http://us20.trymicrosoftoffice.com/product.aspx?re_ms=oo&family=officesmallbusiness&culture=en-US','window'); TopicList[2].addCTA('OfficeSmallBusiness','BuyCTA','How to Buy','OfficeSmallBusinessBuy','/smallbusiness/products/BaseProductPage/StartupBuyView.aspx?ProductID=Office2007SmallBusiness','iframe'); TopicList[3].addSubTopic('SellOnline'); TopicList[3].addSubTopic('ManageInventory'); TopicList[3].addSubTopic('TrackCustomerRelationships'); TopicList[3].addRelatedProduct('OfficeLive','

Office Live Small Business makes it easy to set up your own professional-looking website, complete with your own logos, images, and custom site look and feel.

','images/OfficeLiveSBLogoType.jpg'); TopicList[3].addCTA('OfficeLive','LearnCTA','Learn more','OfficeLiveLearn','http://clk.atdmt.com/DDB/go/111981418/direct/01/','window'); TopicList[3].addCTA('OfficeLive','BuyCTA','Free Signup','OfficeLiveBuy','http://smallbusiness.officelive.com','window'); TopicList[4].addRelatedProduct('OfficeSmallBusiness','

You can use Word 2007 to create branded stationery and forms and Publisher 2007 for business cards, letterhead and flyers.

','images/OfficeSmallBusinessLogoType.jpg'); TopicList[4].addCTA('OfficeSmallBusiness','TryCTA','Free Trial','OfficeSmallBusinessTry','http://us20.trymicrosoftoffice.com/product.aspx?re_ms=oo&family=officesmallbusiness&culture=en-US','window'); TopicList[4].addCTA('OfficeSmallBusiness','BuyCTA','How to Buy','OfficeSmallBusinessBuy','/smallbusiness/products/BaseProductPage/StartupBuyView.aspx?ProductID=Office2007SmallBusiness','iframe'); TopicList[5].addRelatedProduct('OfficeLive','

Office Live Small Business offers a 30-day free trial of Store Manager, which allows you to create your own fully customized online store and sell on eBay.

','images/OfficeLiveSBLogoType.jpg'); TopicList[5].addCTA('OfficeLive','LearnCTA','Learn more','OfficeLiveLearn','http://clk.atdmt.com/DDB/go/111981418/direct/01/','window'); TopicList[5].addCTA('OfficeLive','BuyCTA','Free Signup','OfficeLiveBuy','http://smallbusiness.officelive.com','window'); TopicList[6].addRelatedProduct('OfficeSmallBusiness','

Outlook 2007 with Business Contact Manager lets you manage and share customer information, track sales opportunities, and more.

','images/OfficeSmallBusinessLogoType.jpg'); TopicList[6].addCTA('OfficeSmallBusiness','TryCTA','Free Trial','OfficeSmallBusinessTry','http://us20.trymicrosoftoffice.com/product.aspx?re_ms=oo&family=officesmallbusiness&culture=en-US','window'); TopicList[6].addCTA('OfficeSmallBusiness','BuyCTA','How to Buy','OfficeSmallBusinessBuy','/smallbusiness/products/BaseProductPage/StartupBuyView.aspx?ProductID=Office2007SmallBusiness','iframe'); TopicList[7].addSubTopic('BuildAWebSite'); TopicList[7].addSubTopic('DevelopAMarketingPlan'); TopicList[7].addSubTopic('GetCustomEmailAddress'); TopicList[7].addRelatedProduct('OfficeSmallBusiness','

Office 2007 Small Business includes Publisher 2007, which can help you create and publish a wide range of marketing publications for print, e-mail and the Web.

','images/OfficeSmallBusinessLogoType.jpg'); TopicList[7].addCTA('OfficeSmallBusiness','TryCTA','Free Trial','OfficeSmallBusinessTry','http://us20.trymicrosoftoffice.com/product.aspx?re_ms=oo&family=officesmallbusiness&culture=en-US','window'); TopicList[7].addCTA('OfficeSmallBusiness','BuyCTA','How to Buy','OfficeSmallBusinessBuy','/smallbusiness/products/BaseProductPage/StartupBuyView.aspx?ProductID=Office2007SmallBusiness','iframe'); TopicList[8].addRelatedProduct('OfficeSmallBusiness','

You can access many free, downloadable templates from Office Online while working in Office 2007 Small Business, including a marketing plan template.','images/OfficeSmallBusinessLogoType.jpg'); TopicList[8].addCTA('OfficeSmallBusiness','TryCTA','Free Trial','OfficeSmallBusinessTry','http://us20.trymicrosoftoffice.com/product.aspx?re_ms=oo&family=officesmallbusiness&culture=en-US','window'); TopicList[8].addCTA('OfficeSmallBusiness','BuyCTA','How to Buy','OfficeSmallBusinessBuy','/smallbusiness/products/BaseProductPage/StartupBuyView.aspx?ProductID=Office2007SmallBusiness','iframe'); TopicList[9].addRelatedProduct('OfficeLive','

Microsoft Office Live offers 100 company-branded e-mail accounts free for the first year, and $14.95/year thereafter.

','images/OfficeLiveSBLogoType.jpg'); TopicList[9].addCTA('OfficeLive','LearnCTA','Learn more','OfficeLiveLearn','http://clk.atdmt.com/DDB/go/111981418/direct/01/','window'); TopicList[9].addCTA('OfficeLive','BuyCTA','Free Signup','OfficeLiveBuy','http://smallbusiness.officelive.com','window'); TopicList[10].addRelatedProduct('OfficeLive','

Office Live Small Business makes it easy to set up your own professional-looking website, complete with your own logos, images, and custom site look-and-feel.

','images/OfficeLiveSBLogoType.jpg'); TopicList[10].addCTA('OfficeLive','LearnCTA','Learn more','OfficeLiveLearn','http://clk.atdmt.com/DDB/go/111981418/direct/01/','window'); TopicList[10].addCTA('OfficeLive','BuyCTA','Free Signup','OfficeLiveBuy','http://smallbusiness.officelive.com','window'); TopicList[11].addSubTopic('ChooseAComputer'); TopicList[11].addSubTopic('SelectSoftware'); TopicList[11].addSubTopic('ProtectYourComputer'); TopicList[11].addRelatedProduct('WindowsVista','

The operating system designed with your business in mind: improved performance and productivity.

','images/Windows7LogoType.jpg'); TopicList[11].addCTA('WindowsVista','TryCTA','Learn more','WindowsVistaTry','/smallbusiness/products/windows-7/default.aspx#Overview','window'); TopicList[11].addCTA('WindowsVista','BuyCTA','How to Buy','WindowsVistaBuy','/smallbusiness/products/windows-7/default.aspx#Buy','window'); TopicList[12].addRelatedProduct('WindowsVista','

The operating system designed with your business in mind: improved performance and productivity.

','images/Windows7LogoType.jpg'); TopicList[12].addCTA('WindowsVista','TryCTA','Learn more','WindowsVistaTry','/smallbusiness/products/windows-7/default.aspx#Overview','window'); TopicList[12].addCTA('WindowsVista','BuyCTA','How to Buy','WindowsVistaBuy','/smallbusiness/products/windows-7/default.aspx#Buy','window'); TopicList[13].addRelatedProduct('OfficeSmallBusiness','

Includes programs to create documents, make spreadsheets, manage e-mail, develop presentations, and more.

','images/OfficeSmallBusinessLogoType.jpg'); TopicList[13].addCTA('OfficeSmallBusiness','TryCTA','Free Trial','OfficeSmallBusinessTry','http://us20.trymicrosoftoffice.com/product.aspx?re_ms=oo&family=officesmallbusiness&culture=en-US','window'); TopicList[13].addCTA('OfficeSmallBusiness','BuyCTA','How to Buy','OfficeSmallBusinessBuy','/smallbusiness/products/BaseProductPage/StartupBuyView.aspx?ProductID=Office2007SmallBusiness','iframe'); TopicList[13].addRelatedProduct('WindowsVista','

The operating system designed with your business in mind: improved performance and productivity.

','images/Windows7LogoType.jpg'); TopicList[13].addCTA('WindowsVista','TryCTA','Learn more','WindowsVistaTry','/smallbusiness/products/windows-7/default.aspx#Overview','window'); TopicList[13].addCTA('WindowsVista','BuyCTA','How to Buy','WindowsVistaBuy','/smallbusiness/products/windows-7/default.aspx#Buy','window'); TopicList[14].addRelatedProduct('OfficeSmallBusiness','

Office Outlook 2007 includes a junk e-mail filter and has new features that warn you about threatening content within an e-mail message.

','images/OfficeSmallBusinessLogoType.jpg'); TopicList[14].addCTA('OfficeSmallBusiness','TryCTA','Free Trial','OfficeSmallBusinessTry','http://us20.trymicrosoftoffice.com/product.aspx?re_ms=oo&family=officesmallbusiness&culture=en-US','window'); TopicList[14].addCTA('OfficeSmallBusiness','BuyCTA','How to Buy','OfficeSmallBusinessBuy','/smallbusiness/products/BaseProductPage/StartupBuyView.aspx?ProductID=Office2007SmallBusiness','iframe'); TopicList[14].addRelatedProduct('WindowsVista','

The operating system designed with your business in mind: improved performance and productivity.

','images/Windows7LogoType.jpg'); TopicList[14].addCTA('WindowsVista','TryCTA','Learn more','WindowsVistaTry','/smallbusiness/products/windows-7/default.aspx#Overview','window'); TopicList[14].addCTA('WindowsVista','BuyCTA','How to Buy','WindowsVistaBuy','/smallbusiness/products/windows-7/default.aspx#Buy','window'); var mouseoverTimer = null; var TargetProductID; function _setLocation(x, y) { Sys.UI.DomElement.setLocation($get(this.ClientID), parseInt(x), parseInt(y)); } function Topic(strText, strID, strClientID, strFloatBehavior, strTopicHighlightBehavior, strSubTopicHightlightBehavior, strTopicSelectBehavior, strTopicSelectChildBehavior , strSubTopicSelectBehavior, strSubTopicSelectParentBehavior, strZoomBehavior, strZoomOutBehavior, strDefaultBehavior, strTopicIntroBehavior, strExtHighBehavior) { //property that stores the radius this.Text=strText; this.TopicID=strID; this.ClientID=strClientID; this.SubTopics = null; this.SubTopicObjects = null; this.RelatedProducts = null; this.RelatedProductsDescs = null; this.RelatedProductsBoxShots = null; this.CTAsProductIDs = null; this.CTAsType = null; this.CTAsText = null; this.CTAsTracking = null; this.CTAsURL = null; this.CTAsOpen = null; this.State = 'NORMAL'; this.OriginalX = 0; this.OriginalY = 0; this.FloatBehavior = strFloatBehavior; this.TopicHighlightBehavior = strTopicHighlightBehavior; this.SubTopicHighlightBehavior = strSubTopicHightlightBehavior; this.TopicSelectBehavior = strTopicSelectBehavior; this.TopicSelectChildBehavior = strTopicSelectChildBehavior; this.SubTopicSelectBehavior = strSubTopicSelectBehavior; this.SubTopicSelectParentBehavior = strSubTopicSelectParentBehavior; this.ZoomBehavior = strZoomBehavior; this.ZoomOutBehavior = strZoomOutBehavior; this.DefaultBehavior = strDefaultBehavior; this.TopicIntroBehavior = strTopicIntroBehavior; this.ExternalHighlightBehavior = strExtHighBehavior; this.AnimationObjectsFound = false; this.State = "STARTUP"; this.SavePosition = function () { this.OriginalX = this.GetBounds().x; this.OriginalY=this.GetBounds().y;}; this.RestorePosition = function () { var bounds = this.GetBounds(); if((Math.abs(bounds.x-this.OriginalX) >= 3 || Math.abs(bounds.y-this.OriginalY) >= 3) && this.State != "SELECTED" && this.State != "HIGHLIGHT") { //this.StopFloat(); //this.setLocation(this.OriginalX-400, this.OriginalY-200); //this.PlayFloat(); } } this.addSubTopic = function (iTopicID) { if (this.SubTopics == null) { this.SubTopics = new Array(1); this.SubTopicObjects = new Array(1); this.SubTopics[0] = iTopicID; this.SubTopicObjects[0] = GetTopicById(iTopicID); } else { this.SubTopics[this.SubTopics.length] = iTopicID; this.SubTopicObjects[this.SubTopicObjects.length] = GetTopicById(iTopicID); } }; this.addRelatedProduct = function (iProductID, ProductDesc, ProductBoxShot) { if(this.RelatedProducts == null) { this.RelatedProducts = new Array(1); this.RelatedProductsDescs = new Array(1); this.RelatedProductsBoxShots = new Array(1); this.RelatedProducts[0] = iProductID; this.RelatedProductsDescs[0] = ProductDesc; this.RelatedProductsBoxShots[0] = ProductBoxShot; } else { this.RelatedProducts[this.RelatedProducts.length] = iProductID; this.RelatedProductsDescs[this.RelatedProductsDescs.length] = ProductDesc; this.RelatedProductsBoxShots[this.RelatedProductsBoxShots.length] = ProductBoxShot; } }; this.InitAnimationObjects = function () { if (this.AnimationObjectsFound == false) { this.DefaultAnimation = $find(this.DefaultBehavior).get_OnClickBehavior().get_animation(); //this.FloatAnimation = $find(this.FloatBehavior).get_OnClickBehavior().get_animation(); this.ExternalAnimation = $find(this.ExternalHighlightBehavior).get_OnClickBehavior().get_animation(); this.TopicHighlightAnimation = $find(this.TopicHighlightBehavior).get_OnClickBehavior().get_animation(); this.SubTopicHighlightAnimation = $find(this.SubTopicHighlightBehavior).get_OnClickBehavior().get_animation(); this.SubTopicSelectParentAnimation = $find(this.SubTopicSelectParentBehavior).get_OnClickBehavior().get_animation(); this.ZoomAnimation = $find(this.ZoomBehavior).get_OnClickBehavior().get_animation(); this.ZoomOutAnimation = $find(this.ZoomOutBehavior).get_OnClickBehavior().get_animation(); this.TopicIntroAnimation = $find(this.TopicIntroBehavior).get_OnClickBehavior().get_animation(); this.TopicSelectAnimation = $find(this.TopicSelectBehavior).get_OnClickBehavior().get_animation(); this.TopicSelectChildAnimation = $find(this.TopicSelectChildBehavior).get_OnClickBehavior().get_animation() this.SubTopicSelectAnimation = $find(this.SubTopicSelectBehavior).get_OnClickBehavior().get_animation(); this.AnimationObjectsFound = true; } } this.StopAllAnimations = function () { this.DefaultAnimation.stop(); //this.FloatAnimation = $find(this.FloatBehavior).get_OnClickBehavior().get_animation(); this.ExternalAnimation.stop(); this.TopicHighlightAnimation.stop(); this.SubTopicHighlightAnimation.stop(); this.SubTopicSelectParentAnimation.stop(); this.ZoomAnimation.stop(); this.ZoomOutAnimation.stop(); this.TopicIntroAnimation.stop(); this.TopicSelectAnimation.stop(); this.TopicSelectChildAnimation.stop(); this.SubTopicSelectAnimation.stop(); this.AnimationObjectsFound = true; } this.AnimationsPlaying = function () { if (this.DefaultAnimation.isPlaying || this.ExternalAnimation.isPlaying || this.TopicHighlightAnimation.isPlaying || this.SubTopicHighlightAnimation.isPlaying || this.SubTopicSelectParentAnimation.isPlaying || this.ZoomAnimation.isPlaying || this.ZoomOutAnimation.isPlaying || this.TopicIntroAnimation.isPlaying || this.TopicSelectAnimation.isPlaying || this.TopicSelectChildAnimation.isPlaying || this.SubTopicSelectAnimation.isPlaying) return true; else return false; } this.addCTA = function (iProductID, CTAType, CTAText, CTATracking, CTAURL, CTAOpen) { if(this.CTAsProductIDs == null) { this.CTAsProductIDs = new Array(1); this.CTAsType = new Array(1); this.CTAsText = new Array(1); this.CTAsTracking = new Array(1); this.CTAsURL = new Array(1); this.CTAsOpen = new Array(1); this.CTAsProductIDs[0] = iProductID; this.CTAsType[0] = CTAType; this.CTAsText[0] = CTAText; this.CTAsTracking[0] = CTATracking; this.CTAsURL[0] = CTAURL; this.CTAsOpen[0] = CTAOpen; } else { var index = this.CTAsProductIDs.length; this.CTAsProductIDs[index] = iProductID; this.CTAsType[index] = CTAType; this.CTAsText[index] = CTAText; this.CTAsTracking[index] = CTATracking; this.CTAsURL[index] = CTAURL; this.CTAsOpen[index] = CTAOpen; } }; this.GetBounds = function () { return Sys.UI.DomElement.getBounds($get(this.ClientID)); }; this.PlayDefault = function () { this.InitAnimationObjects(); this.DefaultAnimation.play(); }; /*this.PlayFloat = function () { this.InitAnimationObjects(); this.FloatAnimation.play(); };*/ this.PlayExternalHighlight = function () { this.InitAnimationObjects(); this.ExternalAnimation.play(); }; this.StopFloat = function () { this.InitAnimationObjects(); this.FloatAnimation.stop(); }; this.PlayTopicHighlight = function () { this.InitAnimationObjects(); this.TopicHighlightAnimation.play(); } this.PlaySubTopicHighlight = function () { this.InitAnimationObjects(); this.SubTopicHighlightAnimation.play(); } this.PlayTopicSelect = function() { this.InitAnimationObjects(); this.TopicSelectAnimation.play(); } this.PlayTopicSelectChild = function() { this.InitAnimationObjects(); this.TopicSelectChildAnimation.play(); } this.PlaySubTopicSelect = function() { this.InitAnimationObjects(); this.SubTopicSelectAnimation.play(); } this.PlaySubTopicSelectParent = function() { this.InitAnimationObjects(); this.SubTopicSelectParentAnimation.play(); } this.PlayZoom = function() { this.InitAnimationObjects(); this.ZoomAnimation.play(); } this.PlayZoomOut = function() { this.InitAnimationObjects(); this.ZoomOutAnimation.play(); } this.PlayTopicIntro = function() { this.InitAnimationObjects(); this.TopicIntroAnimation.play(); } this.setLocation = _setLocation; } function calcCenter(x1, x2) { return x1+((x2-x1)/2); } function GetState() { return document.getElementById(hdnStateID).value; } function SetHiddenTopic(state) { document.getElementById(hdnTopicID).value = state; } function GetHiddenTopic() { try { if (document.getElementById(hdnTopicID) != "undefined") { return document.getElementById(hdnTopicID).value; } } catch (ex) { //page loading } } function SetState(state) { document.getElementById(hdnStateID).value = state; } function ChangeText(txt) { //$get(startupLinkID).style.display = 'none'; //$get(startupLinkID).style.visibility = 'hidden'; var startupLink = $get(startupLinkID); startupLink.innerHTML = txt; startupLink.style.width = "100px"; var StartUpBounds = Sys.UI.DomElement.getBounds(startupLink); //Sys.UI.DomElement.setLocation(startupLink, parseInt(centerX - (StartUpBounds.width / 2)+12), parseInt(centerY - (StartUpBounds.height/2)+10)); Sys.UI.DomElement.setLocation(startupLink, 250, 145); SetState('NORMAL'); } function getQueryKey(key) { var query = window.location.search.substring(1); var vars = query.split("&"); for (var i=0;i ParentTopics[j+1].SubTopicObjects.length) { temp = ParentTopics[j]; ParentTopics[j] = ParentTopics[j+1]; ParentTopics[j+1] = temp; sorted = false; } } } //divide parent topics in half and put topics into two arrays one for each column of the cloud //this is done to try to balance the content of the cloud by pairing a topic with many sub topic with one //that has fewer. The idea is to have have approximately the same number of rows in each column var Col1Parents = new Array(ParentTopics.length / 2 + (ParentTopics.length % 2)); var Col2Parents = new Array(ParentTopics.length / 2); for(var i=0; i < Col1Parents.length; i++) { Col1Parents[i] = ParentTopics[i]; } for(var i=0; i < Col2Parents.length; i++) { Col2Parents[i] = ParentTopics[i+Col1Parents.length]; } var Col1TotalRows = 0; var Col2TotalRows = 0; for(var i=0; i < Col1Parents.length; i++) { Col1TotalRows += Col1Parents[i].SubTopicObjects.length+1; } for(var i=0; i < Col2Parents.length; i++) { Col2TotalRows += Col2Parents[i].SubTopicObjects.length+1; } var CloudTable = new Array(2); var TotalRows = 0; if (Col2TotalRows > Col1TotalRows) { TotalRows = Col2TotalRows; } else if (Col1TotalRows > Col2TotalRows) { TotalRows = Col1TotalRows; } CloudTable[0] = new Array(TotalRows); CloudTable[1] = new Array(TotalRows); //fill the cloud table with all topics and sub topics FillColumn(CloudTable[0], Col1Parents); FillColumn(CloudTable[1], Col2Parents); //place topics within the cloud div var cloudContainerBounds = Sys.UI.DomElement.getBounds($get('cloudContainer')); //determine max height of topic links var maxHeight = 0; for(var i=0; i < TopicList.length; i++) { if (TopicList[i].GetBounds().height > maxHeight) maxHeight = TopicList[i].GetBounds().height; } if (maxHeight == 0) maxHeight = 30; //IE 8 FIX var CloudHeight = TotalRows*maxHeight; var CloudWidth = CalcCloudWidth(CloudTable); //place startup link in center centerX = cloudContainerBounds.width / 2; centerY = cloudContainerBounds.height / 2; var link1Width = 0; var link2Width = 0; var pad=15; for(var row=0; row < TotalRows; row++) { if (CloudTable[0][row] != null) { link1Width = CloudTable[0][row].GetBounds().width; } else link1Width = 0; if (CloudTable[1][row] != null) { link2Width = CloudTable[1][row].GetBounds().width; } else link2Width = 0; for(var col=0; col < CloudTable.length; col++) { if (CloudTable[col][row] != null) { //make pad a function of how far this topic will be from the center //with topics closer to the center having a larger padding between centers //this helps maintian the round look //pad = parseInt(TotalRows/2-(centerY - (centerY - (CloudHeight / 2) + (row * maxHeight))) / maxHeight)*20; if (row == 4 || row == 5) pad = 60; else pad = 0; //if (pad < 0) pad = pad*-1; if (row == 1) pad = 15; if (col == 0) CloudTable[col][row].setLocation(parseInt(centerX - (link1Width + link2Width + 2*pad) / 2), centerY - (CloudHeight / 2) + (row * maxHeight)); else CloudTable[col][row].setLocation(parseInt(centerX - (link1Width + link2Width + 2*pad) / 2) + link1Width + 2*pad, centerY - (CloudHeight / 2) + (row * maxHeight)); } } } } function CalcCloudWidth(CloudTable) { return CalcColumnWidth(CloudTable[0]) + CalcColumnWidth(CloudTable[1]); } function CalcColumnWidth(CloudColumn) { var maxWidth = 0; for(var i=0; i < CloudColumn.length; i++) { if(CloudColumn[i] != null) { if (CloudColumn[i].GetBounds().width > maxWidth) maxWidth = CloudColumn[i].GetBounds().width; } } return maxWidth; } function FillColumn(CloudColumn, Parents) { var LastRow = 0; for(var i=0; i < Parents.length; i++) { LastRow = PlaceTopicAndChildren(CloudColumn, Parents[i], LastRow); } if (LastRow < CloudColumn.length-1) //fill empty slots with nulls { for (var i=LastRow+1; i < CloudColumn.length; i++) CloudColumn[i] = null; } } function PlaceTopicAndChildren(CloudColumn, Parent, LastRow) { var ChildrenAbove = parseInt(Parent.SubTopicObjects.length / 2); var ChildrenBelow = Parent.SubTopicObjects.length - ChildrenAbove; for(var count=0; count < ChildrenAbove; LastRow++) { CloudColumn[LastRow] = Parent.SubTopicObjects[count]; count++; } //place parent CloudColumn[LastRow] = Parent; LastRow++; for(var count=0; count < ChildrenBelow; LastRow++) { CloudColumn[LastRow] = Parent.SubTopicObjects[ChildrenAbove+count]; count++; } return LastRow; } function getControlID() { return AnimationTarget; } /*function PlayNormalState() { try { SetState("CHANGING"); //for each topic play the rotation behaviour for(var i = 0; i < TopicList.length; i++) { TopicList[i].PlayFloat(); TopicList[i].State = "NORMAL"; } SetState("NORMAL"); } catch (ex) { } }*/ /*function StopFloatAnimations() { try { //for each topic play the rotation behaviour for(var i = 0; i < TopicList.length; i++) { TopicList[i].StopFloat(); } } catch (ex) { } }*/ function PlayDefaultAnimations() { try { SetState("CHANGING"); //for each topic play the rotation behaviour for(var i = 0; i < TopicList.length; i++) { TopicList[i].PlayDefault(); } SetState("NORMAL"); } catch (ex) { } } var FloatStopped=false; function StopNormalState() { //for each topic play the rotation behaviour for(var i = 0; i < TopicList.length; i++) { TopicList[i].StopFloat(); } FloatStopped = true; } function TopicCloudExternalHighlightTopics(TopicIds, PlayDefault) { try { StopAllAnimations(); TopicIds = ',' + TopicIds + ','; //if (!FloatStopped) StopNormalState(); //uncomment to add float //if (PlayDefault) PlayDefaultAnimations(); TopicCloudNormalizeUnrelatedTopics(TopicIds); for(var i=0; i < TopicList.length; i++) { if (TopicIds.indexOf(TopicList[i].TopicID) >= 0) { TopicList[i].PlayExternalHighlight(); //setTimeout('TopicList['+i+'].PlayExternalHighlight();', 1500); //this delay is needed to allow time for stopping the float and making sure all links are in the default state. } } SetState('PRODUCT_HOVER'); } catch (ex) { /* this catches errors that get thrown before all page elements have loaded */}; } function TopicCloudNormalizeUnrelatedTopics(TopicIds) { try { TopicIds = ',' + TopicIds + ','; for(var i=0; i < TopicList.length; i++) { if (TopicIds.indexOf(TopicList[i].TopicID) < 0) { TopicList[i].PlayDefault(); } } } catch (ex) { /* this catches errors that get thrown before all page elements have loaded */}; } function PlayMouseOut(topicId) { try { CancelHighlightTimer(); /*if (GetState() == "CHANGING") { return; } if (GetState() != "START_UP" && !(GetState() == "SELECTED" && GetHiddenTopic() == topicId)) { SetState("CHANGING"); StopNormalState(); //play animations for unrelated topics to zoom topics back in unrelatedTopics = GetUnrelatedTopics(GetTopicById(topicId)); if (GetState() != "START_UP" && !(GetState() == "SELECTED" && GetHiddenTopic() == topicId)) { for(var r=0; r < unrelatedTopics.length; r++) { unrelatedTopics[r].PlayZoom(); } } SetState("CHANGING"); PlayDefaultAnimations(); }*/ } catch(ex) { PlayDefaultAnimations(); } } var currentTopic; function PlaySelect(topicId) { CancelHighlightTimer(); ExitAllProducts(); var rotateBehavior = ''; var selectBehavior=''; var parent=null; var subTopics=null; currentTopic = GetTopicById(topicId); if (GetState() == "CHANGING") { return false; } if (GetState() != "START_UP" && !(GetState() == "SELECTED" && GetHiddenTopic()==topicId)) { //StopFloatAnimations(); Removed MB //PlayHighlight(topicId); // SetState("CHANGING"); // var unrelatedTopics = null; // //play animations for unrelated topics // unrelatedTopics = GetUnrelatedTopics(GetTopicById(topicId)); // //play zoom out // for (var r = 0; r < unrelatedTopics.length; r++) { // //unrelatedTopics[r].StopFloat(); // unrelatedTopics[r].PlayZoomOut(); // unrelatedTopics[r].State = "BACKGROUND"; // //unrelatedTopics[r].PlayFloat(); // } // // for(var i = 0; i < TopicList.length; i++) // { // if (TopicList[i].TopicID == topicId) // { // parent = GetParentTopic(TopicList[i]); // // if (parent == null) // { // //TopicList[i].StopFloat(); // TopicList[i].PlayTopicSelect(); // TopicList[i].State = "SELECTED"; // // //play highlight for sub topics also // subTopics = GetSubTopics(TopicList[i]); // for(var j=0;subTopics != null && j < subTopics.length; j++) // { // //subTopics[j].StopFloat(); // subTopics[j].PlayTopicSelectChild(); // subTopics[j].State = "SELECTED"; // } // } // else // { // //play behavior when child is clicked // //parent.StopFloat(); // parent.PlaySubTopicSelectParent(); // parent.State = "SELECTED"; // // //play highlight for sub topics also // subTopics = GetSubTopics(parent); // for(var j=0;subTopics != null && j < subTopics.length; j++) // { // //subTopics[j].StopFloat(); // if (subTopics[j].TopicID == topicId) subTopics[j].PlaySubTopicSelect(); // else subTopics[j].PlayTopicSelectChild(); // subTopics[j].State = "SELECTED"; // } // } // } // } //ExitAllRelatedProducts(); setTimeout("ShowRelatedProducts();",300); SetHiddenTopic(topicId); SetState("SELECTED"); TopicSelectedCallback(topicId); } if (!allowServerEvents) return false; else return true; } function ShowRelatedProducts() { SetState("CHANGING"); //ExitAllRelatedProducts(); if(currentTopic.RelatedProducts != null) { for(var i=0; i maxWidth && !LinkPlaced(linkIDsPlaced, topicLinks[i], linksPlaced)) { maxWidth = topicLinks[i].GetBounds().width; maxWidthID = i; } } return maxWidthID; } function GetLinkNotPlaced(topicLinks, linkIDsPlaced, linksPlaced) { var maxWidth = 0; var maxWidthID = -1; for(var i=0; i< linkIDsPlaced.length; i++) { if (!LinkPlaced(linkIDsPlaced, topicLinks[i], linksPlaced)) { maxWidth = topicLinks[i].GetBounds().width; maxWidthID = i; } } return maxWidthID; } /*------------------------------------------------------------ CTA functions ------------------------------------------------------------*/ function ShowCTA(ProductId) { var ParentDiv = document.getElementById("offers_product_text_div_" + ProductId); var ChildAnchors = ParentDiv.getElementsByTagName("a"); var BackgroundImageText; for (var i=0;i' + CTAText + ''; } else { document.getElementById(divText+ProductId).innerHTML += '' + CTAText + ''; } } /*------------------------------------------------------------ Product functions ------------------------------------------------------------*/ function ProductHoverTimeout(ProductId) { setTimeout('ProductHover("' + ProductId + '");', 400); } function ProductExitTimeout(ProductId) { ExitProductId = ProductId; exitTimeout = setTimeout('ProductExit("' + ProductId + '");', 10); } var ProductHoverId = ''; var ProductHoveredArray = null; var RelatedProductShownArray = null; var exitTimeout = null; var ExitProductId = ''; function AddProductHovered(ProductId) { if (ProductHoveredArray == null) { ProductHoveredArray = new Array(1); ProductHoveredArray[0] = ProductId; } else { var found = false; for(var i=0; i < ProductHoveredArray.length; i++) { if (ProductHoveredArray[i] == ProductId) { found = true; break; } } if (!found) ProductHoveredArray[ProductHoveredArray.length] = ProductId; } } function AddRelatedProductShown(ProductId) { if (RelatedProductShownArray == null) { RelatedProductShownArray = new Array(1); RelatedProductShownArray[0] = ProductId; } else { var found = false; for(var i=0; i < RelatedProductShownArray.length; i++) { if (RelatedProductShownArray[i] == ProductId) { found = true; break; } } if (!found) RelatedProductShownArray[RelatedProductShownArray.length] = ProductId; } } function ExitAllProducts() { for(var i=0; ProductHoveredArray != null && i < ProductHoveredArray.length; i++) { ProductExit(ProductHoveredArray[i], false); } ProductHoveredArray = null; } function ExitAllRelatedProducts() { for(var i=0; RelatedProductShownArray != null && i < RelatedProductShownArray.length; i++) { ProductExit(RelatedProductShownArray[i], true); } RelatedProductShownArray = null; } function ExitAllRelatedProductsExceptCurrent(ProductId) { for(var i=0; RelatedProductShownArray != null && i < RelatedProductShownArray.length; i++) { if (RelatedProductShownArray[i] != ProductId) ProductExit(RelatedProductShownArray[i], true); } RelatedProductShownArray = null; } var ProductHoverTimeout = null; var LastProductIdsHovered = ''; var HoverTopicIds = null; var LastProductHovered = null; var ProductHoverTimeout = null; function ProductHover(ProductId, TopicIds) { //if (GetState() == "SELECTED") return; SetState('PRODUCT_HOVER'); LastProductIdsHovered = TopicIds; DoProductHover(ProductId, TopicIds); PlayTipExit(); } function DoProductHover(ProductId, TopicIds) { if (ExitProductId == ProductId && exitTimeout != null) { clearTimeout(exitTimeout) ExitProductId = ''; exitTimeout = null; } /* for(var i=0; RelatedProductShownArray != null && i