function XSELL_PR_zp(a_product_ids,
zone,
symbolic,
target_id,
category,
rec_attributes,
target_attributes,
target_header_txt)
{
	var maxRecs = rec_attributes.length;
	var html = zone + "";
	var mainDivOpener = '<div class="mainText"\>';
	var tableOpenerOuter = '<table border="0" cellpadding="8" cellspacing="0" class="fullBorder"><tr><td colspan="2" class="peopleViewHeader">YOU MAY ALSO LIKE</td></tr>';
	var tableCloser = '</table>';
	var lines = [];
	if (symbolic !== '_NR_')
		{
		// special case. Over ride of the header text passed from the configuration file
		target_header_txt = "People Also Viewed";
		var n_recs = a_product_ids.length;
		var thumbCount = 0;
		var itemNo = 1;
		for (var ii=0; ii < maxRecs; ii++)
			if (rec_attributes[ii][4] != "" && thumbCount < 4)
			{
				var imageURL = rec_attributes[ii][5];
				var imageFilename = rec_attributes[ii][0];
				var itemDesc = rec_attributes[ii][1];
				var itemPrice = rec_attributes[ii][3]; 
				var prodURL = 'http://www.carolwrightgifts.com/' + rec_attributes[ii][7] + rec_attributes[ii][0] + '.cfm';
				
				lines.push('<tr>');
				lines.push('<td class="peopleViewItems">\n');
				lines.push('<a href="' + prodURL + '?clickSource=XSELL_PR">');
				lines.push('<img src="' + imageURL + '" alt="' + itemDesc + '" border="0"><\/a>');
				lines.push('</td><td class="peopleViewItems" valign="top">');
				lines.push('<br><a href="' + prodURL + '?clickSource=XSELL_PR">' + itemDesc + '<\/a>\n');
				lines.push('<br><br><strong>' + itemPrice + '</strong>');
				
				if (rec_attributes[ii][4] == 'Y') {
					lines.push('<br><br><span class="moreColors">More colors available</span>');
				}
				lines.push('<\/td>\n');
				lines.push('<\/tr>\n');						
				var thumbCount = thumbCount + 1;
				var itemNo = itemNo + 1;
			}
			html = tableOpenerOuter + lines.join("\n") + tableCloser;
		}
	document.getElementById('io_zone').innerHTML= html;
}

