I inherited a bit of code and there is one aspect that is driving me bananas, the background images are not randomly loading as they are supposed to. A single static image loads and that's it.

So I don't bombard anyone with code, the sections that I think are causing the issue are:

Right after the body tag:

<script type="text/javascript">//<![CDATA[try{(function(a){var b="http://",c="newsite.robertbillings.net",d="/imagebank/cover/",e="img.gif",f=new a;f.src=[b,c,d,e].join("")})(Image)}catch(e){}//]]></script>
Bottom of page, right before body tag closes:

<!-- Javascripts -->


var page = "index"; 
var overlayWidth = 1000;


<script src="../ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>

<script src="cache/scriptsc058.js?359"></script>


/* JS: Add body class if specific slide is displayed */

/* Alternate logo color */
$('.white header h1 img').prop('src', '../imagebank/cover/82_image_36047.png'); rsn.uniformHeight(666);

// Add download blocker only to home page
$(document).ready(function() { if (page == "index") { rsn.blocker(); } });


Without the lower script nothing loads at all. jquery.min is located on the server. Anyone have an idea?