function displayRecentlyViewedItems(productList) {
	var item = new Object();
	var innerHtml = "";
	if(productList.length > 0) {
		
		innerHtml = '';
		innerHtml += '<h2 class="rvTitle">Recently Viewed</h2>';
		innerHtml += '<div class="rvWrapper">';
		
		var product = new Object();
		for(item in productList) {
					
			innerHtml += '<div class="rvItem">';
			innerHtml += '<div class="rvItemImg">';
			innerHtml += '<a href="' + productList[item].url + '">';
			innerHtml += '<img src="' + productList[item].imageThumbnailUrl + '" border="0" alt="' + productList[item].name + '" />';
			innerHtml += '</a>';
			innerHtml += '</div>';
			innerHtml += '<a href="' + productList[item].url + '">' + productList[item].name + '</a>';
			innerHtml += '<div class="rvPriceWraper">';
			if(productList[item].salePrice){
				innerHtml += '<span class="rvItemPrice">Regular Price: ' + formatCurrency(productList[item].price) + '</span>';
				innerHtml += '<br><span class="rvItemSalePrice">Sale Price: ' + formatCurrency(productList[item].salePrice) + '</span>';
			}else{
				innerHtml += '<span class="rvItemSalePrice">' + formatCurrency(productList[item].price) + '</span>';
			}
			innerHtml += '</div>';
			//CLOSE ITEM WRAPPER DIV
			innerHtml += '</div>';
		}
		//CLOSE RECENTLY VIEWED ZONE WRAPPER DIV
		innerHtml += '</div>';

	}		
	document.getElementById("recentlyViewedProducts").innerHTML = innerHtml;
	return false;
}