﻿String.prototype.trim = function () {
  return this.replace(/^\s+|\s+$/g, "");
}

$(document).ready(function () {
  $('.randomPart').hide();
  var count = $('.randomPart').length;
  var randomNumber = Math.floor(Math.random() * count);
  $('.' + randomNumber).show();
});
