shuffle = function( o )
{
	for( var j, x, i = o.length; i; j = parseInt(Math.random() * i), x = o[--i], o[i] = o[j], o[j] = x );
	return o;
};

window.onload = function()
{
	divs = $( '.textcontest' );
	
	var order = new Array();
	divs.each( function( element )
	{
		order[element] = this.innerHTML;
	});
	
	order = shuffle( order );
	
	divs.each( function( i )
	{
		this.innerHTML = order[i];
	});
	
}
