text: var allLoadingDone=function(){if(config.startScreenName){document.getElementById("splash").src=config.startScreenName;var progressbar=document.getElementById("progressbar");progressbar.style.display="none";window.onmousedown=()=>{var progressbar=document.getElementById("progressbar");progressbar.style.display="none";var splashscreen=document.getElementById("splash");splashscreen.style.display="none";window.onmousedown=null;}}
  else{var progressbar=document.getElementById("progressbar");progressbar.style.display="none";var splashscreen=document.getElementById("splash");splashscreen.style.display="none";}},resizeScreen=function(){var newHeight=window.innerHeight;var newWidth=(config.width/config.height)*newHeight;if(newWidth>window.innerWidth){newWidth=window.innerWidth;newHeight=newWidth*(config.height/config.width);}
  var splash=document.getElementById("splash");splash.style.visibility="visible";var progressbar=document.getElementById("progressbar");progressbar.style.width=newWidth*config.progressBar_width+"px";progressbar.style.height=newHeight*config.progressBar_height+"px";progressbar.style.visibility="visible";};