function RandomImage(){

	function get(arrayImages, width, height, alt){
		
		number = generateRandomNumber(0, (arrayImages.length - 1));
		document.write("<img src=\"" + arrayImages[number] + "\" width=\"" + width + "\" height=\"" + height + "\" alt=\"" + alt + "\">");
		
	}// function show()
	
	function generateRandomNumber(x, y){
	
		var range = y - x + 1;
		return Math.floor(Math.random() * range) + x;
	
	}// function generateRandomNumber(x, y)
	
	this.get = get;
	
}// function RandomImage(messageArray, width, height, alt)

var randomImage = new RandomImage();