shotsArray=new Array("rand0.gif", "rand1.gif", "rand2.gif", "rand3.gif", "rand4.jpg", "rand5.jpg");
covershots=new Array("artisan_trio.jpg", "artisan_trio1.jpg", "artisan_trio2.jpg");
coverOdds=new Array(0.8, 0.95, 1.0);

function change_shot() {
//	shot_count=shotsArray.sizeof();
	shot_pick=Math.floor(Math.random()*shotsArray.length);
	document.write("<img src=\"./images/"+shotsArray[shot_pick]+"\" alt=\"Artisan Trio\" />");
}

function cover_shot() {
	r=Math.random();
	for (i=0; i<covershots.length; i++)
		if (r<coverOdds[i]) {
			document.write("<img src=\"./images/"+covershots[i]+"\" alt=\"Artisan Trio\"  style=\"border: 10px solid #ffffff\" />");
			i=covershots.length;
		}
}