
/*THIS IS THE EXTERNAL JAVASCRIPT PAGE FOR THE EVOLUTION 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]="0383	Evolution Series	Evolutionary Leap 1, 2007		mixed	$695	12 x 12	yellow^green	121	120	453	450";
cb_catalog[++i]="0388	Evolution Series	Evolutionary Leap 9, 2007		mixed	sold	12  x  12		119	120	448	450";
cb_catalog[++i]="0389	Evolution Series	Escape Ladders Into What, 2007		mixed	$595 	12 x 12	orange^gray	119	120	447	450";
cb_catalog[++i]="0385	Evolution Series	Evolutionary Leap 3, 2007		mixed	$695 	12 x 12	blue^yellow	117	120	439	450";
cb_catalog[++i]="0384	Evolution Series	Evolutionary Leap 2, 2007		mixed	sold	12  x  12		116	120	434	450";
cb_catalog[++i]="0386	Evolution Series	Evolutionary Leap 4, 2007		mixed	$695 	12 x 12	blue^yellow	116	120	436	450";
cb_catalog[++i]="0397	Evolution Series	Evolutionary Leap 8, 2007		mixed	$595 	17 x 12	gray^yellow	89	120	335	450";
cb_catalog[++i]="0396	Evolution Series	Evolutionary Leap 7, 2007		mixed	$595 	17 x 12	gray^yellow	87	120	327	450";
cb_catalog[++i]="0387	Evolution Series	Evolutionary Leap 5, 2007		mixed	$695 	17-1/2 x 12	purple^orange	83	120	311	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][1]+'"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_evolution_enlarge.html?row="+i, "enlargements", "toolbar=no,menubar=no,location=no,scrollbars=no,resizable=no,width=650px,height=700px, left=10px");	 
							OpenWin.focus();
							}




