Error executing template "Designs/bleau-solutionset/_parsed/left-nav-subpage.parsed.cshtml"
System.NullReferenceException: Object reference not set to an instance of an object.
   at CompiledRazorTemplates.Dynamic.RazorEngine_8ea3558a1ff24c4e9fa311206ffe34b6.Execute() in D:\Dynamicweb.Net\www.gladsaxe.dk (DW9.x)\Files\Templates\Designs\bleau-solutionset\_parsed\left-nav-subpage.parsed.cshtml:line 23
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context, TextWriter reader)
   at RazorEngine.Templating.RazorEngineService.RunCompile(ITemplateKey key, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.RazorEngineServiceExtensions.<>c__DisplayClass16_0.b__0(TextWriter writer)
   at RazorEngine.Templating.RazorEngineServiceExtensions.WithWriter(Action`1 withWriter)
   at Dynamicweb.Rendering.Template.RenderRazorTemplate()

1 @inherits RazorTemplateBase<RazorTemplateModel<Template>> 2 @using Dynamicweb.Rendering 3 4 <!DOCTYPE html> 5 <html lang="@Pageview.Area.CultureInfo.TwoLetterISOLanguageName"> 6 <head> 7 8 9 <script src="https://cookiecontrol.bleau.dk/scripts/cookieconsent.js"></script> 10 <script id="cookiecontrolfunctions" src="https://cookiecontrol.bleau.dk/scripts/Cookiecontrolfunctions.js" data-cname="Gladsaxe" data-defaultset="dwdefault"></script> 11 <script src="https://moliricdn.azurewebsites.net/gladsaxe/appinsights/bleauborger.js"></script> 12 13 <meta charset="utf-8"> 14 <meta name="viewport" content="width=device-width, initial-scale = 1.0"> 15 <meta name="google-site-verification" content="V3fEHGr3Eb00bLHm3OHAZ8D3vh-ZqHn0ioU_wxxNMGs"> 16 <meta name="pageID" content='@GetGlobalValue("Global:Page.ID")'> 17 18 @if (!string.IsNullOrEmpty(GetString("Item.Editor_NewsItem"))) 19 { 20 <meta name="author" content='@(!string.IsNullOrEmpty(GetString("Item.Editor_NewsItem")) ? Dynamicweb.Security.UserManagement.User.GetUserByID(Convert.ToInt32(GetValue("Item.Editor_NewsItem"))).Name : "")'> 21 } 22 else if (!string.IsNullOrEmpty(GetString("Item.Page.Editor"))) 23 { 24 <meta name="author" content='@(!string.IsNullOrEmpty(GetString("Item.Page.Editor")) ? Dynamicweb.Security.UserManagement.User.GetUserByID(Convert.ToInt32(GetValue("Item.Page.Editor"))).Name : "")'> 25 } 26 <title>@GetValue("Title")</title> 27 @GetValue("MetaTags") 28 @GetValue("CopyRightNotice") 29 30 @{ 31 var csslink = "/Files/Templates/Designs/bleau-solutionset/assets/stylesheets/Subsites/Less/bleau-solutionset_" + @Pageview.Area.ID + ".min.css?ticks=" + @GetDate("DwPageUpdatedDate").Ticks; 32 } 33 @if (@Pageview.Area.ID == 1) 34 { 35 <link rel="stylesheet" href="/Files/Templates/Designs/bleau-solutionset/assets/stylesheets/bleau-styles.min.css?vs=12042021" media="screen"> 36 } 37 else 38 { 39 <link rel="stylesheet" href="@csslink" media="screen"> 40 } 41 <link rel="stylesheet" href="/Files/Templates/Designs/bleau-solutionset/assets/stylesheets/print.min.css" media="print"> 42 <script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script> 43 <script type="text/javascript" src="/Files/Templates/Designs/bleau-solutionset/assets/javascripts/svg-inject.min.js"></script> 44 <script type="text/javascript" src="//webkort.gladsaxe.dk/clientapi/minimap2/mmloader.js" charset="iso-8859-1"></script> 45 46 @RenderSnippet("StyleSheetHead") 47 @RenderSnippet("StyleSheet") 48 @RenderSnippet("standardModulesCSS") 49 50 @if (!string.IsNullOrEmpty(GetString("DwNavigation(topMenu)"))) 51 { 52 <link href='@GetString("Item.Area.Custom_CSS_Url")' rel="stylesheet"> 53 } 54 55 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.GTMID"))) 56 { 57 <!-- Google Tag Manager --> 58 <script> 59 (function (w, d, s, l, i) { 60 w[l] = w[l] || []; w[l].push({ 61 'gtm.start': 62 new Date().getTime(), event: 'gtm.js' 63 }); var f = d.getElementsByTagName(s)[0], 64 j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src = 65 'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f); 66 })(window, document, 'script', 'dataLayer', '@GetString("Item.Area.GTMID")');</script> 67 <!-- End Google Tag Manager --> 68 } 69 70 <link rel="shortcut icon" href='/Admin/Public/GetImage.ashx?Image=@GetString("Item.Area.Favicon")&amp;Width=16&amp;Height=16&amp;Crop=5&amp;format=png'> 71 <link rel="apple-touch-icon" href='/Admin/Public/GetImage.ashx?Image=@GetString("Item.Area.Apple_touch_icon")&amp;Width=16&amp;Height=16&amp;Crop=5&amp;format=png'> 72 73 <!-- www.Cludo.com search start CSS --> 74 <link href="//customer.cludo.com/assets/2539/11262/cludo-search.min.css" type="text/css" rel="stylesheet"> 75 <!-- www.Cludo.com search end CSS --> 76 77 @GetValue("Stylesheets") 78 @GetValue("Javascripts") 79 </head> 80 @{ 81 82 var bodyclass = ""; 83 string Cpage = GetString("DwPageName"); 84 85 if (Cpage.Contains("Forside")) 86 { 87 bodyclass = "frontpage "; 88 } 89 bodyclass += "purple"; 90 91 bodyclass = bodyclass.Trim(); 92 } 93 <body class="@bodyclass"> 94 95 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.GTMID"))) 96 { 97 <!-- Google Tag Manager (noscript) --> 98 <noscript><iframe src='https://www.googletagmanager.com/ns.html?id=@GetString("Item.Area.GTMID")' height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> 99 <!-- End Google Tag Manager (noscript) --> 100 } 101 <div class="body-wrapper"> 102 103 @if (GetString("Item.Area.InformationsBanner.ActivateBanner") == "True") 104 { 105 <style> 106 .alert-warning{ 107 color: @GetString("Item.Area.InformationsBanner.TekstFarve"); 108 background-color: @GetString("Item.Area.InformationsBanner.BannerFarve"); 109 border-color: @GetString("Item.Area.InformationsBanner.BannerFarve"); 110 } 111 </style> 112 113 if (!string.IsNullOrWhiteSpace(GetString("Item.Area.InformationsBanner.InfoLink"))) 114 { 115 <a href='@GetString("Item.Area.InformationsBanner.InfoLink")'> 116 <div class="alert alert-warning fade in myAlert"> 117 <strong> @GetString("Item.Area.InformationsBanner.InfoTitel")</strong> @GetString("Item.Area.InformationsBanner.InfoTekst") 118 </div> 119 </a> 120 } 121 else 122 { 123 <div class="alert alert-warning fade in"> 124 <strong> @GetString("Item.Area.InformationsBanner.InfoTitel")</strong> @GetString("Item.Area.InformationsBanner.InfoTekst") 125 </div> 126 } 127 } 128 129 @inherits RazorTemplateBase<RazorTemplateModel<Template>> 130 @using Dynamicweb.Rendering; 131 @using System.Collections; 132 @using System.Globalization; 133 134 <header> 135 <a class="skip-main" role="navigation" aria-labelledby="Hovedindhold" href="#Hovedindhold">Skip til hoved indholdet</a> 136 <section class="service-navigation" style='display:@(String.IsNullOrEmpty(System.Web.HttpContext.Current.Request["ispdf"]) ? "block" : "none")' aria-label="service menu"> 137 <nav aria-label="Service menu"> 138 <ul class="container text-right hidden-print"> 139 @GetValue("DwNavigation(servicenavigation)") 140 <li class=""><a href="//www.adgangforalle.dk/" title="Audio" target="_blank" class="read-more-icon" rel="noreferrer">Læs op</a></li> 141 <li class=""><a href="javascript:void(0);" title="print" id="printicon" class="print-icon">Print</a></li> 142 </ul> 143 </nav> 144 </section> 145 <div class="navbar hidden-print" role="navigation" aria-label="Hoved menu" style='display:@(String.IsNullOrEmpty(System.Web.HttpContext.Current.Request["ispdf"]) ? "block" : "none")'> 146 <div class="container top-nav" id="nav-wrapper"> 147 <button class="navbar-toggle collapsed" aria-expanded="false" aria-label="Mobile Menu" data-target="#mobile-menu" data-toggle="collapse" type="button"> 148 </button> 149 <nav aria-label="Mobile Menu"> 150 @GetValue("DwNavigation(mobilemenu)") 151 </nav> 152 <div class="navbar-header col-xs-6 col-md-4"> 153 154 @if (!string.IsNullOrWhiteSpace(GetGlobalValue("Global:Device.IsDesktop")) || !string.IsNullOrWhiteSpace(GetGlobalValue("Global:Device.IsTablet"))) 155 { 156 if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Logo_Image"))) 157 { 158 <a class="navbar-brand" href='/Default.aspx?AreaID=@GetString("DwAreaID")' aria-label='@GetString("Item.Area.NameOrganisation")'> 159 <img src='@GetString("Item.Area.Logo_Image")' alt='@Translate("Sitename", "Bleauprint government")' onload="SVGInject(this)"> 160 </a> 161 } 162 } 163 else 164 { 165 if (!string.IsNullOrWhiteSpace(GetString("Item.Area.LogoMobile"))) 166 { 167 <a class="navbar-brand" href='/Default.aspx?AreaID=@GetString("DwAreaID")' aria-label='@Translate("Sitename", "Bleauprint government")'> 168 <img src='@GetString("Item.Area.LogoMobile")' alt='@Translate("Sitename", "Bleauprint government")' onload="SVGInject(this)"> 169 </a> 170 } 171 else 172 { 173 <a class="navbar-brand logo-image" href="/" title=""></a> 174 } 175 } 176 </div> 177 178 <nav class="col-sm-5 col-md-7 nav-top hidden-print" aria-label="Desktop Menu"> 179 @GetValue("DwNavigation(menu)") 180 </nav><!-- /.nav-collapse --> 181 182 @inherits RazorTemplateBase< RazorTemplateModel < Template > > 183 @using Dynamicweb.Rendering 184 185 <div class="search-nav pull-right col-xs-5 col-md-1 search-navFull"> 186 <a href="" class="collapsed" title="Søg"></a> 187 </div> 188 <div id="search-boxTop" class="search-drop search-form"> 189 @SnippetStart("StyleSheetHead") 190 @if (@Pageview.Area.ID == 1) 191 { 192 <link type="text/css" href="/Files/Templates/Designs/bleau-solutionset/assets/stylesheets/weightedSearch.min.css" rel="stylesheet"> 193 } 194 <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous"> 195 @SnippetEnd("StyleSheetHead") 196 197 @*<form action="/Default.aspx" accept-charset="utf-8" id="SearchFormTop"> 198 <input type="hidden" name="ID" value='@GetValue("Item.Area.Search_Result")'> 199 <div class="search-area"> 200 <input aria-label="Topmenu søge felt" id="searchSubmit" autocomplete="off" size="10" spellcheck="false" dir="ltr" class="search-input" placeholder='@Translate("search", "Skriv her hvad du s&oslash;ger...")' data-error='@Translate("searchText", "S&oslash;g p&aring; sitet")' type="text" name="q" value='@GetValue("DwSearchPhrase")'> 201 <input type="submit" value="Søg" class="search-button" title="Søg"> 202 </div> 203 </form>*@ 204 205 206 <form accept-charset="utf-8" id="SearchFormTop"> 207 <div class="search-area" id="CludoSearchFormTop" role="search"> 208 <input type="hidden" name="ID" value='@GetValue("Item.Area.Search_Result")'> 209 <input aria-label="Topmenu søge felt" id="searchSubmit" autocomplete="off" size="10" spellcheck="false" dir="ltr" class="search-input" placeholder='@Translate("search", "Skriv her hvad du s&oslash;ger...")' data-error='S&oslash;g p&aring; sitet' type="text" name="q" value=""> 210 <input type="submit" value="Søg" class="search-button" title="Søg"> 211 </div> 212 </form> 213 </div> 214 215 </div><!-- /.container --> 216 </div><!-- /.navbar --> 217 </header> 218 @SnippetStart("JavaScriptBottom") 219 <script src="/Files/Templates/Designs/bleau-solutionset/assets/javascripts/livesearch.js" type="text/javascript"></script> 220 @SnippetEnd("JavaScriptBottom") 221 222 <div class="navbar visible-print" role="banner"> 223 <div class="container top-nav"> 224 <div class="navbar-header col-xs-6 col-md-4"> 225 <div class="visible-print"> 226 <div class="navbar-brand"> 227 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Logo_Image")) && !string.IsNullOrWhiteSpace(GetGlobalValue("Global:Device.IsMobile"))) 228 { 229 <img src='@GetString("Item.Area.Logo_Image")' alt='@Translate("Sitename", "Bleauprint government")' aria-hidden="true" onload="SVGInject(this)"> 230 231 } 232 </div> 233 </div> 234 </div> 235 </div> 236 </div> 237 @{ 238 string Tpage = GetGlobalValue("Global:Pageview.LayoutTemplate"); 239 if (Tpage != ("frontpage.cshtml")) 240 { 241 <div class="selvbetjening-wrapper selvbetjening-mobil hidden-print" role="navigation" aria-label="selvbetjeningsmenu"> 242 <!-- WCAG ændring --> 243 244 <button class="selv-btn collapsed" aria-controls="Selvbetjeningsmenu" aria-expanded="false" id="selvbetjening-btn">@GetString("Item.Area.Tekster.Selvbetjening_Undersider")</button> 245 246 <div class="selvbetjening-links clearfix collapse dont-collapse-sm" id="Selvbetjeningsmenu"> 247 248 <!-- <ul class="dwnavigation" title="Selvbetjening" id="selfservice-green" data-settings="parenttag:Selvbetjening;endlevel:2;expandmode:Path;template:selfserviceNavigation.xslt;"></ul> --> 249 250 <ul title="Selvbetjening" id="selfservice-green"> 251 @{ 252 253 var entriesList = GetLoop("Item.Area.Entries_Item_List"); 254 255 foreach (var e in entriesList) 256 { 257 var title = e.GetString("Item.Area.Entries_Item_List.Title.Value"); 258 var type = e.GetString("Item.Area.Entries_Item_List.Type.Value"); 259 var href = e.GetString("Item.Area.Entries_Item_List.Link_Url.Value"); 260 261 <li> 262 <a href="@href" target="_self" title="@title" tabindex="-1"> 263 <img class="svg-inject" src="@type" alt="Ikon @title" onload="SVGInject(this)"> 264 @title 265 </a> 266 </li> 267 } 268 } 269 </ul> 270 271 </div> 272 </div> 273 } 274 275 } 276 <div id="Hovedindhold" role="main"> 277 278 279 280 <!--Breadcrumb grey line--> 281 <div class="grey-box leftSidebar"> 282 283 <!--Breadcrumb--> 284 <div class="container leftSidebar-subpage hidden-print"> 285 <div class="breadcrumb text-right col-xs-12"> 286 <nav aria-label="Breadcrumb navigation"> 287 @GetValue("DwNavigation(Breadcrumb)") 288 </nav> 289 </div> 290 </div> 291 </div> 292 293 <!--Left Sidebar--> 294 <div class="leftSidebar"> 295 <div class="container leftSidebar-subpage"> 296 297 <!--Left Sidebar menu--> 298 <div class="col-xs-12 col-sm-4 submenu-list hidden-xs hidden-print" id="leftMenu" role="navigation" aria-label="Venstre undermenu"> 299 @GetValue("DwNavigation(leftnav)") 300 </div> 301 <div class="col-xs-12 col-sm-8 page-title"> 302 <h1 class="title" id="pageTitle">@GetString("DwPageName")</h1> 303 <section aria-label="hoved indhold"> 304 <div class="main-content" id="rightColumn">@GetValue("DwContent(rightColumn)")</div> 305 </section> 306 </div> 307 </div> 308 </div> 309 310 <!--Purple & White Bottom Boxes--> 311 312 313 <!--Contacts area--> 314 <div class="leftSidebar purple-box"> 315 <div class="container leftSidebar-subpage"> 316 <div class="col-xs-12 col-sm-8 col-md-offset-4 col-sm-offset-4"> 317 <!--div class="dwcontent" title="Kontakter (flere) BRUG IKKE" id="TEST" settings="template:ContactNarrow.cshtml;"></div--> 318 <div id="more_contacts">@GetValue("DwContent(morecontacts)")</div> 319 </div> 320 </div> 321 </div> 322 </div> 323 324 <!--@Full width--> 325 <div class="row full-width" id="bottom-row-fluid">@GetValue("DwContent(bottomrowfluid)")</div> 326 327 328 <!--Grey Box with custom mobile submenu--> 329 <div class="grey-box leftSidebar hidden-print"> 330 <div class="container leftSidebar-subpage"> 331 <div class="col-xs-12 hidden-sm hidden-md hidden-lg clearfix mobile-submenu" id="GreyBox"> 332 @GetValue("Include(navigation/MobileSubmenu.cshtml)") 333 </div> 334 </div> 335 </div> 336 </div> 337 338 339 <footer class="row"> 340 <section class="container footer-wrapper" aria-label="footer"> 341 <div class="row" id="footerSections" role="contentinfo"> 342 <div class="col-xs-12 col-sm-4 col-md-3 quick-links hidden-print"> 343 <h1>@GetString("Item.Area.Tekster.Kolonne_1")</h1> 344 @GetValue("DwNavigation(quicklinks)") 345 </div> 346 <div class="col-xs-12 col-sm-4 col-md-3 adress-box vcard"> 347 <span class="fn hidden"> 348 <span class="given-name">@GetString("Item.Area.NameOrganisation")</span> 349 <span class="additional-name"></span> 350 <span class="family-name"></span> 351 </span> 352 <div class="fn org"><h1>@GetString("Item.Area.Tekster.Kolonne_2")</h1></div> 353 <div class="adress"> 354 <div class="street-address">@GetString("Item.Area.StreetAddress")</div> 355 356 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.PostalCode")) || !string.IsNullOrWhiteSpace(GetString("Item.Area.Lacation"))) 357 { 358 <div class="adr"><span class="postal-code">@GetString("Item.Area.PostalCode")</span> <span class="locality">@GetString("Item.Area.Lacation")</span></div> 359 } 360 361 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Telefon"))) 362 { 363 <div>@Translate("Telefon", "Telefon"): <span class="tel">@GetString("Item.Area.Telefon")</span> </div> 364 } 365 366 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Fax"))) 367 { 368 <div class="tel"> <span class="type">@Translate("Fax", "Fax"): </span><span class="value">@GetString("Item.Area.Fax")</span> </div> 369 } 370 371 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.CVR"))) 372 { 373 <div class="tel"> <span class="type">@Translate("CVR", "CVR"): </span><span class="value">@GetString("Item.Area.CVR")</span> </div> 374 } 375 376 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Email"))) 377 { 378 <a class="email" href='mailto:@GetValue("Item.Area.Email")'>@GetValue("Item.Area.Email")</a> 379 } 380 </div> 381 </div> 382 <div class="col-xs-12 col-sm-4 col-md-3 col-md-offset-3 work-time oh-day" itemscope="" itemtype="http://schema.org/CivicStructure"> 383 <h1 itemprop="name">@GetString("Item.Area.Tekster.Kolonne_4")</h1> 384 <ul class="oh-highlight-day"> 385 @foreach (var item in GetLoop("Item.Area.OpeningHours")) 386 { 387 <li><meta itemprop="openingHours" content='@item.GetValue("Item.Area.OpeningHours.Days")-@item.GetValue("Item.Area.OpeningHours.OpenHour")'>@item.GetValue("Item.Area.OpeningHours.Days")<span>@item.GetValue("Item.Area.OpeningHours.OpenHour")</span></li> 388 389 } 390 </ul> 391 392 </div> 393 </div> 394 395 @if(GetString("DwAreaID") == "1") { 396 <div class="col-xs-12 col-sm-12 col-md-12 hidden-print" id="WebAccessibility"> 397 398 <h1>Webtilgængelighed</h1> 399 <ul> 400 <li class="col-xs-12 col-sm-6 col-md-3"> 401 <i class="fa fa-si fa-sign-language" aria-hidden="true"></i> 402 Adgang med tegn 403 <label class="switch" for="Switchbutton"> 404 <span class="sr-only">Tænd eller sluk for Adgang med tegn</span> 405 <input role="switch" aria-checked="false" name="tænd eller sluk for adgang med tegn" aria-label="tænd eller sluk for adgang med tegn" class="switchBtn" id="Switchbutton" type="checkbox" onclick="SignLanguageMark(null,'rgba(255,255,0,0.5)');"> 406 <span class="slider round"></span> 407 </label> 408 409 </li> 410 <li class="col-xs-12 col-sm-6 col-md-3"> 411 <a href="https://www.adgangforalle.dk/" target="_blank"><i class="fa fa-volume-up" aria-hidden="true"></i>Få teksten læst op</a> 412 </li> 413 414 @{ 415 416 if (!string.IsNullOrWhiteSpace(GetString("Item.Area.WASpage_ID"))) { 417 418 int WASpage_ID = Convert.ToInt32(GetValue("Item.Area.WASpage_ID")); 419 string shortcut = Dynamicweb.Services.Pages.GetPage(WASpage_ID).ShortCut; 420 421 if (!string.IsNullOrWhiteSpace(shortcut)) 422 { 423 <li class="col-xs-12 col-sm-6 col-md-3"> 424 <a href="/was" target="_blank"><i class="fa fa-file-signature" aria-hidden="true"></i>Tilgængelighedserklæring</a> 425 </li> 426 } 427 428 } 429 } 430 <li class="col-xs-12 col-sm-6 col-md-3"> 431 <a href="/was-feedback"><i class="fa fa-comment" aria-hidden="true"></i>Giv os feedback</a> 432 <!-- <a href='/was-feedback?wcag=@GetGlobalValue("Global:Pageview.Url")'><i class="fa fa-comment" aria-hidden="true"></i>Giv os feedback</a> --> 433 </li> 434 </ul> 435 436 </div> 437 } 438 </section> 439 440 441 </footer> 442 443 <div class="bgr-opacity"></div> 444 <script type="text/javascript" src="/Files/Templates/Designs/bleau-solutionset/assets/javascripts/jquery.dotdotdot.min.js"></script> 445 <!-- <script type="text/javascript" src="assets/javascripts/infinityScroll.min.js"></script> --> 446 <script type="text/javascript" src="/Files/Templates/Designs/bleau-solutionset/assets/vendor/bootstrap/js/bootstrap.min.js"></script> 447 <script type="text/javascript" src="/Files/Templates/Designs/bleau-solutionset/assets/javascripts/main.min.js?vs=2"></script> 448 449 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Google_Analytics_ID"))) 450 { 451 <text> 452 <script> 453 var _gaq = [['_setAccount', '@GetValue("Item.Area.Google_Analytics_ID")'], ['_trackPageview']]; 454 (function(d, t) { 455 var g = d.createElement(t), 456 s = d.getElementsByTagName(t)[0]; 457 g.async = true; 458 g.src = '//www.google-analytics.com/ga.js'; 459 s.parentNode.insertBefore(g, s); 460 })(document, 'script'); 461 </script> 462 </text> 463 464 } 465 @RenderSnippet("JavaScriptBottom") 466 467 <!-- www.Cludo.com search start JS --> 468 <!--[if lte IE 9]> 469 <script src="https://api.cludo.com/scripts/xdomain.js" slave="https://api.cludo.com/proxy.html"></script> 470 <![endif]--> 471 <!-- www.Cludo.com search end JS --> 472 <!-- www.Cludo.com Search body init script start --> 473 <script type="text/javascript" src="//customer.cludo.com/scripts/bundles/search-script.min.js"></script> 474 <script> 475 var CludoSearch; 476 (function () { 477 var cludoSettings = { 478 customerId: 2539, 479 engineId: 11262, 480 searchUrl: "/kommunen/soegeresultat", 481 searchInputs: ["CludoSearchFormTop", "cludo-search-content-form", "SearchForm"], 482 initSearchBoxText: "", 483 loading: "<img src='//customer.cludo.com/img/loading.gif' alt='Loading' class='loading' role='progressbar' />", 484 endlessScroll: { stopAfterPage: 3, resultsPerPage: 10, bottomOffset: 700 } 485 }; 486 CludoSearch = new Cludo(cludoSettings); 487 CludoSearch.translateProvider.translations["da"]["backToTop"] = "<i class='fa fa-chevron-up'></i>"; 488 CludoSearch.translateProvider.translations["da"]["load_more"] = "Vis flere"; 489 CludoSearch.translateProvider.translations["da"]["your_search_on"] = "Søgningen "; 490 CludoSearch.init(); 491 })(); 492 </script> 493 <!-- www.Cludo.com Search body init script end --> 494 <!-- Dette script hører til Tilgængeligheds modulet. Adgang med tegn --> 495 <script data-consent="AdgangMedTegn"> 496 (function () { 497 var lwfile = 'cdhsign.dk/cdh_player.js'; 498 var lw = document.createElement('script'); 499 lw.type = 'text/javascript'; 500 lw.async = true; 501 lw.src = ('https:' == document.location.protocol ? 'https://' : 502 'http://') + lwfile; 503 var s = document.getElementsByTagName('script')[0]; 504 s.parentNode.insertBefore(lw, s); 505 }) 506 (); 507 508 window.getCookie = function (name) { 509 var match = document.cookie.match(new RegExp('(^| )' + name + '=([^;]+)')); 510 if (match) return match[2]; 511 } 512 window.setCookie = function (name, value, days, path) { 513 var expires = ""; 514 if (days) { 515 var date = new Date(); 516 date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000)); 517 expires = "; expires=" + date.toUTCString(); 518 } 519 document.cookie = name + "=" + (value || "") + expires + "; path=" + path; 520 } 521 jQuery('#Switchbutton').prop('checked', window.getCookie("SignIsActive") === 'true'); 522 function toggleAccessWithSign() { 523 SignLanguageMark(null, 'rgba(255,255,0,0.5)'); 524 } 525 526 window.onbeforeunload = function () { 527 var isActive = window.getCookie("SignIsActive") === 'true'; 528 document.cookie = "SignIsActive=" + isActive + "; expires=Thu, 01 Jan 1970 00:00:00 UTC"; 529 document.cookie = "SignIsActive=" + isActive + "; path=/"; 530 console.log('unload'); 531 } 532 </script> 533 534 <!--Monsido--> 535 <script type="text/javascript"> 536 if (cookiecontrolfunctions.isThisCategorySet("Statistics")) { 537 538 window._monsido = window._monsido || { 539 token: "vULfAOisiOiu3u_embYVGw", 540 statistics: { 541 enabled: true, 542 documentTracking: { 543 enabled: true, 544 documentCls: "monsido_download", 545 documentIgnoreCls: "monsido_ignore_download", 546 documentExt: ["pdf", "doc", "ppt", "docx", "pptx"], 547 }, 548 }, 549 heatmap: { 550 enabled: true, 551 }, 552 pageCorrect: { 553 enabled: true, 554 }, 555 }; 556 557 } 558 </script> 559 <script type="text/javascript" async="" src="https://app-script.monsido.com/v2/monsido-script.js"></script> 560 561 <!--Kari chat robot 562 <script type="text/javascript" data-kommune=gladsaxe src="https://prokomresources.prokomcdn.no/client-grunt/bot/kari.js"></script> --> 563 564 </body> 565 </html>