function displayRecentlyViewedItems(productList) {
	var item = new Object();
	var innerHtml = "";
	if(productList.length > 0) {
		
		innerHtml = '';
		innerHtml += '<h2 class="alsoLike">Recently Viewed</h2>';
		innerHtml += '<hr size=1 class="alsoLikeHr" noshade>';
		innerHtml += '<div style="padding-left:27px;width:680px;">';
		
		var product = new Object();
		for(item in productList) {
					
			innerHtml += '<div style="display:inline;float:left;margin-right:86px;margin-top:30">';

			innerHtml += '<table border="0" cellspacing="0" cellpadding="0" height="275">'
			innerHtml += '<tr><td valign="top">';
			innerHtml += '<table border="0" cellspacing="0" cellpadding="0" width="140">';
			innerHtml += '<tr>';
			innerHtml += '<td>';
			innerHtml += '<div class="itemListImg">';
			innerHtml += '<a href="' + productList[item].url + '">';
			innerHtml += '<img src="' + productList[item].imageThumbnailUrl + '" width="120" height="120" border="0" hspace="8" vspace="8" alt="' + productList[item].name + '" />';
			innerHtml += '</a>';
			innerHtml += '</div>';
			innerHtml += '</td>';
			innerHtml += '</tr>';
			innerHtml += '</table>';
			innerHtml += '<table border="0" cellspacing="0" cellpadding="0" width="140">';
			innerHtml += '<tr>';
			innerHtml += '<td valign="top">';
			innerHtml += '<a href="' + productList[item].url + '">';
			innerHtml += '<img src="http://site.primejeweler.com/images/details.gif" width="140" height="20" border="0" hspace="0" vspace="0" alt="' + productList[item].name + '" />';
			innerHtml += '</a>';
			innerHtml += '</td>';
			innerHtml += '</tr>';
			innerHtml += '</table>';
			innerHtml += '<table border="0" cellspacing="0" cellpadding="0" width="140">';
			innerHtml += '<tr>';
			innerHtml += '<td colspan="2" valign="top">';
			innerHtml += '<img src="http://us.st1.yimg.com/store1.yimg.com/Img/trans_1x1.gif" height="6" width="1" border="0" />';
			innerHtml += '</td>';
			innerHtml += '</tr>';
			innerHtml += '<tr>';
			innerHtml += '<td colspan="2" valign="top">';
			innerHtml += '<a href="' + productList[item].url + '" class="sectionL">' + productList[item].name + '</a>';
			innerHtml += '</td>';
			innerHtml += '</tr>';
			innerHtml += '<tr>';
			innerHtml += '<td colspan="2" valign="top">';
			innerHtml += '<div style="padding-top:6px;">';
			innerHtml += '<span class="sectionSalePrice">';
			innerHtml += '<b>' + productList[item].price + '</b>';
			innerHtml += '</span>';
			innerHtml += '</div>';
			innerHtml += '</td>';
			innerHtml += '</tr>';
			innerHtml += '</table>';			
			innerHtml += '</td></tr></table>';
			innerHtml += '</div>';
		}
		innerHtml += '</div>';

	}		
	document.getElementById("recentlyViewedProducts").innerHTML = innerHtml;
	return false;
}