function show(c,n,k,a,d,g,b,j){var h=new Array();var f={};var l=[];for(var e=0;e<j;e++){while(true){h[e]=Math.floor(Math.random()*j);if(!(h[e] in f)){f[h[e]]="1";break}}l.push(h[e])}var m=0;jQuery.each(g,function(p,r){var o=r.split("%");var q=o[1]+"<img src="+b+"/"+p+"_thumb.jpg alt="+o[0]+"></a>&nbsp";if(!o[0]){o[0]="<br>"}jQuery("#"+d+l[m]).fadeIn(c).fadeTo(n,1).fadeOut(k).html(q);jQuery("#"+a+l[m]).fadeIn(c).fadeTo(n,1).fadeOut(k).html(o[0]);m++})};