if(typeof addPackage!="function"){var addPackage=function(E,D,F){window.setTimeout(function(){addPackage(E,D,F)},100)}}if(!(window.attachEvent&&!window.opera)){var scriptContainer=document.getElementById("javascripts");var childs=scriptContainer.childNodes;var scriptCount=0;var scriptsLoaded=0;for(var i=0;i<childs.length;i++){var currentChild=childs[i];if(currentChild.nodeName.toLowerCase()=="input"){var scriptElement=document.createElement("script");scriptElement.type="text/javascript";scriptElement.src=currentChild.value;scriptElement.onreadystatechange=function(){if(this.readyState=="complete"){scriptsLoaded++}};scriptElement.onload=function(){scriptsLoaded++};document.getElementsByTagName("head")[0].appendChild(scriptElement);scriptContainer.removeChild(currentChild);scriptCount++}}var waiter=function(){if(scriptCount==scriptsLoaded){triggerDomReady()}else{setTimeout(waiter,100)}};setTimeout(waiter,100)}else{triggerDomReady()};