<!--

// by Tobby D. Hagler //
// THECABIN.NET //

//////// Initial Code Area ////////

function displayCard()

{

	//////// Claim Some Space for Variables ////////
	var nCard; //local variable to hold a randomly generated value
	var iCard; //local dumb variable for loops
	var CardInserts; //initializes a new local array to hold the file names for the include files

	//////// Use Up System Memory ////////
	CardInserts = new Array(); //allocates memory to the new includes string array 

	//////// Working Code Area ////////

	//////// Start Doing the Math ////////
	nCard = (Math.round(Math.random() * 4)); //assigns a random number to the 'nCard' variable

	CardInserts[0] = "<img src=images/face1.jpg width=61 hspace=5 align=left  height=69 border=1 alt=''>";

	CardInserts[1] = "<img src=images/face2.jpg width=61 hspace=5 align=left  height=69 border=1 alt=''>";
	CardInserts[2] = "<img src=images/face3.jpg width=61 hspace=5 align=left  height=69 border=1 alt=''>";
	CardInserts[3] = "<img src=images/face4.jpg width=61 hspace=5 align=left  height=69 border=1 alt=''>";
	CardInserts[4] = "<img src=images/face5.jpg width=61 hspace=5 align=left  height=69 border=1 alt=''>";
	document.write(CardInserts[nCard]);

}
//-->
