 <!-- 
 //----------------------------------------------//
 //     Ornament Image Gallery 	
 //     http://www.startrekornaments.com
 //     copyright © 2005 StarTrekOrnaments.com
 //     Do not remove this notice.			
 //----------------------------------------------//
 //     This code has been tested in  		
 //     Internet Explorer 6, FireFox 1, 		
 //     Netscape 7, Opera 7, and eBay		
 //----------------------------------------------//
 var AuctionNumb_338=new Array();
 var AuctionDesc_338=new Array();
 var ImgWidRatio_338=new Array();
     ImgWidRatio_338[0]="1";
 //----------------------------------------------//
 //  ADD AUCTION NUMBERS AND DESCRIPTIONS		  
 //----------------------------------------------//
 //  Change the values below to add		  
 //  each auction number and its description.	  
 //  Extra sets should be deleted. More can be added.
 //  Apostrophes and Quotes should be avoided, or else 
 //  the following substitutions should be made:     
 //  Apostrophe should be replaced with &#39;    
 //  Quote should be replaced with &#34;         
 //----------------------------------------------//
 AuctionNumb_338[1]="kirk"
 AuctionDesc_338[1]="1995 Captain James T. Kirk"
 AuctionNumb_338[2]="picard"
 AuctionDesc_338[2]="1995 Captain Jean-Luc Picard"
 AuctionNumb_338[3]="30years_enterprise"
 AuctionDesc_338[3]="1996 30 Year Anniversary Enterprise"
 AuctionNumb_338[4]="archer"
 AuctionDesc_338[4]="2002 Captain Archer"
 AuctionNumb_338[5]="borg_cube"
 AuctionDesc_338[5]="Borg Cube"
 AuctionNumb_338[6]="data"
 AuctionDesc_338[6]="1997 Lt. Commander Data"
 AuctionNumb_338[7]="deep_space_9"
 AuctionDesc_338[7]="Space Station Deep Space 9"
 AuctionNumb_338[8]="delta_flyer"
 AuctionDesc_338[8]="Delta Flyer"
 
 //--------------------------------------//
 //          SET UP APPEARANCE           //
 //--------------------------------------//
 var scrollspeed_338 ="20"; 
 //var slideborder_338 ="#555555"; 
 var slideborder_338 ="#FFFFFF";	
 //var slidebgcolor_338="#EEE9D9"; 
 var slidebgcolor_338="#FFFFFF";
 var textcolor_338   ="#222222"; 
 var gallerywidth_338="550"; 
 
 //--------------------------------------//
 //     DO NOT EDIT BELOW THIS LINE      //
 //--------------------------------------//
 var slider1_338, slider2_338, maxWid_338=0; var sliderwidth_338=0; 
 var quot="'"; var scrollamount_338=-1; var thCnt_338=0; 
 var CrossSellimages_338=new Array();
 for (var i=1; i<=AuctionNumb_338.length; i++){if (AuctionNumb_338[i]){thCnt_338++;
	if (!ImgWidRatio_338[i]) {ImgWidRatio_338[i]=ImgWidRatio_338[0]};
	CrossSellimages_338[thCnt_338]='<a href="http://www.startrekornaments.com/item.php?item='+AuctionNumb_338[i]+'" target=_blank>'+
	'<img src="http://www.startrekornaments.com/images/hallmark/hallmark_'+AuctionNumb_338[i]+'.jpg"  width="'+Math.round(64*ImgWidRatio_338[i])+'" height="64" hspace="2" vspace="4" border="0" '+
	' onmouseover="thumbwow_338(this.alt,this.offsetLeft,this.offsetWidth,'+quot+AuctionDesc_338[i]+quot+')" '+
	' title="" alt="'+AuctionNumb_338[i]+'" ></a>';
	sliderwidth_338=sliderwidth_338+Math.round((64*ImgWidRatio_338[i])+4);
	if (ImgWidRatio_338[i]>maxWid_338){maxWid_338=ImgWidRatio_338[i]}
 }};
 var sliderheight_338="88"; 
 var CrossSellStrip_338='<nobr>'+CrossSellimages_338.join("")+'</nobr>';
 if (sliderwidth_338-maxWid_338*64<parseInt(gallerywidth_338)){gallerywidth_338=Math.abs(sliderwidth_338-maxWid_338*64)};
 function setupGallery_338(){
	document.write('<table align="center" border="0" cellspacing="0" cellpadding="0" style="position:relative; border:2px solid '+slideborder_338+'; background-color:'+slidebgcolor_338+'; width:'+(parseInt(gallerywidth_338)+2)+'px; height:90px;"><tr><td valign="top" align="center">');
	document.write('<div style="position:relative;width:'+gallerywidth_338+'px;height:89px;overflow:hidden;">');
	document.write('<div style="position:absolute;left:0px;bottom:0px;width:'+gallerywidth_338+'px;height:89px;" onMouseover="scrollamount_338=0" onMouseout="scrollamount_338=-1">');
	document.write('<div id="slidegroup1_338" style="position:absolute;left:0px;bottom:5px;"></div>');
	document.write('<div id="slidegroup2_338" style="position:absolute;left:-1000px;bottom:5px;"></div>');
	document.write('<div id="blowup_338" style="position:absolute;left:0px;bottom:0px;visibility:hidden;border:1px '+slideborder_338+' solid;" onmouseout="unwow_338()"></div>');
	document.write('</div></div>');
	document.write('</td></tr><tr><td align="center" id="slidelabel_338" style="padding:2px; font-family:sans-serif; font-size:14px; font-weight:normal; color:'+textcolor_338+'" title="Select an item">');
	document.write('&nbsp;');
	document.write('</td></tr></table>');
 };
 function loadimages_338(){
	slider1_338=document.getElementById("slidegroup1_338");
	slider2_338=document.getElementById("slidegroup2_338");
	slider1_338.innerHTML=CrossSellStrip_338;	
	slider2_338.innerHTML=CrossSellStrip_338;	
	slider2_338.style.left=""+sliderwidth_338+"px";  	
	startaction_338=setInterval("slideleft_338()",parseInt(scrollspeed_338));
 };
 function slideleft_338(){
	if (parseInt(slider1_338.style.left)>(sliderwidth_338*(-1)))  
	  {slider1_338.style.left=(parseInt(slider1_338.style.left)+scrollamount_338)+"px"}
	else
	  {slider1_338.style.left=(parseInt(slider2_338.style.left)+sliderwidth_338+scrollamount_338)+"px"}
	if (parseInt(slider2_338.style.left)>(sliderwidth_338*(-1)))  
	  {slider2_338.style.left=(parseInt(slider2_338.style.left)+scrollamount_338)+"px"}
	else
	  {slider2_338.style.left=(parseInt(slider1_338.style.left)+sliderwidth_338)+"px"}
 };
 function thumbwow_338(num,thumOffset,thumSize,label){
	if (parseInt(slider1_338.style.left)<=0){
	  if (thumOffset+parseInt(slider1_338.style.left)>0-thumSize){leftstart=thumOffset+parseInt(slider1_338.style.left)}else{leftstart=thumOffset+parseInt(slider2_338.style.left)}
	}
	else {
	  if (thumOffset+parseInt(slider2_338.style.left)>0-thumSize){leftstart=thumOffset+parseInt(slider2_338.style.left)}else{leftstart=thumOffset+parseInt(slider1_338.style.left)}
	};
	document.getElementById("blowup_338").style.left=leftstart+0+(Math.round((thumSize-thumSize/0.8-2)/2))+"px";
	document.getElementById("blowup_338").innerHTML='<a href="http://www.startrekornaments.com/item.php?item='+num+'" target=_blank>'+
		'<img src="http://www.startrekornaments.com/images/hallmark/hallmark_'+num+'.jpg" height="80" border="0" ></a>';
	document.getElementById("blowup_338").style.visibility="visible";
	document.getElementById("slidelabel_338").innerHTML=label;
 };
 function unwow_338(){document.getElementById("blowup_338").style.visibility="hidden";
	document.getElementById("slidelabel_338").innerHTML=document.getElementById("slidelabel_338").title
 };
 setupGallery_338();
 loadimages_338();
