/*JAVASCRIPT FOR WHITE.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]="white								194	30			";
cb_catalog[++i]="0542	Key West Bound	Key West Bound 11, 2009	Surroundings	mixed media/monoprint	$695 	12 x 17	white^orange	82	120	308	450";
cb_catalog[++i]="0558	Key West Bound	Key West Bound 27, 2009	The Garden^	mixed media/monoprint	$195 	9 x 12	white^green	85	120	317	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]="0756	Glen Ellen	Glen Ellen 1, 2011		mixed media/monoprint	$695 	12 x 9	white^gray	90	120	338	450";
cb_catalog[++i]="0583	None	Pies World 20, 2009	The Garden^	monoprint	$195 	6 x 6	white^green	117	120	439	450";
cb_catalog[++i]="0516	Promise of Summer	The Promise of Summer 4, 2009	The Garden^	mixed media/monoprint	$695 	12 x 12	white^blue	120	120	449	450";
cb_catalog[++i]="0699	Falling Leaves	Falling Leaves 1	The Garden^	mixed media/monoprint	$695 	12 x 12	white^brown	121	120	455	450";
cb_catalog[++i]="0413	Roger's Day Series	Roger's Day 2, 2008	Origins^	mixed  media	$695 	12 x 12	white^green	121	120	454	450";
cb_catalog[++i]="0418	Roger's Day Series	Roger's Day 7, 2008	Origins^	mixed  media	$695 	12 x 12	white^orange	124	120	465	450";
cb_catalog[++i]="0652	None	Culebra Road 3, 2010	Surroundings^	monoprint	$595 	12 x 12	white	125	120	470	450";
cb_catalog[++i]="0559	Key West Bound	Key West Bound 28, 2009	The Garden^	mixed media/monoprint	$395 	12 x 9	white^purple	156	120	587	450";
cb_catalog[++i]="0537	Key West Bound	Key West Bound 6, 2009	The Garden^	monoprint	$495 	18 x 12	white^green	169	120	635	450";
cb_catalog[++i]="0069	Evolution Series	Unintended Consequences 1, 2003	Portals^	mixed  media	$395 	7 x 10-3/4	white^	185	120	727	450";
cb_catalog[++i]="0402	None	Summer Vines 20, 2007	The Garden^	mixed  media	$295 	6 x 12	white^yellow	188	120	798	425";


/*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_white_enlarge.html?row="+i, "enlargements", "toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=no,width=1080px,height=700px, left=10px");	 
							OpenWin.focus();
							}






