
/*THIS IS THE EXTERNAL JAVASCRIPT PAGE FOR THE NATURE's PATTERNS 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]="0048	Nature's Patterns Series	In Between, 2001		mixed media	$695 	11-3/4 x 17-1/2	blue	178	120	291	432";
cb_catalog[++i]="0083	Nature's Patterns Series	Mound One, 2003		monotype	$595 	12 x 17-1/2	blue^orange	178	120	432	292";
cb_catalog[++i]="0366	Nature's Patterns Series	Ghost Stones #3, 2000		monoprint	$795 	11-3/4 x 17-1/2	white^blue	178	120	593	400";
cb_catalog[++i]="0082	Nature's Patterns Series	Earthly Refuge, 2003		monoprint		12  x  17-1/2		176	120	432	284";
cb_catalog[++i]="0190	Nature's Patterns Series	What Lies Beneath 1, 2005		monoprint	$795 	12 x 17-1/2	yellow^blue	175	120	432	284";
cb_catalog[++i]="0368	Nature's Patterns Series	The Deep Blue 1, 2004		monoprint	$595 	10-3/4 x 10-3/4	blue	122	120	456	450";
cb_catalog[++i]="0087	Nature's Patterns Series	Fall Sunrise, 2003		mixed media	$595 	17-1/2 x 14	green^yellow	96	120	353	450";
cb_catalog[++i]="0160	Nature's Patterns Series	Fall Sunrise 3, 2005		mixed media	$695 	18 x 13-1/2	blue^green	93	120	321	432";
cb_catalog[++i]="0132	Nature's Patterns Series	Fall Sunrise 2, 2003		mixed media	sold	18  x  13-1/2		92	120	316	432";
cb_catalog[++i]="0214	Nature's Patterns Series	What Lies Beneath 6, 2005		monoprint	$295 	11 x 7-1/2	red^orange	80	120	301	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_natures_enlarge.html?row="+i, "enlargements", "toolbar=no,menubar=no,location=no,scrollbars=no,resizable=no,width=725px,height=700px, left=10px");	 
							OpenWin.focus();
							}



