/* list all items */
var a_items = [
	'<a href="faculty-huselid.html"><img src="images/home_ff_image1.gif" alt="The Differentiated Workforce - Mark Huselid"></a><h2>FEATURED FACULTY</h2><h3>Mark Huselid, Ph.D.</h3><p>Mark Huselid&prime;s latest book, The Differentiated Workforce: Transforming Talent Into Strategic Impact, is designed to provide HR managers with a blueprint for deciding when, where, and ...</p><p><a href="faculty-huselid.html">Click here to read more</a></p>',
	'<a href="faculty-mckay.html"><img src="images/home_ff_image2.jpg" alt="Patrick McKay"></a><h2>FEATURED FACULTY</h2><h3>Patrick McKay</h3>	<p>Professor McKay&prime;s recent research has focused on examining the impact of diversity climate on individual and organizational performance.</p><p><a href="faculty-mckay.html">Click here to read more</a></p>'
];

function randomize (a_items, n_count) {
	var n_index, s_html = '<table cellpadding="0" cellspacing="0" border="0"><tr>';
	while (a_items.length && n_count) {
		n_index = Math.ceil(Math.random() * a_items.length) - 1;
		s_html += '<td>' + a_items[n_index] + '</td>';
		a_items[n_index] = a_items[a_items.length - 1];
		a_items.length = a_items.length - 1;
		n_count--;
	}
	return s_html + '</tr></table>';
}

// call randomizer
// param 1 - list of items
// param 2 - number of items to display
document.write(randomize (a_items, 1));
