/*

	Random Image Display From List Of Images

*/

//	Your ARRAY is the list of items you wish to randomly display
//	replace "image1.gif" with the filename of the images you use
//	To keep this easier, place all these files in one folder (good organization ftw)
var img = new Array(
	'images/rban_admhead.gif',
	'images/rban_happy.gif',
	'images/rban_tongry.gif'
);


	

//	This statement finds out how many items are in your list.
//	You don't have to edit anything here.
var max = img.length;


//	These statements grab a random number and use it to pick a random item from your list.
//	Again, no editing necessary
var num1 = Math.floor((Math.random() * max));


//	document.write is how you tell a browser which code it should display
//	All code placed between 'quotes' will be interpreted as HTML
//	You can edit this all you like, just make sure you keep your code like this:
//		document.write(' YOUR CODE HERE ');

document.write('<img src="' + img[num1] + '" width="800" height="150" alt="ANGRY D MONKEY" />');

//	Feel free to bug me if you need help :3