3){}else if(funcs.length===3){func=window[funcs[0]][funcs[1]][funcs[2]];}else if(funcs.length===2){func=window[funcs[0]][funcs[1]];}else{func=window[self.funcName];} if(typeof func!==’undefined’&&func!==null){func.apply(null,this.parameters);} if(self.deleteWhenComplete===true)delete items[name];if(self.isBlock===true){log(“—– F’D: “+self.name);processAll();}}},file:function(name,path,isBlock,blockedBy,async,defer,proceedIfError){var self=this;this.name=name;this.path=path;this.async=async;this.defer=defer;this.isBlock=isBlock;this.blockedBy=blockedBy;this.isInitialized=false;this.isError=false;this.isComplete=false;this.proceedIfError=proceedIfError;this.isTimeDelay=false;this.process=function(){self.isInitialized=true;log(“… file = “+name);var scr=document.createElement(‘script’);scr.src=path;if(async===true)scr.async=true;else if(defer===true)scr.defer=true;scr.onerror=function(){log(“—– ERR’D: “+self.name);self.isError=true;if(self.isBlock===true){processAll();}};scr.onreadystatechange=scr.onload=function(){var state=scr.readyState;log(“—– F’D: “+self.name);if((!state||/loaded|complete/.test(state))){self.isComplete=true;if(self.isBlock===true){processAll();}}};document.getElementsByTagName(‘head’)[0].appendChild(scr);}}};function init(){window.addEventListener(“load”,function(){setTimeout(function(){timeDelayFired=true;log(‘TDELAY —–‘);processAll();},5000);},false);} function addFile(name,path,isBlock,blockedBy,async,defer,proceedIfError,priority){var item=new …