$(function() {
function n() {
for (var n = "", t = parseInt($("#dropdown_met_aantal_plaatjes").val()), e = parseInt($("#dropdown_met_aantal_verschillende_plaatjes").val()), o = 12, a = 0; t > a; a++) {
var i = 1 + Math.floor(Math.random() * e);
o += i, n += ""
}
n += "
+ " + o + " +
", $("#content").html(n), $("#content img").hide().each(function(n) {
$(this).delay(25 * n).show(100)
})
}
$(document).keypress(function(t) {
(13 == t.which || 32 == t.which) && n()
}), $("#shuffle_button").click(function() {
n()
}), $("#shuffle_button_again").click(function() {
n()
}), n()
});