document.write('');
function wloarn(arr){var num=0;for(var k in arr){var v=arr[k];for(var k2 in v){var v2=v[k2];if(k2==='ratio'){num+=v2;}}}return num;}
function shuffle(arr){var n=arr.length,t,i;while(n){i=Math.floor(Math.random()*n--);t=arr[n];arr[n]=arr[i];arr[i]=t;}return arr;}
function wlam(arr,fn){var temp_arr=new Array();for(n=0;n