
;(function(){ 
    //Please Do NOT change or modify this function 
    var D=document,W=window; 
    W.WebreaderAsyncCommands = new Array(); 
    var loadIVONAWebReaderLibs = function(){ 
             ts=new Date().getTime(); 
             W.WebreaderAutoCreate = 0; 

             a = D.createElement("div"); 
             a.setAttribute("id","webreader-root"); 
             if(!D.body) return; 
             D.body.appendChild(a); 

             e = D.createElement("script"); 
             e.async = true; 
             if("https:" == document.location.protocol){ 
                 e.src = "https://secure.ivona.com/static/scripts/webreaderPlayer2.js?timestamp="+ts 
             }else{ 
                 e.src = "http://player.ivona.com/www/static/scripts/webreaderPlayer2.js?timestamp="+ts 
             } 
             a.appendChild(e); 
    } 
    W.IVONAWebreaderDomLoad = function(){ 
        a = arguments.callee; a.init = a.init||0; 
        if(a.init==0){a.init=1;loadIVONAWebReaderLibs()} 
    } 
    if (W.addEventListener) { 
        W.addEventListener("load", IVONAWebreaderDomLoad, false);return; 
    } else if (D.addEventListener){ 
        D.addEventListener("DOMContentLoaded", IVONAWebreaderDomLoad, false);return; 
    } else if (W.attachEvent ) { 
        W.attachEvent("onload", IVONAWebreaderDomLoad);return; 
    } else { 
        if (typeof W.onload == "function") { 
             var fnOld = W.onload; 
             W.onload = function() { 
                 fnOld(); 
                 W.IVONAWebreaderDomLoad(); 
             } 
         } else { 
             W.onload = function(){ 
                 setTimeout(W.IVONAWebreaderDomLoad, 0); 
             } 
         } 
    } 

})(); 

