Loading Screen random words help.

The default Garry’s Mod loading screen is a Gmod icon in the middle with words on the bottom, changing every probably 5 seconds. I made a custom one similar to it, except that the words won’t even show up when you are on the loading screen. I also wanted it so it would show the amount of downloads left on the bottom left hand side of the screen. I copied the code from the default and just edited it a bit. Here’s the code:




<html>
<head>
</head>
<body bgcolor = "black">
<center>
	<div style='position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 50%; height: 50%; margin: auto; overflow: show;'>
		<img src='images/loading_icon.png'>
	</div>
</center>
	<div style='-webkit-box-reflect: below -120px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(0.1, transparent), to(rgba(255, 255, 255, 1.0))); position: absolute; top: 90%; right: 0; bottom: 0; left: 5%; height: 100px; overflow: show; font-family: Arial; font-size: 24px; font-weight: bold; color: #888' id='files'>
	</div>
<div style="position: absolute; left: 195px; top: 350px;">
<img src='images/welcome.png'>
</div>




<script type="text/javascript">


	keywords = 
	[
	 "Special Thanks: josh980 - Awesome Lua Coder",
	 "Special Thanks: Mandalore the Unexperienced - Master of FPS games",
	 "Trivia: What's the only mammal that can't fly that can fly?",
	 "Trivia: Rearrange the letters in the word, new door, to make one word.",
	 "Trivia: What driver doesn't have a license?",
	 "Trivia: A meat butcher is 6 feet tall. What does he weigh.",
	 "YOUR COMPUTER IS ABOUT TO EXPLODE!",
	 "Battery - Metallica",
	 "Peace Sells - Megadeth",
	 "Nightmare - Avenged Sevenfold",
	 "This is Exile - White Chapel",
	 "Walk With me in Hell - Lamb of God",
	 "You are entering: DinDig. Enjoy your stay.",
	 "Don't look behind you.",
	 "Playing Resident Evil 5 as I'm writing this.",
	 "Visit dindig.com to earn a cookie."
	 "Press 'x' to be admin on spawn."
	]




	var bCanChangeStatus = true;
	function ChangeText ( )	{
		if ( bCanChangeStatus )
		{
			var keyword = keywords[ Math.floor( Math.random() * keywords.length ) ]
			document.getElementById( "loadingtext" ).innerHTML = keyword;
		}
		
		setTimeout( "ChangeText()", 2500 );
	}
	
	ChangeText();
	
	var iFilesNeeded = 0;
	var iFilesTotal = 0;
	var bDownloadingFile = false;
	
	function SetFilesNeeded( iNeeded )
	{
		iFilesNeeded = iNeeded;
		RefreshFileBox();
	}
	
	function SetFilesTotal( iTotal )
	{
		iFilesTotal = iTotal;
		RefreshFileBox();
	}
	
	function DownloadingFile( filename )
	{
		if ( bDownloadingFile )
		{
			iFilesNeeded = iFilesNeeded - 1;
			RefreshFileBox();
		}
		
		document.getElementById( "loadingtext" ).innerHTML = "Downloading " + filename;
		bCanChangeStatus = false;
		setTimeout( "bCanChangeStatus = true;", 1000 );
		
		bDownloadingFile = true;
		
	}
	
	function SetStatusChanged( status )
	{
		if ( bDownloadingFile )
		{
			iFilesNeeded = iFilesNeeded - 1;
			bDownloadingFile = false;
			RefreshFileBox();
		}
		
		document.getElementById( "loadingtext" ).innerHTML = status;
		bCanChangeStatus = false;
		setTimeout( "bCanChangeStatus = true;", 1000 );
	}
	
	function RefreshFileBox()
	{
		document.getElementById( "files" ).innerHTML = "<img src='download.png' style='position: relative; top: 7px;'> " + iFilesNeeded + " downloads remaining";
		
		if ( iFilesTotal > 0 )
			document.getElementById( "files" ).style.visibility = 'visible';
		else
			document.getElementById( "files" ).style.visibility = 'hidden';
	}
	
	RefreshFileBox();
	
</script>


<script type="text/javascript">
//<![CDATA[
window.__CF=window.__CF||{};window.__CF.u="/cdn-cgi/async/cf/uri/";window.__CF.p="84/530ea5f35644878fd237bb6d3fdbb6";window.__CF.o=1;window.__CF.c=0;(function(){var a=document,b=a.createElement("script");b.src="//ajax.cloudflare.com/cdn-cgi/nexp/v=918368360/cf_tools.min.js";b.setAttribute("async","true");a=a.getElementsByTagName("script");a=a[a.length-1];a.parentNode.insertBefore(b,a)})();
//]]>
</script></body>
</html>

Here’s how it looks like:

Any advice will help.