
$(document).ready(function() {
   // do stuff when DOM is ready
   $("#quoteBox").ready(function() {
   var totalNum = 9; //the total number of images in a folder.
 	var rndNum = Math.floor(Math.random() * totalNum);
   	$("#quoteBox").css("background","transparent url(headers/header"+rndNum+".jpg) left top no-repeat");
 //  alert("headers/header"+rndNum);
   	});
   	
 });