/*JAVASCRIPT FOR INNER_PORTF_BOTANICA.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";
cb_catalog[++i]="0250	Botanica Series	Together at Last 3, 2005	The Garden	monoprint	$495 	12 x 12	orange^white	123	120	460	450";
cb_catalog[++i]="0377	Botanica Series	April's Garden 2, 2007		monoprint	$495 	12 x 12	white^blue	121	120	455	450";
cb_catalog[++i]="0273A	Botanica Series	Summer Day 1, 2006		monoprint	$345 framed	7 x 7	green	120	120	449	450";
cb_catalog[++i]="0394	Botanica Series	Summer Vines 17, 2007		monoprint	$595 	7 x 14	green^white	120	120	593	325";
cb_catalog[++i]="0251	Botanica Series	Together at Last 4, 2005	The Garden	monoprint	$495 	12 x 12	green^white	119	120	447	450";
cb_catalog[++i]="0248	Botanica Series	Together at Last 1, 2005	The Garden	monoprint	$495 	12 x 12	orange^green	113	120	423	450";
cb_catalog[++i]="0249	Botanica Series	Together at Last 2, 2005	The Garden	monoprint	$495 	12 x 12	green^orange	112	120	421	450";
cb_catalog[++i]="0273B	Botanica Series	Summer Day 2, 2006		monoprint	$295 framed	5-1/2 x 7	green	100	120	374	450";
cb_catalog[++i]="0061	Botanica Series	Dandi Said to Lion		mixed media	sold	17  x  12		87	120	306	450";
cb_catalog[++i]="0297	Botanica Series	Summer Vines 6, 2006		monoprint	$395 	12 x 6-3/4	green^white	72	120	269	450";
cb_catalog[++i]="0349	Botanica Series	All the Possibilities, 2007		mixed media	$595 	12 x 6-3/4	blue^orange	69	120	247	432";
cb_catalog[++i]="0330	Botanica Series	Shades of Joanna's Garden 10, 2006		monoprint	$395 	13-1/2 x 7	purple^white	62	120	232	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_botanica_enlarge.html?row="+i, "enlargements", "toolbar=no,menubar=no,location=no,scrollbars=no,resizable=no,width=825px,height=700px, left=10px");	 
							OpenWin.focus();
							}





