$(document).ready( function() { 
	// DISPLAYS A RANDOM NUMBER 1 - 6
	var HArray = new Array("http://www.bbscullman.com/", "http://www.cullmanec.com/", "http://carterandcompanyre.com/", "http://www.crmchospital.com/", "http://www.alabamalandbank.com/", "http://www.mortonbuildings.com/");
	var IArray = new Array("http://cullmanchamber.org/images/logos/bryanbusiness.gif", "http://cullmanchamber.org/images/logos/cec.gif", "http://cullmanchamber.org/images/logos/carterco.jpg", "http://cullmanchamber.org/images/logos/crmconlyhoricolor.gif", "http://cullmanchamber.org/images/logos/fedlandbank.gif", "http://cullmanchamber.org/images/logos/mortonbuildings.gif");
	var randone = Math.floor(Math.random()*6);
	var randtwo = Math.floor(Math.random()*6);
	while (randone == randtwo) { randtwo = Math.floor(Math.random()*6); }
	var randthree = Math.floor(Math.random()*6);
	while ((randthree == randtwo) || (randthree == randone)) { randthree = Math.floor(Math.random()*5)+1; }
	$("#hone").attr("href", HArray[randone]);
	$("#htwo").attr("href", HArray[randtwo]);
	$("#hthree").attr("href", HArray[randthree]);
	$("#ione").attr("src", IArray[randone]);
	$("#itwo").attr("src", IArray[randtwo]);
	$("#ithree").attr("src", IArray[randthree]);
}); // end doc ready


