/* http://blog.mastykarz.nl/jquery-random-filter/
 * Author: Waldek Mastykarz
 */
 
jQuery.jQueryRandom = 0;
jQuery.extend(jQuery.expr[":"],
{
    random: function(a, i, m, r) {
        if (i == 0) {
            jQuery.jQueryRandom = Math.floor(Math.random() * r.length);
       };
       return i == jQuery.jQueryRandom;
    }
});

$(document).ready(function () {
		//Look for random img to put .activeimg
		$("#randomimages .img").removeClass("show");
		$("#randomimages .img:random").addClass("show");
});

