var JERZYGANGI = window.JERZYGANGI || {};

JERZYGANGI.RandomImage = {

get: function() {
	var theImages = new Array() // do not change this

	// To add more image files, continue with the
	// pattern below, adding to the array.

	theImages[0] = './images/headers/fantasy.jpg'
	theImages[1] = './images/headers/nyc_skyline.jpg'
	theImages[2] = './images/headers/baltimore_180d.jpg'
	theImages[3] = './images/headers/bon_jovi_crowd.jpg'
	theImages[4] = './images/headers/rack_gear.jpg'
	theImages[5] = './images/headers/orch_1.jpg'
	theImages[6] = './images/headers/piano_ivories.jpg'
	theImages[7] = './images/headers/stage_floor.jpg'
	theImages[8] = './images/headers/orchestra_house.jpg'
	theImages[9] = './images/headers/maxmsp.jpg'
	
	

	var j = 0;
	var p = theImages.length;
	var preBuffer = new Array()
	for (i = 0; i < p; i++){
	   preBuffer[i] = new Image()
	   preBuffer[i].src = theImages[i]
	}
	var whichImage = Math.round(Math.random()*(p-1));
	
//	return ("'url(" +theImages[whichImage]+ ")'");
	return theImages[whichImage];
	
	
	}
}
