///	<summary>Class ThumbnailScroller3<br>
///	Overwrites method to /properties specific to swap the product shot caption.
///	<extends>Scroller</extends>
///	<extends>ImageScroller</extends>
///	<extends>ThumbnailScroller</extends>
function ThumbnailScroller3() {
	///	<summary>Generates the html for a <c>ThumbnailScroller</c> cell.</summary>
	/// <param name="i"><c>int</c> index of the <c>items</c> array.</param>
	/// <returns><c>string</c> of cell html</returns>
	this.GetCellHtml = function(i) {
		var html	= null;
		var img		= this.items[i];
		var caption = img.caption.replace(/\'/g, '&rsquo;');
		caption = caption.replace(/\"/g, '&quot;');
		
		html = "<td id=\"" + this.name + "cell" + i + "\" align=\"" + this.cellAlignment + "\" valign=\"top\" width=\"" + this.cellWidth + "\">" +
					"<a href=\"#\" onclick=\"document.getElementById('MainImage').setAttribute('src', '" + img.source.replace('_60_', '_b_').replace('-60-','-b-') + "'); document.getElementById('thumbnailCaption').innerHTML='" + caption + "';\">" +
						img.html
					"</a>" +
				"</td>";

		return html;
	}
}
ThumbnailScroller3.prototype = new ThumbnailScroller();
ThumbnailScroller3.prototype.constructor = ThumbnailScroller3;
