var postCards=new Array();var finish=true;var firstTime=true;$(document).ready(function(){a();if(jQuery.support.leadingWhitespace){$(".navigation li a:first").click(function(c){a();c.preventDefault;return false})}function a(){var c=$(".randomcontent").length;var e=Math.floor(Math.random()*c);if(firstTime){$(".randomcontent:nth-child("+parseInt(e+1)+")").show();firstTime=false;finish=true}else{var f=$(".randomcontent:visible").index();var d=0;postCards.push(f);while(e==f){var e=Math.floor(Math.random()*c)}if(!Array.prototype.indexOf){d=b(e,postCards)}else{d=parseInt(postCards.indexOf(e))}if(e!=f&&d>=0){var e=Math.floor(Math.random()*c)}if(finish){finish=false;$(".randomcontent:nth-child("+parseInt(f+1)+")").hide();$(".randomcontent:nth-child("+parseInt(e+1)+")").show();finish=true}if(postCards.length==c){postCards=[]}}}function b(e,d){var f=-1;for(var c=0;c<d.length;c++){if(d[c]==e){f=c;break}}return f}});
