//Left side of page 
var clubImages = new Array( '<a href="http://www.csibc.net"><img src="images/csi3.jpg" alt="CSI"></a>',
'<a href="http://www.crabsbrew.org/"><img src="images/crabs.gif" alt="Crabs"></a>',
'<a href="http://www.wootown.org/"><img src="images/woo.jpg" alt="Wootown"></a>',
'<a href="http://home.comcast.net/~midnighthomebrewers"><img src="images/mhllogo0.jpg" alt="Midnight Homebrewers"></a>',
'<a href="http://www.f-o-a-m.org/"><img src="images/foamlogo.gif" alt="Foam"></a>',
'<a href="http://www.maltclub.org/"><img src="images/maltlogo.jpg" alt="Malt"></a>',
'<a href="http://mysite.verizon.net/benbrew/pals.html"><img src="images/pals.gif" alt="Pals"></a>',
'<a href="http://baltibrew.org/"><img src="images/baltibrew.gif" alt="Baltibrew"></a>',
'<a href="http://sites.google.com/site/marylandkillerales/"><img src="images/killer.jpg" alt="Killer Ales"></a>',
'<a href="http://www.libationassociation.org/"><img src="images/libation.jpg" alt="Libation Association"></a>',
'<a href="http://gewa.gsfc.nasa.gov/clubs/zymurnauts/"><img src="images/zymurnauts.jpg" alt="Zymurnauts"></a>');

//Right Side of page 
var supporterImages = new Array( '<a href="http://www.mdhb.com/"> <img src="./images/mdhb.gif" alt="Maryland Homebrew"></a>',
'<a href="http://www.clippercitybeer.com"> <img src="./images/clippercitylogo.jpg" alt="Clipper City"></a>',
'<a href="http://www.duclaw.com"> <img src="./images/duclaw.jpg" atl="DuClaw"></a>',
'<a href="http://www.thirstybrewer.com/"> <img src="./images/thirstybrewer.jpg" atl="Thirsty Brewer"></a>');

var raffle = new Array('<a href="http://www.mdhomebrewers.com/raffle/"> <img src="./raffle/images/1.gif" alt="Raffle"></a>'); 


function chooseRandom(myLowNum, myHighNum) {
	// get the total range (from 0) for the random number to be chosen:
	var myRange = myHighNum - myLowNum + 1;
	
	// set a local variable named result to be a random integer in the range:
	var result = Math.floor(myRange * Math.random());
	
	// add the low number to the result to get a random number in the
	// corrected range:
	result += myLowNum;
	
	return result;
};

function shuffleArray(myArray) 
{
	var myRandomPosition;
	var myChoice;
	for (x=(myArray.length - 1); x > 0; x--) 
	{
		myRandomPosition = chooseRandom(0, x);
		myChoice = myArray[myRandomPosition];
		myArray[myRandomPosition] = myArray[x];
		myArray[x] = myChoice;
	};
 };

function printImages(myArray) 
{
   //document.write('<p>' + raffle[0] + '</p>'); 
   
	for (i = 0; i < myArray.length; i++)
	{
	   document.write('<p>' + myArray[i] + '</p>')
	}
	
};