') {
appendScript(essentialCookiesScript);
}
}
});
scriptObserver.observe(document.head, {childList: true});
}
function setConsentFlagsAndAppendScript(cookieName) {
if(readCookie(cookieName)) {
vrtxConsents[cookieName] = true;
// Check if GA script tag has been added, then add consent scripts
var scriptObserver = new MutationObserver(function (mutationRecords) {
for(var i = 0; i < mutationRecords.length; i++) {
var mutationRecord = mutationRecords[i];
if(mutationRecord.addedNodes && mutationRecord.addedNodes.length > 0&& mutationRecord.addedNodes[0].outerHTML && mutationRecord.addedNodes[0].outerHTML.trim() === '') {
appendScript(cookieName);
}
}
});
scriptObserver.observe(document.head, {childList: true});
}
}
essentialCookiesAppendScript("essential");
setConsentFlagsAndAppendScript("UsageAnalysisConsent");
setConsentFlagsAndAppendScript("MarketingConsent");
document.addEventListener('DOMContentLoaded', function() {
consentBanner("/vrtx/fellestekst/samtykke/samtykke.html");
});
// -->
Norwegian version of this page
Bjørn Arne Buer
Assistant Professor
- Email
-
bjorn-arne.buer@inn.no
- Phone number
-
+47 61 28 80 58
Faculty of Social and Health Sciences
Secton for Child Portection, Social Work and Social Education
Campus Lillehammer
Addresses
Postal Address
Inland Norway University of Applied Sciences
Postboks 400
2418 Elverum
Norway