var headerData = [ { "name":"c1win", "title" : "WinForms Edition Documentation", "links": [ { "title" : "About" , "url": "https://www.grapecity.com/winforms"}, { "title" : "All Docs" , "url": "http://www.grapecity.com/docs"}, { "title" : "Support" , "url": "https://www.grapecity.com/support/contact"}, { "title" : "Pricing" , "url": "https://www.grapecity.com/compare/winforms"}, { "title" : "Free Trial" , "url": "https://www.grapecity.com/download/componentone-studio"} ] }, { "name":"c1wpf", "title" : "WPF Edition Documentation", "links": [ { "title" : "About" , "url": "https://www.grapecity.com/wpf"}, { "title" : "All Docs" , "url": "http://www.grapecity.com/docs"}, { "title" : "Support" , "url": "https://www.grapecity.com/support/contact"}, { "title" : "Pricing" , "url": "https://www.grapecity.com/compare/wpf"}, { "title" : "Free Trial" , "url": "https://www.grapecity.com/download/componentone-studio"} ] }, { "name":"c1mvc", "title" : "ASP.NET MVC Edition Documentation", "links": [ { "title" : "About" , "url": "https://www.grapecity.com/aspnet-mvc"}, { "title" : "All Docs" , "url": "http://www.grapecity.com/docs"}, { "title" : "Support" , "url": "https://www.grapecity.com/support/contact"}, { "title" : "Pricing" , "url": "https://www.grapecity.com/compare/aspnet-mvc"}, { "title" : "Free Trial" , "url": "https://www.grapecity.com/download/componentone-studio"} ] }, { "name":"c1web", "title" : "ASP.NET Web Forms Edition Documentation", "links": [ { "title" : "About" , "url": "https://www.grapecity.com/aspnet-webforms"}, { "title" : "All Docs" , "url": "http://www.grapecity.com/docs"}, { "title" : "Support" , "url": "https://www.grapecity.com/support/contact"}, { "title" : "Pricing" , "url": "https://www.grapecity.com/compare/aspnet-webforms"}, { "title" : "Free Trial" , "url": "https://www.grapecity.com/download/componentone-studio"} ] }, { "name":"c1webapi", "title" : "Web API Edition Documentation", "links": [ { "title" : "About" , "url": "https://www.grapecity.com/webapi"}, { "title" : "All Docs" , "url": "http://www.grapecity.com/docs"}, { "title" : "Support" , "url": "https://www.grapecity.com/support/contact"}, { "title" : "Pricing" , "url": "https://www.grapecity.com/compare/aspnet-webforms"}, { "title" : "Free Trial" , "url": "https://www.grapecity.com/download/componentone-studio"} ] }, { "name": "wj3", "title": "Wijmo 3 Documentation", "links": [ { "title": "About", "url": "https://www.grapecity.com" }, { "title": "All Docs", "url": "http://www.grapecity.com/docs" }, { "title": "Support", "url": "https://www.grapecity.com/support/contact" }, { "title": "Pricing", "url": "https://www.grapecity.com/pricing" }, { "title": "Free Trial", "url": "https://www.grapecity.com/download/componentone-studio" } ] }, { "name":"c1uwp", "title" : "UWP Edition Documentation", "links": [ { "title" : "About" , "url": "https://www.grapecity.com/uwp"}, { "title" : "All Docs" , "url": "http://www.grapecity.com/docs"}, { "title" : "Support" , "url": "https://www.grapecity.com/support/contact"}, { "title" : "Pricing" , "url": "https://www.grapecity.com/compare/uwp"}, { "title" : "Free Trial" , "url": "https://www.grapecity.com/download/componentone-studio"} ] }, { "name":"c1lsw", "title" : "LightSwitch Edition Documentation", "links": [ { "title" : "About" , "url": "https://www.grapecity.com/lightswitch"}, { "title" : "All Docs" , "url": "http://www.grapecity.com/docs"}, { "title" : "Support" , "url": "https://www.grapecity.com/support/contact"}, { "title" : "Pricing" , "url": "https://www.grapecity.com/compare/lightswitch"}, { "title" : "Free Trial" , "url": "https://www.grapecity.com/download/componentone-studio"} ] }, { "name":"c1slv", "title" : "Silverlight Edition Documentation", "links": [ { "title" : "About" , "url": "https://www.grapecity.com/silverlight"}, { "title" : "All Docs" , "url": "http://www.grapecity.com/docs"}, { "title" : "Support" , "url": "https://www.grapecity.com/support/contact"}, { "title" : "Pricing" , "url": "https://www.grapecity.com/compare/silverlight"}, { "title" : "Free Trial" , "url": "https://www.grapecity.com/download/componentone-studio"} ] }, { "name":"c1acx", "title" : "ActiveX Edition Documentation", "links": [ { "title" : "About" , "url": "https://www.grapecity.com/activex"}, { "title" : "All Docs" , "url": "http://www.grapecity.com/docs"}, { "title" : "Support" , "url": "https://www.grapecity.com/support/contact"}, { "title" : "Pricing" , "url": "https://www.grapecity.com/compare/activex"}, { "title" : "Free Trial" , "url": "https://www.grapecity.com/download/componentone-studio"} ] }, { "name":"c1xam", "title" : "C1Studio for Xamarin Documentation", "links": [ { "title" : "About" , "url": "https://www.grapecity.com/componentone-xamarin"}, { "title" : "All Docs" , "url": "http://www.grapecity.com/docs"}, { "title" : "Support" , "url": "https://www.grapecity.com/support/contact"}, { "title" : "Pricing" , "url": "https://www.grapecity.com/compare/componentone-studio-for-xamarin"}, { "title" : "Free Trial" , "url": "https://www.grapecity.com/download/componentone-xamarin"} ] }, { "name":"ar12", "title" : "ActiveReports 12 User Guide", "links": [ { "title" : "About" , "url": "https://www.grapecity.com/activereports"}, { "title" : "All Docs" , "url": "http://www.grapecity.com/docs"}, { "title" : "Support" , "url": "https://www.grapecity.com/support/contact"}, { "title" : "Pricing" , "url": "https://www.grapecity.com/compare/activereports"}, { "title" : "Free Trial" , "url": "https://www.grapecity.com/download/#reporting"} ] }, { "name":"ars12s", "title" : "ActiveReports 12 Server User Guide", "links": [ { "title" : "About" , "url": "https://www.grapecity.com/activereports-server"}, { "title" : "All Docs" , "url": "http://www.grapecity.com/docs"}, { "title" : "Support" , "url": "https://www.grapecity.com/support/contact"}, { "title" : "Pricing" , "url": "https://www.grapecity.com/compare/activereports"}, { "title" : "Free Trial" , "url": "https://www.grapecity.com/download/activereports-server"} ] }, { "name":"ars12d", "title" : "ActiveReports 12 Server Designer User Guide", "links": [ { "title" : "About" , "url": "https://www.grapecity.com/activereports-server"}, { "title" : "All Docs" , "url": "http://www.grapecity.com/docs"}, { "title" : "Support" , "url": "https://www.grapecity.com/support/contact"}, { "title" : "Pricing" , "url": "https://www.grapecity.com/compare/activereports"}, { "title" : "Free Trial" , "url": "https://www.grapecity.com/download/activereports-server"} ] }, { "name":"ars12w", "title" : "ActiveReports 12 Web Designer User Guide", "links": [ { "title" : "About" , "url": "https://www.grapecity.com/activereports-server"}, { "title" : "All Docs" , "url": "http://www.grapecity.com/docs"}, { "title" : "Support" , "url": "https://www.grapecity.com/support/contact"}, { "title" : "Pricing" , "url": "https://www.grapecity.com/compare/activereports"}, { "title" : "Free Trial" , "url": "https://www.grapecity.com/download/activereports-server"} ] }, { "name":"ars12c", "title" : "ActiveReports 12 Server ClickOnce End User Designer Guide", "links": [ { "title" : "About" , "url": "https://www.grapecity.com/activereports-server"}, { "title" : "All Docs" , "url": "http://www.grapecity.com/docs"}, { "title" : "Support" , "url": "https://www.grapecity.com/support/contact"}, { "title" : "Pricing" , "url": "https://www.grapecity.com/compare/activereports"}, { "title" : "Free Trial" , "url": "https://www.grapecity.com/download/activereports-server"} ] }, { "name":"ar11", "title" : "ActiveReports 11 User Guide", "links": [ { "title" : "About" , "url": "https://www.grapecity.com/activereports"}, { "title" : "All Docs" , "url": "http://www.grapecity.com/docs"}, { "title" : "Support" , "url": "https://www.grapecity.com/support/contact"}, { "title" : "Pricing" , "url": "https://www.grapecity.com/compare/activereports"}, { "title" : "Free Trial" , "url": "https://www.grapecity.com/download/#reporting"} ] }, { "name":"ars11s", "title" : "ActiveReports 11 Server User Guide", "links": [ { "title" : "About" , "url": "https://www.grapecity.com/activereports-server"}, { "title" : "All Docs" , "url": "http://www.grapecity.com/docs"}, { "title" : "Support" , "url": "https://www.grapecity.com/support/contact"}, { "title" : "Pricing" , "url": "https://www.grapecity.com/compare/activereports"}, { "title" : "Free Trial" , "url": "https://www.grapecity.com/download/activereports-server"} ] }, { "name":"ars11d", "title" : "ActiveReports 11 Server Designer User Guide", "links": [ { "title" : "About" , "url": "https://www.grapecity.com/activereports-server"}, { "title" : "All Docs" , "url": "http://www.grapecity.com/docs"}, { "title" : "Support" , "url": "https://www.grapecity.com/support/contact"}, { "title" : "Pricing" , "url": "https://www.grapecity.com/compare/activereports"}, { "title" : "Free Trial" , "url": "https://www.grapecity.com/download/activereports-server"} ] }, { "name":"ars11w", "title" : "ActiveReports 11 Web Designer User Guide", "links": [ { "title" : "About" , "url": "https://www.grapecity.com/activereports-server"}, { "title" : "All Docs" , "url": "http://www.grapecity.com/docs"}, { "title" : "Support" , "url": "https://www.grapecity.com/support/contact"}, { "title" : "Pricing" , "url": "https://www.grapecity.com/compare/activereports"}, { "title" : "Free Trial" , "url": "https://www.grapecity.com/download/activereports-server"} ] }, { "name":"ars11c", "title" : "ActiveReports 11 Server ClickOnce End User Designer Guide", "links": [ { "title" : "About" , "url": "https://www.grapecity.com/activereports-server"}, { "title" : "All Docs" , "url": "http://www.grapecity.com/docs"}, { "title" : "Support" , "url": "https://www.grapecity.com/support/contact"}, { "title" : "Pricing" , "url": "https://www.grapecity.com/compare/activereports"}, { "title" : "Free Trial" , "url": "https://www.grapecity.com/download/activereports-server"} ] }, { "name": "ar10", "title": "ActiveReports 10 User Guide", "links": [ { "title": "About", "url": "https://www.grapecity.com/activereports" }, { "title": "All Docs", "url": "http://www.grapecity.com/docs" }, { "title": "Support", "url": "https://www.grapecity.com/support/contact" }, { "title": "Pricing", "url": "https://www.grapecity.com/compare/activereports" }, { "title": "Free Trial", "url": "https://www.grapecity.com/download/#reporting" } ] }, { "name": "ars10s", "title": "ActiveReports 10 Server User Guide", "links": [ { "title": "About", "url": "https://www.grapecity.com/activereports-server" }, { "title": "All Docs", "url": "http://www.grapecity.com/docs" }, { "title": "Support", "url": "https://www.grapecity.com/support/contact" }, { "title": "Pricing", "url": "https://www.grapecity.com/compare/activereports" }, { "title": "Free Trial", "url": "https://www.grapecity.com/download/activereports-server" } ] }, { "name": "ars10d", "title": "ActiveReports 10 Server Designer User Guide", "links": [ { "title": "About", "url": "https://www.grapecity.com/activereports-server" }, { "title": "All Docs", "url": "http://www.grapecity.com/docs" }, { "title": "Support", "url": "https://www.grapecity.com/support/contact" }, { "title": "Pricing", "url": "https://www.grapecity.com/compare/activereports" }, { "title": "Free Trial", "url": "https://www.grapecity.com/download/activereports-server" } ] }, { "name": "ars10w", "title": "ActiveReports 10 Web Designer User Guide", "links": [ { "title": "About", "url": "https://www.grapecity.com/activereports-server" }, { "title": "All Docs", "url": "http://www.grapecity.com/docs" }, { "title": "Support", "url": "https://www.grapecity.com/support/contact" }, { "title": "Pricing", "url": "https://www.grapecity.com/compare/activereports" }, { "title": "Free Trial", "url": "https://www.grapecity.com/download/activereports-server" } ] }, { "name": "ars10c", "title": "ActiveReports 10 Server ClickOnce End User Designer Guide", "links": [ { "title": "About", "url": "https://www.grapecity.com/activereports-server" }, { "title": "All Docs", "url": "http://www.grapecity.com/docs" }, { "title": "Support", "url": "https://www.grapecity.com/support/contact" }, { "title": "Pricing", "url": "https://www.grapecity.com/compare/activereports" }, { "title": "Free Trial", "url": "https://www.grapecity.com/download/activereports-server" } ] }, { "name": "ar13", "title": "ActiveReports 13 User Guide", "links": [ { "title": "About", "url": "https://www.grapecity.com/activereports" }, { "title": "All Docs", "url": "http://www.grapecity.com/docs" }, { "title": "Support", "url": "https://www.grapecity.com/support/contact" }, { "title": "Pricing", "url": "https://www.grapecity.com/compare/activereports" }, { "title": "Free Trial", "url": "https://www.grapecity.com/download/#reporting" } ] }, { "name": "ars13w", "title": "ActiveReports 13 Web Designer User Guide", "links": [ { "title": "About", "url": "https://www.grapecity.com/activereports-server" }, { "title": "All Docs", "url": "http://www.grapecity.com/docs" }, { "title": "Support", "url": "https://www.grapecity.com/support/contact" }, { "title": "Pricing", "url": "https://www.grapecity.com/compare/activereports" }, { "title": "Free Trial", "url": "https://www.grapecity.com/download/activereports-server" } ] }, { "name": "ar14", "title": "ActiveReports 14 User Guide", "links": [ { "title": "About", "url": "https://www.grapecity.com/activereports" }, { "title": "All Docs", "url": "http://www.grapecity.com/docs" }, { "title": "Support", "url": "https://www.grapecity.com/support/contact" }, { "title": "Pricing", "url": "https://www.grapecity.com/compare/activereports" }, { "title": "Free Trial", "url": "https://www.grapecity.com/download/#reporting" } ] }, { "name":"spwin", "title" : "Spread WinForms Documentation", "links": [ { "title" : "About" , "url": "https://www.grapecity.com/spreadstudio"}, { "title" : "All Docs" , "url": "http://www.grapecity.com/docs"}, { "title" : "Support" , "url": "https://www.grapecity.com/support/contact"}, { "title" : "Pricing" , "url": "https://www.grapecity.com/compare/spread"}, { "title" : "Free Trial" , "url": "https://www.grapecity.com/download/spreadstudio"} ] }, { "name":"spweb", "title" : "Spread ASP.NET Documentation", "links": [ { "title" : "About" , "url": "https://www.grapecity.com/spreadstudio"}, { "title" : "All Docs" , "url": "http://www.grapecity.com/docs"}, { "title" : "Support" , "url": "https://www.grapecity.com/support/contact"}, { "title" : "Pricing" , "url": "https://www.grapecity.com/compare/spread"}, { "title" : "Free Trial" , "url": "https://www.grapecity.com/download/spreadstudio"} ] }, { "name":"spwpf", "title" : "Spread WPF Documentation", "links": [ { "title" : "About" , "url": "https://www.grapecity.com/spreadstudio"}, { "title" : "All Docs" , "url": "http://www.grapecity.com/docs"}, { "title" : "Support" , "url": "https://www.grapecity.com/support/contact"}, { "title" : "Pricing" , "url": "https://www.grapecity.com/compare/spread"}, { "title" : "Free Trial" , "url": "https://www.grapecity.com/download/spreadstudio"} ] }, { "name":"spslv", "title" : "Spread Silverlight Documentation", "links": [ { "title" : "About" , "url": "https://www.grapecity.com/spreadstudio"}, { "title" : "All Docs" , "url": "http://www.grapecity.com/docs"}, { "title" : "Support" , "url": "https://www.grapecity.com/support/contact"}, { "title" : "Pricing" , "url": "https://www.grapecity.com/compare/spread"}, { "title" : "Free Trial" , "url": "https://www.grapecity.com/download/spreadstudio"} ] }, { "name":"spwinrt", "title" : "Spread WinRT Documentation", "links": [ { "title" : "About" , "url": "https://www.grapecity.com/spreadstudio"}, { "title" : "All Docs" , "url": "http://www.grapecity.com/docs"}, { "title" : "Support" , "url": "https://www.grapecity.com/support/contact"}, { "title" : "Pricing" , "url": "https://www.grapecity.com/compare/spread"}, { "title" : "Free Trial" , "url": "https://www.grapecity.com/download/spreadstudio"} ] }, { "name":"spwinmr", "title" : "MultiRow Windows Forms Documentation", "links": [ { "title" : "About" , "url": "https://www.grapecity.com/spreadstudio"}, { "title" : "All Docs" , "url": "http://www.grapecity.com/docs"}, { "title" : "Support" , "url": "https://www.grapecity.com/support/contact"}, { "title" : "Pricing" , "url": "https://www.grapecity.com/compare/spread"}, { "title" : "Free Trial" , "url": "https://www.grapecity.com/download/spreadstudio"} ] }, { "name":"spfr", "title" : "Spread Formula Reference Documentation", "links": [ { "title" : "About" , "url": "https://www.grapecity.com/spreadstudio"}, { "title" : "All Docs" , "url": "http://www.grapecity.com/docs"}, { "title" : "Support" , "url": "https://www.grapecity.com/support/contact"}, { "title" : "Pricing" , "url": "https://www.grapecity.com/compare/spread"}, { "title" : "Free Trial" , "url": "https://www.grapecity.com/download/spreadstudio"} ] }, { "name":"spreadme", "title" : "Spread.NET ReadMe Documentation", "links": [ { "title" : "About" , "url": "https://www.grapecity.com/spreadstudio"}, { "title" : "All Docs" , "url": "http://www.grapecity.com/docs"}, { "title" : "Support" , "url": "https://www.grapecity.com/support/contact"}, { "title" : "Pricing" , "url": "https://www.grapecity.com/compare/spread"}, { "title" : "Free Trial" , "url": "https://www.grapecity.com/download/spreadstudio"} ] }, { "name":"spjs", "title" : "Spread.Sheets Documentation", "links": [ { "title" : "About" , "url": "https://www.grapecity.com/spreadjs"}, { "title" : "All Docs" , "url": "http://www.grapecity.com/docs"}, { "title" : "Support" , "url": "https://www.grapecity.com/support/contact"}, { "title" : "Pricing" , "url": "https://www.grapecity.com/compare/spread"}, { "title" : "Free Trial" , "url": "https://www.grapecity.com/download/spreadjs"} ] }, { "name":"spjsreadme", "title" : "Spread.Sheets ReadMe Documentation", "links": [ { "title" : "About" , "url": "https://www.grapecity.com/spreadstudio"}, { "title" : "All Docs" , "url": "http://www.grapecity.com/docs"}, { "title" : "Support" , "url": "https://www.grapecity.com/support/contact"}, { "title" : "Pricing" , "url": "https://www.grapecity.com/compare/spread"}, { "title" : "Free Trial" , "url": "https://www.grapecity.com/download/spreadjs"} ] }, { "name":"spser", "title" : "Spread.Services Documentation", "links": [ { "title" : "About" , "url": "https://www.grapecity.com/spreadservices/"}, { "title" : "All Docs" , "url": "http://www.grapecity.com/docs"}, { "title" : "Support" , "url": "https://www.grapecity.com/support/contact"}, { "title" : "Pricing" , "url": "https://www.grapecity.com/compare/spread"}, { "title" : "Free Trial" , "url": "https://www.grapecity.com/download/spreadservices"} ] }, { "name":"spserreadme", "title" : "Spread.Services ReadMe Documentation", "links": [ { "title" : "About" , "url": "https://www.grapecity.com/spreadservices/"}, { "title" : "All Docs" , "url": "http://www.grapecity.com/docs"}, { "title" : "Support" , "url": "https://www.grapecity.com/support/contact"}, { "title" : "Pricing" , "url": "https://www.grapecity.com/compare/spread"}, { "title" : "Free Trial" , "url": "https://www.grapecity.com/download/spreadservices"} ] }, { "name":"gcpdf", "title": "Documents for PDF, .NET Edition", "links": [ { "title" : "About" , "url": "https://www.grapecity.com/documents-api-pdf"}, { "title" : "All Docs" , "url": "http://www.grapecity.com/docs"}, { "title" : "Support" , "url": "https://www.grapecity.com/support/contact"}, { "title" : "Pricing" , "url": "https://www.grapecity.com/pricing#documents"}, { "title" : "Free Trial" , "url": "https://www.grapecity.com/download/documents-pdf"} ] }, { "name":"gcxljava", "title" : "Documents for Excel, Java Edition", "links": [ { "title" : "About" , "url": "https://www.grapecity.com/documents-api-excel"}, { "title" : "All Docs" , "url": "http://www.grapecity.com/docs"}, { "title" : "Support" , "url": "https://www.grapecity.com/support/contact"}, { "title" : "Pricing" , "url": "https://www.grapecity.com/pricing#documents"}, { "title" : "Free Trial" , "url": "https://www.grapecity.com/download/documents-excel"} ] }, { "name":"gcxl", "title": "Documents for Excel, .NET Edition", "links": [ { "title" : "About" , "url": "https://www.grapecity.com/documents-api-excel"}, { "title" : "All Docs" , "url": "http://www.grapecity.com/docs"}, { "title" : "Support" , "url": "https://www.grapecity.com/support/contact"}, { "title" : "Pricing" , "url": "https://www.grapecity.com/pricing#documents"}, { "title" : "Free Trial" , "url": "https://www.grapecity.com/download/documents-excel"} ] }, { "name":"gcwrd", "title": "Documents for Word, .NET Edition", "links": [ { "title" : "About" , "url": "https://www.grapecity.com/documents-api-word"}, { "title" : "All Docs" , "url": "http://www.grapecity.com/docs"}, { "title" : "Support" , "url": "https://www.grapecity.com/support/contact"}, { "title" : "Pricing" , "url": "https://www.grapecity.com/pricing#documents"}, { "title" : "Free Trial" , "url": "https://www.grapecity.com/download/documents-word"} ] }, { "name": "gcimg", "title": "Documents for Imaging, .NET Edition Documentation", "links": [ { "title": "About", "url": "https://www.grapecity.com/documents-api-imaging" }, { "title": "All Docs", "url": "http://www.grapecity.com/docs" }, { "title": "Support", "url": "https://www.grapecity.com/support/contact" }, { "title": "Pricing", "url": "https://www.grapecity.com/pricing#documents" }, { "title": "Free Trial", "url": "https://www.grapecity.com/download/documents-imaging" } ] }, { "name": "textparser", "title": "TextParser Library", "links": [ { "title": "About", "url": "https://www.grapecity.com/text-field-parser" }, { "title": "All Docs", "url": "http://www.grapecity.com/docs" }, { "title": "Support", "url": "https://www.grapecity.com/support/contact" }, { "title": "Pricing", "url": "https://www.grapecity.com/pricing#documents" }, { "title": "Free Trial", "url": "https://www.grapecity.com/download/componentone-studio" } ] }, { "name": "dataengine", "title": "DataEngine Library", "links": [ { "title": "About", "url": "https://www.grapecity.com/data-engine" }, { "title": "All Docs", "url": "http://www.grapecity.com/docs" }, { "title": "Support", "url": "https://www.grapecity.com/support/contact" }, { "title": "Pricing", "url": "https://www.grapecity.com/pricing#documents" }, { "title": "Free Trial", "url": "https://www.grapecity.com/download/componentone-studio" } ] }, { "name": "intellispell", "title": "ComponentOne IntelliSpell", "links": [ { "title": "About", "url": "https://www.grapecity.com/controls/studio/intellispell" }, { "title": "All Docs", "url": "http://www.grapecity.com/docs" }, { "title": "Support", "url": "https://www.grapecity.com/support/contact" }, { "title": "Pricing", "url": "https://www.grapecity.com/pricing#documents" }, { "title": "Free Trial", "url": "https://www.grapecity.com/download/componentone-studio" } ] } ]; $(document).ready(function () { setTimeout(function () { var title = ""; if (window.currentHeader !== undefined && window.currentHeader !== null) { title = currentHeader(); $.each(headerData, function (i, v) { if (v.name === title) { var headerdoc = document.getElementById("docC1_header_title"); if (headerdoc !== null) { headerdoc.innerText = v.title; } v.links.forEach(function (item, index) { var itemTitle = item.title; var itemUrl = item.url; var aElement = document.getElementById("docC1_header_nav_" + itemTitle.replace(' ', '')); if (aElement !== null) { aElement.href = itemUrl; if (aElement.children.length > 0) {} else { aElement.innerText = itemTitle; } } }) } }); } }, 100); });