$(document).ready(function () {
	//this is only for the space pirates ad banners
	//As there's 9 images just need to find a number between 1 and 9
	//and tag it at the end of the path
	var path = "images/sp_adbanner";
	var randNum = Math.floor(((Math.random()*9)+1));
	var src = path + randNum + ".png";
	
	$('#adBanner').error(function() {
		src = "../images/sp_adbanner" + randNum + ".png";
		$('#adBanner').attr("src", src);
	}).attr("src", src);
});
