Blog / Resources
Below is a range of information relating to accounting practices and how they could assist your circumstances, which you may find of interest.
If you’d like to receive updates via email, please subscribe to our newsletter below.
*/}).toString().match(regex); /*-->*/ var headerAssets = matches[1]; function getElementAttrs(el, new_el) { Array.prototype.slice.call(el.attributes).forEach(function(item) { new_el.setAttribute(item.name, item.value); }); } function appendElementToHead(element) { var tagname = element.tagName; var e = document.createElement(tagname); e.innerHTML = element.innerHTML; getElementAttrs(element, e); if(e.nodeName == 'LINK') { // temporarily, set media to something non-matching to ensure it'll // fetch without blocking render e.media = 'only x'; } document.head.appendChild(e); setTimeout( function(){ // set media back to `all` so that the stylesheet applies once it loads e.media = 'all'; },0); } function downloadCSSAtOnLoad() { for (var i = 0; i < cssArray.length; i++) { // Create element as a new node and append to body asset = cssArray[i]; div = document.createElement('div'); div.innerHTML = asset; element = div.firstChild; appendElementToHead(element); } } var cssArray = []; var headerAssetsArray = headerAssets.split("\n"); var asset = ''; var div = ''; var element = ''; var index = 0; for (var i = 0; i < headerAssetsArray.length; i++) { asset = headerAssetsArray[i]; asset = asset.trim(); if(asset === '') { continue; } // Create element and place asset inside div = document.createElement('div'); div.innerHTML = asset; // Check if a stylesheet and load at OnLoad element = div.getElementsByTagName('link')[0]; if(element && element !== 'undefined') { cssArray[index++] = asset; continue; } // Create element as a new node and append to body element = div.firstChild; appendElementToHead(element); } if (window.addEventListener) { window.addEventListener("load", downloadCSSAtOnLoad, false); } else if (window.attachEvent) { window.attachEvent("onload", downloadCSSAtOnLoad); } else { window.onload = downloadCSSAtOnLoad; }
Below is a range of information relating to accounting practices and how they could assist your circumstances, which you may find of interest.
If you’d like to receive updates via email, please subscribe to our newsletter below.