') {
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
Øyvind G Antonsen
Associate Professor
- Email
-
oyvind.antonsen@inn.no
- Phone number
-
+47 62 51 78 72
- Mobile number
-
+47 915 18 353
Faculty of Applied Ecology, Agricultural Sciences and Biotechnology
Faculty of Applied Ecology, Agricultural Sciences and Biotechnology
Campus Hamar
Addresses
Postal Address
Inland Norway University of Applied Sciences
Postboks 400
2418 Elverum
Norway