$(document).ready(function(){
	var arr = jQuery.makeArray(document.getElementById("thumbsBottom").getElementsByTagName("div"));
	//alert(arr);
	arrID = new Array();
	jQuery.each(arr, function() {
		arrID.push(this.id);
		
	});
	//alert(arrID);
	// sort array in random order
	function randOrd(){
	return (Math.round(Math.random())-0.5);
	}
	arrID.sort( randOrd );
	// select first 5 crew member in array
	
	// hide all first
	$("#thumbsBottom div").hide();
	var i=0;
	for(i=0;i<5;i++){
		$("#thumbsBottom #"+arrID[i]).removeClass("first");
		if(i==0){
			$("#thumbsBottom #"+arrID[i]).addClass("first");
		}
	}
	//reverse order to show first correctly
	for(i=4;i>=0;i--){
		$("#thumbsBottom #"+arrID[i]).clone().prependTo("#thumbsBottom");
		$("#thumbsBottom #"+arrID[i]).show();
	}

});
// end