
//document.write(testMe);
var testMe ="lalla";
var shots = new Array();

for (i=0; i<35; i++){
//document.getElementById("content").innerHTML = testMe;
	shots[i] = new Array();
	shots[i][0] = new Array();	
}

shots[1][0][0] = new Array("", "1/15", 4);
shots[1][1] = new Array("1/15", 4);

shots[2][0][0] = new Array("", "1/30", 4);
shots[2][1] = new Array("1/30", 4);

shots[3][0][0] = new Array("", "1/8", 4);
shots[3][1] = new Array("1/8", 4);

shots[4][0][0] = new Array("", "1/8", 5.6);
shots[4][1] = new Array("1/8", 5.6);

shots[5][0][0] = new Array("", "1/15", 5.6);
shots[5][1] = new Array("1/15", 5.6);

shots[6][0][0] = new Array("", "1/15", 5.6);
shots[6][1] = new Array("1/15", 5.6);

shots[7][0][0] = new Array("", "1/4", 5.6);
shots[7][1] = new Array("1/4", 5.6);

shots[8][0][0] = new Array("", "1/60", 4);
shots[8][1] = new Array("1/60", 4);

shots[9][0][0] = new Array("", "1/60", 4);
shots[9][1] = new Array("1/60", 4);

shots[10][0][0] = new Array("", "1/125", 4);
shots[10][1] = new Array("1/125", 4);

shots[11][0][0] = new Array("", "1/4", 8);
shots[11][1] = new Array("1/4", 8);

shots[12][0][0] = new Array("", "1/2", 8);
shots[12][1] = new Array("1/2", 8);

shots[13][0][0] = new Array("", "1/8", 8);
shots[13][1] = new Array("1/8", 8);

shots[14][0][0] = new Array("", "1/8", 4);
shots[14][1] = new Array("1/8", 4);

shots[15][0][0] = new Array("", "1/30", 4);
shots[15][1] = new Array("1/30", 4);

shots[16][0][0] = new Array("", "1/4", 8);
shots[16][1] = new Array("1/4", 8);

shots[17][0][0] = new Array("", "1", 4);
shots[17][1] = new Array("1", 4);

shots[18][0][0] = new Array("", "1/250", 4);
shots[18][1] = new Array("1/250", 4);

shots[19][0][0] = new Array("", "1/8", 11);
shots[19][1] = new Array("1/8", 11);

shots[20][0][0] = new Array("", "1/15", 4);
shots[20][1] = new Array("1/15", 4);

shots[21][0][0] = new Array("", "1/30", 5.6);
shots[21][1] = new Array("1/30", 5.6);

shots[22][0][0] = new Array("	", "1/2", 5.6);
shots[22][1] = new Array("1/2", 5.6);

shots[23][0][0] = new Array("(Ingrid)", "1", 8);
shots[23][0][1] = new Array("(Maya)", "1", 8);
shots[23][1] = new Array("1", 8);

shots[24][0][0] = new Array("(Ingrid)", "1/8", 5.6);
shots[24][0][1] = new Array("(Jaheed)", "1/8", 4);
shots[24][1] = new Array("1/8", 4);

shots[25][0][0] = new Array("(Ingrid)", "1/8", 4);
shots[25][0][1] = new Array("(Jaheed)", "", "");
shots[25][1] = new Array("1/8", 3.5);

shots[26][0][0] = new Array("(Ingrid)", "1/8", 4);
shots[26][0][1] = new Array("(Jaheed)", "1/8", 4);
shots[26][1] = new Array("1/8", 4);

shots[27][0][0] = new Array("", "1/2", 4);
shots[27][1] = new Array("1/2", 4);

shots[28][0][0] = new Array("", "1/4", 4);
shots[28][1] = new Array("1/4", 4);

shots[29][0][0] = new Array("", "1/4", 4);
shots[29][1] = new Array("1/4", 4);

shots[30][0][0] = new Array("", "1/4", 4);
shots[30][1] = new Array("1/4", 4);

shots[31][0][0] = new Array("", "1/4", 4);
shots[31][1] = new Array("1/4", 4);

shots[32][0][0] = new Array("", "1/30", 4);
shots[32][1] = new Array("1/30", 4);

shots[33][0][0] = new Array("", "1/30", 4);
shots[33][1] = new Array("1/30", 4);

shots[34][0][0] = new Array("(Jaheed)", "1/30", 4);
shots[34][0][1] = new Array("(Maya)", "1/30", 4);
shots[34][1] = new Array("1/30", 4);

function writeTable(shotNumber){
var tableTxt = "";

tableTxt +="<table class='shotTable' cellspacing='0'>";

tableTxt += "<tr><td class='setupCell' ><center>set up <br> <br />";
tableTxt += "<table class='settings' cellspacing='0'><tr><td>";
tableTxt += "<img class='setupImg' src='images/photography/lightingTests/setups_400/setUp" + shotNumber + "_400.jpg'><br><br>";

for (var j in shots[shotNumber][0]){
	tableTxt += "Model's Meter Reading:";
	tableTxt += "<i>" + shots[shotNumber][0][j][0] + "</i><br>";
	tableTxt += "Shutter:&nbsp;";
	tableTxt += shots[shotNumber][0][j][1];

	tableTxt += "&nbsp; s<br>Aperature:&nbsp;";
	tableTxt += shots[shotNumber][0][j][2];
	tableTxt += "<br><br>";
} 

tableTxt += "Hasselblad settings:<br>";
tableTxt += "Shutter:&nbsp;";
tableTxt += shots[shotNumber][1][0];
tableTxt += "&nbsp; s<br>Aperature:&nbsp;";
tableTxt += shots[shotNumber][1][1];
tableTxt += "</center></td></tr></table>";
tableTxt += "<div class='shotNumber'>" + shotNumber + "</div>";
tableTxt += "<img src='images/placeholder.gif' width=410 height=1 >";
tableTxt += "</td>";
tableTxt += "<td class='resultCell'>result<br> <br/>";
tableTxt += "<img src='images/photography/lightingTests/shots_400/shot"+shotNumber+"_400.jpg'>";
tableTxt += "</td></tr></table>";
return tableTxt;

}

function writeAll(){
	var contentTxt ="";
	for (i=1; i<35; i++){
		if (i != 11 & i != 23){
			contentTxt += writeTable(i);
		}
	}
document.getElementById("content").innerHTML = contentTxt;
}

