/*JAVASCRIPT FOR INNER_PORTF_ROGER.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]="0414	Roger's Day Series	Roger's Day 3, 2008	Otherwise^	mixed  media	$695 	12 x 12	green^white	124	120	464	450^";
cb_catalog[++i]="0418	Roger's Day Series	Roger's Day 7, 2008	Otherwise^	mixed  media	$695 	12 x 12	white^orange	124	120	465	450";
cb_catalog[++i]="0419	Roger's Day Series	Roger's Day 8, 2008	Otherwise^	mixed  media	$695 	12 x 12	orange^white	123	120	459	450";
cb_catalog[++i]="0415	Roger's Day Series	Roger's Day 4, 2008	Otherwise^	mixed  media	Sold 	12 x 12	orange^green	122	120	459	450";
cb_catalog[++i]="0416	Roger's Day Series	Roger's Day 5, 2008	Otherwise^	mixed  media	$695 	12 x 12	yellow^white	122	120	456	450";
cb_catalog[++i]="0421	Roger's Day Series	Roger's Day 10, 2008	Otherwise^	mixed  media	$695 	12 x 12	orange^white	122	120	458	450";
cb_catalog[++i]="0413	Roger's Day Series	Roger's Day 2, 2008	Otherwise^	mixed  media	$695 	12 x 12	white^green	121	120	454	450";
cb_catalog[++i]="0417	Roger's Day Series	Roger's Day 6, 2008	Otherwise^	mixed  media	$695 	12 x 12	green^white	121	120	454	450";
cb_catalog[++i]="0422	Roger's Day Series	Roger's Day 11, 2008	Otherwise^	mixed  media	$695 	12 x 12	yellow^orange	121	120	453	450";
cb_catalog[++i]="0420	Roger's Day Series	Roger's Day 9, 2008	Otherwise^	mixed  media	$695 	12 x 12	orange^white	119	120	445	450";
cb_catalog[++i]="0412	Roger's Day Series	Roger's Day 1, 2008	Otherwise^	mixed  media	$695 	12 x 12	green^yellow	116	120	435	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_roger_enlarge.html?row="+i, "enlargements", "toolbar=no,menubar=no,location=no,scrollbars=no,resizable=no,width=825px,height=700px, left=10px");	 
							OpenWin.focus();
							}





