
/*THIS IS THE EXTERNAL JAVA SCRIPT PAGE FOR THE UNINTENDED CIRCUMSTANCES SERIES*/

cb_catalog=new Array(); i=-1;
cb_catalog[++i]="CODE	CATEGORY	TITLE	THEME	TYPE	PRICE	SIZE	COLOR	t-width	t-height	f-width	f-height";
cb_catalog[++i]="0103	Unintended Series	Unintended Consequences 6, 2001/2003		monoprint	sold	7  x  11		187	120	432	265";
cb_catalog[++i]="0071	Unintended Series	Unintended Consequences 3, 2003		mixed media	sold	7  x  10-3/4		186	120	612	400";
cb_catalog[++i]="0069	Unintended Series	Unintended Consequences 1, 2003		mixed media	$395 	7 x 10-3/4	white	185	120	609	400";
cb_catalog[++i]="0073	Unintended Series	Unintended Consequences, 2003		monoprint	sold	7  x  10-3/4		185	120	613	400";
cb_catalog[++i]="0104	Unintended Series	Unintended Consequences 9, 2001/2003		monoprint	$395 	7 x 11	red^gray	185	120	432	267";
cb_catalog[++i]="0101	Unintended Series	Unintended Consequences 8, 2001/2003		monoprint	$295 	6-3/4 x 11	green	184	120	432	269";
cb_catalog[++i]="0070	Unintended Series	Unintended Consequences 2, 2003		mixed media	$295 	7 x 10-3/4	green^brown	183	120	618	400";
cb_catalog[++i]="0102	Unintended Series	Unintended Consequences 7, 2001/2003		monoprint	$295 	7 x 11	green^black	183	120	432	271";
cb_catalog[++i]="0072	Unintended Series	Unintended Consequences 4, 2003		monoprint	$395 	10-3/4 x 7	white^brown	80	120	284	450";


			



for (i=0;i<cb_catalog.length;++i) {  //THIS SPLITS THE TWO-DIMENSIONAL ARRAY AT THE TABS
				cb_catalog[i]=cb_catalog[i].split("\t");
}
	function make_thumb_table() { //THIS CREATES A NESTED TABLE WITHIN THE 2ND TABLE, 1ST ROW, 1ST COLUMN FOR THE IMAGES GALLERY
							thumbs='<table class="gallery_table" cellspacing="5px">';
							cellcount=0;
							for (i=1;i<cb_catalog.length;++i) {
								if (cellcount%3==0) {
									thumbs+='<tr>';
								}
 
								thumbs+='<td class="image_placement"><a href="javascript:open_Enlargement_Window('+i+');"><img class="series_image_border" alt="'+cb_catalog[i][2]+'"height="'+cb_catalog[i][9]+'" width="'+cb_catalog[i][8]+'" src="cb_thumb_images/'+cb_catalog[i][0]+'.jpg" id="cell_'+i+'" style="position: relative; left: 0px; top: 0px" /></a></td>'; //MLN REMOVED THE STYLE PORTION OF THIS STATEMENT, BUT I PUT IT BACK IN SO THE ANIMATION WOULD WORK
								++cellcount;
							if (cellcount%3==0) {	
								thumbs+='</tr>';	
							}
							}
							thumbs+='</table>';
							document.getElementById('gallery').innerHTML=thumbs;
							 
							
								
						}
						
						function open_Enlargement_Window(i) {
						    OpenWin = window.open("cb_consequences_enlarge.html?row="+i, "enlargements", "toolbar=no,menubar=no,location=no,scrollbars=no,resizable=no,width=775px,height=700px, left=10px");	 
							OpenWin.focus();
							}




