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