// The Array Function /// Update this with the new total


function makeArray(len) {
    for (var i = 0; i < len; i++) this[i] = null;
	this.length = len;
}



// This is where the array of images is created. /// Update this with new pics

ideas = new Array();  					words = new Array();
ideas[0] = "125.jpg";					words[0] = "The Tracks at the 125th St. Subway";
ideas[1] = "alabama.jpg";				words[1] = "Amol and Mustafa at an Alabama Truck Stop";
ideas[2] = "alberta.jpg";				words[2] = "Amol at the Dinosaur Museum in Alberta, Canada";
ideas[3] = "atstanford.jpg";			words[3] = "Amol Posing Sweetly at Building 90, Stanford";
ideas[4] = "banff.jpg";					words[4] = "Amol Overlooking the Canadian Rockies at Banff";
ideas[5] = "camels.jpg";				words[5] = "Camels at the Edge of the Thar Desert, India";
ideas[6] = "carroll.jpg";				words[6] = "Amol Reflecting in Carroll Gardens, Brooklyn";
ideas[7] = "centralpark.jpg";			words[7] = "Snowflakes in Central Park";
ideas[8] = "claremont.jpg";				words[8] = "Amol at the Apartment on Claremont Avenue";
ideas[9] = "disney.jpg"; 				words[9] = "Amol Celebrates 100 Years of Magic";
ideas[10] = "hawa.jpg";					words[10] = "The Hawa Mahal in Jaipur, India";
ideas[11] = "inindia.jpg";				words[11] = "Amol at the Taj in India";
ideas[12] = "sarvas1960s.jpg";			words[12] = "The Sarvas in the 1960s or roundabout";
ideas[13] = "jerseyst.jpg";				words[13] = "A Tom Sanford Portrait in the Apartment on Jersey Street";
ideas[14] = "kanji.jpg";   				words[14] = "Some Characters from Tokyo";
ideas[15] = "mercedes.jpg";				words[15] = "Sleeping on a Cross-Country Voyage";
ideas[16] = "moma.jpg";  				words[16] = "The Next Photo Hanging in the MoMA";
ideas[17] = "monumental.jpg"; 			words[17] = "Twin Towers Monumental";
ideas[18] = "moon.jpg"; 				words[18] = "The Moon Light";
ideas[19] = "paris.jpg"; 				words[19] = "Amol at the Ile St. Louis in Paris";
ideas[20] = "river-me.jpg";  			words[20] = "Amol in the River Dorm on 113th Street";
ideas[21] = "rushmore.jpg";	    		words[21] = "Amol at Mt. Rushmore";
ideas[22] = "saltlake.jpg";				words[22] = "Amol at the Mormon Cathedral in Salt Lake";
ideas[23] = "seine.jpg";				words[23] = "Trees on the Seine in Paris";
ideas[24] = "shinjuku.jpg";				words[24] = "Amol in Shinjuku, Tokyo";
ideas[25] = "sleep.jpg";				words[25] = "Sleep is the Cousin of Death (Amol on the Palace on Wheels, India)";
ideas[26] = "spacemountain.jpg";		words[26] = "Globalization at Space Mountain";
ideas[27] = "thread.jpg";				words[27] = "Thread for Sale in Tokyo";
ideas[28] = "tokyo.jpg";				words[28] = "Tokyo Glow";
ideas[29] = "vegas.jpg";				words[29] = "Amol in the Elevator of the Stratosphere in Las Vegas";
ideas[30] = "winter.jpg";				words[30] = "Amol in the Cold in Central Park";
ideas[31] = "tokyo-remix-by-stereomono.com.jpg"; 		words[31] = "Tokyo Glow (Stereomono Remix)";
ideas[32] = "frenchman.jpg";			words[32] = "Amol as a Frenchman";
ideas[33] = "valbonne.jpg";				words[33] = "Amol at Valbonne, France";
ideas[34] = "atdegaulle.jpg";			words[34] = "Amol at Charles De Gaulle Airport Terminal 1 in Paris";
ideas[35] = "booksatbnf.jpg";			words[35] = "Books at the Bibliotheque National de France in Paris";
ideas[36] = "linesatpompidou.jpg";		words[36] = "Before Tourist Season at the Pompidou Center in Paris";
ideas[37] = "lampsathoteldeville.jpg"; 	words[37] = "Lamps at the Hotel de Ville in Paris";
ideas[38] = "ropesatbnf.jpg";			words[38] = "Ropes at the Bibliotheque National de France in Paris";
ideas[39] = "lemondial.jpg";			words[39] = "The World Cup on My TV";
ideas[40] = "sydney.jpg";				words[40] = "Amol in Sydney";
ideas[41] = "sydneysider.jpg";			words[41] = "The Quintessential Australian";
ideas[42] = "humboldt.jpg";				words[42] = "Amol in Humboldt County, California";
ideas[43] = "craterlake.jpg";			words[43] = "Amol at Crater Lake, Oregon";
ideas[44] = "predefense.jpg";			words[44] = "Amol Just Moments Before the Dissertation Defense.";
ideas[45] = "atgiverny.jpg";			words[45] = "Amol at Giverny, France where Monet Lived";
ideas[46] = "atcoliseum.jpg";			words[46] = "Amol at the Coliseum in Rome";
ideas[47] = "onaromanbus.jpg";			words[47] = "Amol on a Roman Bus";
ideas[48] = "withasmallromancar.jpg";	words[48] = "Amol with a Small Roman Car";
ideas[49] = "atspanishsteps.jpg";		words[49] = "Amol at the Spanish Steps in Rome";
ideas[50] = "sleeper-paris.jpg";		words[50] = "Homage to Cartier-Bresson at Eglise St. Eustache, Paris (Stereomono Remix)";
ideas[51] = "confiseriemk2.jpg";		words[51] = "Candy counter at MK2 in the 14th, Paris";
ideas[52] = "staircasemk2.jpg";			words[52] = "Cinema Afternoon at MK2 in the 14th, Paris (Stereomono Remix)";
ideas[53] = "atgraduation.jpg";			words[53] = "Amol at Stanford Graduation";
ideas[54] = "neworleans.jpg";			words[54] = "Amol in New Orleans";
ideas[55] = "neworleans2.jpg";			words[55] = "New Orleans, down at the heels";
ideas[56] = "withpeek2008.jpg";			words[56] = "With the original Peek";
ideas[57] = "inbadlands2001.jpg";			words[57] = "In the South Dakota Badlands";
ideas[58] = "inpaloalto200808.jpg";			words[58] = "Palo Alto, 2008";
ideas[59] = "inla2009.jpg";			words[59] = "Los Angeles 2009, at MoCA";
ideas[60] = "withursatsanfords2007.jpg";			words[60] = "With Ursula Wynhoven at the Sanfords wedding";
ideas[61] = "withtomatgobi1999.jpg";			words[61] = "With Tom Sanford at Gobi in 1999";
ideas[62] = "inmiami200912.jpg";			words[62] = "In Miami at the Standard Hotel, 2009";
ideas[63] = "withursatmoma200911.jpg";			words[63] = "With Ursula Wynhoven at MoMA 2009";
ideas[64] = "athome200902.jpg";			words[64] = "2009";



totalPics = ideas.length;

imgroot = "http://drownout.com/drownout/img/";

function rotate() {


	// The random number generator.

		function ran(x, y) {
		  var range = y - x + 1;
		  return Math.floor(Math.random() * range) + x;
		}



	var now = new Date()
	var seed = now.getTime() % 0xffffffff
	var item = ran(0, totalPics-1);

	picname = ideas[item] + "";
	document.rotation.src= imgroot + ideas[item];

}
