/*JAVASCRIPT FOR GRAY.HTML*/

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	PRICE RANGE";
cb_catalog[++i]="gray								194	30			";
cb_catalog[++i]="0114	None	Free Association 2, 2004	The Garden	monoprint	$395 	14 x 7	gray^white	61	120	221	432";
cb_catalog[++i]="0756	Glen Ellen	Glen Ellen 1, 2011		mixed media/monoprint	$695 	12 x 9	white^gray	90	120	338	450";	
cb_catalog[++i]="0757	Glen Ellen	Glen Ellen 2, 2011		mixed media/monoprint	$695 	12 x 9	white^gray	89	120	334	450";	
cb_catalog[++i]="0761	Glen Ellen	Glen Ellen 6, 2011		mixed media/monoprint	$695 	12 x 9	green^gray	90	120	336	450";	
cb_catalog[++i]="0762	Glen Ellen	Glen Ellen 7, 2011		mixed media/monoprint	$895 	20 x 27	blue^gray	91	120	340	450";	
cb_catalog[++i]="0768	Glen Ellen	Glen Ellen 13, 2011		mixed media/monoprint	$895 	27 x 20	green^gray	91	120	342	450";
cb_catalog[++i]="0396	Evolution Series	Evolutionary Leap 7, 2007	Origins^	mixed  media	$595 	17 x 12	gray^yellow	120	120	327	450";
cb_catalog[++i]="0397	Evolution Series	Evolutionary Leap 8, 2007	Origins^	mixed  media	$595 	17 x 12	gray^yellow	123	120	335	450";
cb_catalog[++i]="0758	Glen Ellen	Glen Ellen 3, 2011		mixed media/monoprint	$395 	8 x 9	green^gray	139	120	521	450";	
cb_catalog[++i]="0763	Glen Ellen	Glen Ellen 8, 2011		mixed media/monoprint	$895 	20 x 27	green^gray	159	120	598	450";	
cb_catalog[++i]="0098	None	Skate Pond 1, 2003	Creatures^	monoprint	$295 	8-1/2 x 11-3/4	blue^gray	172	120	653	450";
cb_catalog[++i]="0104	Evolution Series	Unintended Consequences #9, 2001/2003	Portals^	monoprint	$395 	7 x 11	gray^red	185	120	728	450";
/*10-23-2011*/

			



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="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_gray_enlarge.html?row="+i, "enlargements", "toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=no,width=1080px,height=700px, left=10px");	 
							OpenWin.focus();
							}






