/*<![CDATA[*/
<!-- //
$(document).ready(function()
{
	temparray = new Array();
	tempstring = '';
	function fisherYates ( myArray ) {
		var i = myArray.length;
		if ( i == 0 ) return false;
		while ( --i ) {
     		var j = Math.floor( Math.random() * ( i + 1 ) );
     		var tempi = myArray[i];
     		var tempj = myArray[j];
     		myArray[i] = tempj;
     		myArray[j] = tempi;
		}
	}
	$('#right .content ul.csc-bulletlist li').each(function(i){
		// list items in array:
		temparray[i] = $(this).html();
	});
	// array mischen:
	fisherYates(temparray);
	// liste leeren:
	$('#right .content ul.csc-bulletlist').remove();
	// liste wieder füllen:
        itemcount = 7
	tempstring = '<ul class="clientslist">';
	for(j=0;j<temparray.length;j++){
		tempstring += '<li>'+temparray[j]+'</li>'+"\n";
		if( j >= itemcount && j%itemcount == 0 ){
			tempstring += '</ul>'+"\n";
			tempstring += '<ul class="clientslist">'+"\n";
		}
	}
        tempstring += '</ul>'+"\n";
	$('#right .content .csc-header').after(tempstring);
	// let the fun begin:
	$('#right .content').cycle({
		fx: 'fade',
		slideExpr: 'ul',
		next: 'ul.clientslist',
		timeout: 4000
	});

});
// -->
/*]]>*/