function myrandom(min, max){
	return Math.floor(Math.random() * (max - min + 1) + min);
};

Array.prototype.getRandom = function(){
		return this[myrandom(0, this.length - 1)] || null;
	}
