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