function shuffle(arr)
{
	for(var j, x, i = arr.size(); i; j = parseInt(Math.random() * i), x = arr[--i], arr[i] = arr[j], arr[j] = x);
	return arr;
}


function shuffleColonne( jquerycolonneid )
{
	var colgauche = $("div[id='"+jquerycolonneid+"'] > div");
	
	var isrc = shuffle(colgauche);
	 
	var inbr = isrc.size();
	var codehtml = "";
	for(var i=0;i<inbr;i++)
	{
		codehtml += isrc.get(i).innerHTML;
		//codehtml += "<br />" + isrc.get(i);
	}
	$("div[id='"+jquerycolonneid+"']").html( codehtml );

}

//function shuffleColonne( sourcediv ,targetdiv)
//{
//	var colgauche = $(sourcediv);
//	//var colgauche = $("div[id='"+jquerycolonneid+"'] > div");
//	var isrc = shuffle(colgauche);
////	explore(isrc.get(1));
////	alert("************** on continu");
////	explore(isrc.get(1).andSelf() );
////alert('ok');
////explore ( sourcediv.parents('*').andSelf().filter(isrc.get(1)));
////explore(isrc.get(1));
////alert('ok');
//
//	var inbr = isrc.size();
////	alert( isrc.get(1).clone(true).unbind().innerHTML);
//	var codehtml = "";
//	for(var i=0;i<inbr;i++)
//	{
//		codehtml += isrc.get(i).innerHTML;
//		//codehtml += "<br />" + isrc.get(i);
//	}
//	$(targetdiv).html( codehtml );
//
//}
