function hptop2bs_zp(a_product_ids,
		zone,
		symbolic,
		target_id,
		category,
		rec_attributes,
		target_attributes,
		target_header_txt)
		{
	var html = '<noscript>+zone + "_zp: No recommendations returned"<\/noscript>';
		if (symbolic !== '_NR_')
		{
		// special case. Over ride of the header text passed from the configuration file
		target_header_txt = "Featured Items:";
		var div_title = '<div class="io_recs_title">' + target_header_txt + '<\/div>';
		var n_recs = a_product_ids.length;
		var lines = [];
		// 0 product description
		// 1 category
		// 2 price
		// 3 image url
		// 4 item page url
		// 5 sku id
		// 6 status
		// 7 size opened
		// 8 publisher
		// 9 sale price
		// Recommendations
		var rec_prod_id1 = a_product_ids[0];
		var image_description1 = rec_attributes[0][0]; // - not
		var price1 = rec_attributes[0][2] ? '$' + rec_attributes[0][2] : ''; // - not
		var sale_price1 = rec_attributes[0][9] ? '$' + rec_attributes[0][9] : ''; // - not
		var category1 = rec_attributes[0][1]; // - not
		var image_url1 = rec_attributes[0][3];
		var imgType105="\/105\/";
		var imgType135="\/135\/";
		var imgTypeNull="\/null\/";
		var ImgURL105=image_url1;
		if (image_url1.indexOf(imgType135)>=0) {ImgURL105=image_url1.replace(imgType135, imgType105);}
		else if (image_url1.indexOf(imgTypeNull)>=0) {ImgURL105=image_url1.replace(imgTypeNull, imgType105);}
		var item_url1 = rec_attributes[0][4];
		if ((image_url1.replace(/\s/g,"") !== "") && (item_url1.replace(/\s/g,"") !== "")){ 
			
		var sku1 = rec_attributes[0][5];
		var status1 = rec_attributes[0][6];
		var size1 = rec_attributes[0][7];
		var publisher1 = rec_attributes[0][8];
		var hostname="http://www.calendars.com/";
		if (ImgURL105.indexOf(hostname)>=0) {ImgURL105=ImgURL105.substring(24,ImgURL105.length);}
		if (item_url1.indexOf(hostname)>=0) {item_url1=item_url1.substring(24,item_url1.length);}
			
		lines.push('<div style="height: auto; width: 290px; overflow:hidden;float: right;outline: 0px solid red;">');
			lines.push('<div style=" font-weight: 700; line-height: 30px; padding-left: 10px; background: none repeat scroll 0pt 0pt rgb(241, 241, 241); width: 278px; color: #2A2A2A; height: 30px; border: 1px solid rgb(221, 221, 221); clear: both; font-size: 150%;">'+ target_header_txt + '<\/div>');
			lines.push('<div style="outline:0px solid blue;">');
				lines.push('<div style=" float:left;margin-top: 5px;outline: 0px solid red;"><a href="'+ item_url1 +  '&amp;cm_vc=HPTOP2BS&amp;cm_re=ccus_marketingPanel-_-FreaturedItems-_-1a">');
				lines.push('<img height="105" width="105" alt="' + image_description1 + '" src="' + ImgURL105 + '" style="margin-right: 5px;"><\/a>');
				lines.push('<\/div>');
				lines.push('<div style="float: left; margin-top: 5px; width: 180px; outline-color: green; outline-style: solid; outline-width: 0px;">');
					lines.push('<div style="font-size: 1.2em;"><a href="'+ item_url1 + '&amp;cm_vc=HPTOP2BS&amp;cm_re=ccus_marketingPanel-_-FreaturedItems-_-1b">'+ image_description1 +'<\/a>' +'<\/div>');
					lines.push('<div style="margin: 5px 0pt;"><span class="bold">Size Opened:</span> '+ size1+'<br>');
						lines.push('<span class="bold">Publisher:</span> '+publisher1+'<br>');
						lines.push('<span class="bold">Status:</span> <span>' + status1+'<\/span><br>');
					lines.push('<\/div>');
					lines.push('<div style="font-size: 1.2em;"><span style="color: blue; font-size: 1em;">');
					if(sale_price1 !== '$99999') {
						lines.push(' ' + sale_price1);
					}
					else {
						lines.push(' ' + price1);
					}
//		lines.push('<div style="font-size: 1.2em;"><span style="color: blue; font-size: 1em;">' + price1 + (sale_price1 == 0) ? '' : sale_price1 +'<\/span>');
//					lines.push('<div style="font-size: 1.2em;"><span style="color: blue; font-size: 1em;">' + price1 +'<\/span>');
					lines.push('<\/span><a href="'+ item_url1 + '&amp;cm_vc=HPTOP2BS&amp;cm_re=ccus_marketingPanel-_-FreaturedItems-_-1c" style="color: blue;" class="underlined">More Info<\/a>');
					lines.push('<\/div>');
				lines.push('<\/div>');
				lines.push('<div style="clear: both;"><\/div>');
			lines.push('<\/div>');
		}
		if (n_recs>1) {
			var rec_prod_id2 = a_product_ids[1];
			var image_description2 = rec_attributes[1][0]; // - not
			var price2 = rec_attributes[1][2] ? '$' + rec_attributes[1][2] : ''; // - not
			var category2 = rec_attributes[1][1]; // - not
			var image_url2 = rec_attributes[1][3];
			ImgURL105=image_url2;
			if (image_url2.indexOf(imgType135)>=0) {ImgURL105=image_url2.replace(imgType135, imgType105);}
			else if (image_url2.indexOf(imgTypeNull)>=0) {ImgURL105=image_url2.replace(imgTypeNull, imgType105);}
			var item_url2 = rec_attributes[1][4];
			if ((image_url2.replace(/\s/g,"") !== "") && (item_url2.replace(/\s/g,"") !== "")){ 
			var sku2 = rec_attributes[1][5];
			var sale_price2 = rec_attributes[1][9] ? '$' + rec_attributes[1][9] : ''; // - not
			var status2 = rec_attributes[1][6];
			var size2 = rec_attributes[1][7];
			var publisher2 = rec_attributes[1][8];
			if (ImgURL105.indexOf(hostname)>=0) {ImgURL105=ImgURL105.substring(24,ImgURL105.length);}
			if (item_url2.indexOf(hostname)>=0) {item_url2=item_url2.substring(24,item_url2.length);}
			lines.push('<div style="outline:0px solid blue;">');
			lines.push('<div style=" float:left;margin-top: 5px;outline: 0px solid red;"><a href="'+ item_url2 + '&amp;cm_vc=HPTOP2BS&amp;cm_re=ccus_marketingPanel-_-FreaturedItems-_-2a">');
				lines.push('<img height="105" width="105" alt="' + image_description2 + '" src="' + ImgURL105 + '" style="margin-right: 5px;"><\/a>');
			lines.push('<\/div>');
			lines.push('<div style="float: left; margin-top: 5px; width: 180px; outline-color: green; outline-style: solid; outline-width: 0px;">');
				lines.push('<div style="font-size: 1.2em;"><a href="'+ item_url2 + '&amp;cm_vc=HPTOP2BS&amp;cm_re=ccus_marketingPanel-_-FreaturedItems-_-2b">'+ image_description2 +'<\/a>' +'<\/div>');
				lines.push('<div style="margin: 5px 0pt;"><span class="bold">Size Opened:</span> '+ size2+'<br>');
					lines.push('<span class="bold">Publisher:</span> '+publisher2+'<br>');
					lines.push('<span class="bold">Status:</span> <span>' + status2+'<\/span><br>');
				lines.push('<\/div>');
//	lines.push('<div style="font-size: 1.2em;"><span style="color: blue; font-size: 1em;text-align:center;">'+ price1 + (sale_price1 == 0) ? '' : sale_price1 +'<\/span>');
//	lines.push('<div style="font-size: 1.2em;"><span style="color: blue; font-size: 1em;">' + price1 + (sale_price1 == 0) ? '' : sale_price1 +'<\/span>');
				lines.push('<div style="font-size: 1.2em;"><span style="color: blue; font-size: 1em;">');
				if(sale_price2 !== '$99999') {
					lines.push(' ' + sale_price2);
				}else{
					lines.push(' ' + price2);
				}
					lines.push('<\/span><a href="'+ item_url2 + '&amp;cm_vc=HPTOP2BS&amp;cm_re=ccus_marketingPanel-_-FreaturedItems-_-2c" style="color: blue;" class="underlined">More Info<\/a>');
				lines.push('<\/div>');
			lines.push('<\/div>');
			}
			lines.push('<div style="clear: both;"><\/div>');
		lines.push('<\/div>');
		}
		lines.push('<\/div>');
		html = lines.join("\n");

		}
		document.getElementById('io_hptop2bs').innerHTML= html;
		}



function hptop5bs_zp(a_product_ids,
		zone,
		symbolic,
		target_id,
		category,
		rec_attributes,
		target_attributes,
		target_header_txt)
		{
	var html = '<noscript>+zone + "_zp: No recommendations returned"<\/noscript>';
		var html = zone + "_zp: No recommendations returned";
		if (symbolic !== '_NR_')
		{
		// special case. Over ride of the header text passed from the configuration file
		target_header_txt = "Best Sellers:";
		var div_recs = '<div class="V5_io_example_recs"\>';
		var n_recs = a_product_ids.length;
		var div_title = '<div id=”bestsellerstitle” style="margin: 0pt 0pt 10px; color: rgb(42, 42, 42); border-bottom: 1px solid rgb(221, 221, 221); padding-bottom: 2px; font-size: 150%; font-weight: bold;">' + target_header_txt + '</div>';
		var div_table = '<div class="io_recs_table">';
		var image_table = '<TABLE CELLSPACING="2" CELLPADDING="0" Align="center" style="bordercolor:white;"><TR>';
		var lines = [];
		var width = 100 / n_recs;
		// 0 product description
		// 1 category
		// 2 price
		// 3 image url
		// 4 item page url
		// 5 sku id
		// 6 status
		// 7 size opened
		// 8 publisher
		// 9 sale price
		// Recommendations
		for (var ii=0; ii < n_recs && ii < 5; ii++)
		{
		var rec_prod_id = a_product_ids[ii];
		var image_description = rec_attributes[ii][0]; // - not
		var selected_href = rec_attributes[ii][4]; // - not
		var price = rec_attributes[ii][2] ? '$' + rec_attributes[ii][2] : ''; // - not
		var sale_price = rec_attributes[ii][9] ? '$' + rec_attributes[ii][9] : ''; // - not
		var n_stars = 2 + Math.floor(Math.random() * 3); // - not
		var category = rec_attributes[ii][1]; // - not
		var image_url = rec_attributes[ii][3]; // - not
		if ((image_url.replace(/\s/g,"") !== "") && (selected_href.replace(/\s/g,"") !== "")){ 
		var imgType105="\/105\/";
		var imgType135="\/135\/";
		var imgTypeNull="\/null\/";
		var ImgURL135=image_url;
		var index=(ii+1).toString();
		if (image_url.indexOf(imgType105)>=0) {ImgURL135=image_url.replace(imgType105, imgType135);}
		else if (image_url.indexOf(imgTypeNull)>=0) {ImgURL135=image_url.replace(imgTypeNull, imgType135);}
		var alt_description = image_description || rec_prod_id;
		var hostname="http://www.calendars.com/";
		if (ImgURL135.indexOf(hostname)>=0) {ImgURL135=ImgURL135.substring(24,ImgURL135.length);}
		if (selected_href.indexOf(hostname)>=0) {selected_href=selected_href.substring(24,selected_href.length);}
		lines.push('<TD valign="top" class="borderedRollover" width=' + width + '%><div class="bordered_Rollover"><TABLE ALIGN="center" WIDTH=' + width + '%>');
		lines.push('<TR><TD ALIGN="center"><div align="center" style="width: 135px; height: 135px;"><A HREF="' + selected_href + '&amp;cm_vc=HPTOP5BS&amp;cm_re=ccus_hp_IO-_-BestSellers-_-'+ index + 'a"><IMG SRC="' + ImgURL135 +
		'" + ALT="' + alt_description + '"/><\/a><\/div><\/TD><\/TR>');
		lines.push('<TR><TD ALIGN="center"><div style="font-size: 1.2em; outline-color: green; outline-style: solid; outline-width: 0px;"><A HREF="' + selected_href + '&amp;cm_vc=HPTOP5BS&amp;cm_re=ccus_hp_IO-_-BestSellers-_-'+ index + 'b">' + image_description + '<\/A><\/div><\/TD><\/TR>');
		lines.push('<TR ><TD><TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH=100%><TR><TD style="margin-bottom: 5px; font-size: 1em;" class="featureditem_price" ALIGN="center"><span style="color: blue; font-size: 1em;">');
		if(sale_price !== '$99999') {
			lines.push(' ' + sale_price);
		}
		else {
			lines.push(' ' + price);
		}
		lines.push('<\/span><a href="'+ selected_href + '&amp;cm_vc=HPTOP5BS&amp;cm_re=ccus_hp_IO-_-BestSellers-_-'+ index + 'c" style="color: blue;" class="underlined">More Info<\/a>');
		lines.push('<\/TD><\/TR><\/TABLE><\/TD><\/TR>');
		lines.push('<\/TABLE><\/div><\/TD>');
		}
		}
		// make a text string
		// html = div_title + div_table + image_table + lines.join("\n") + '<\/TR>' + image_trailer +
		'<\/TABLE><\/div>';
		html = div_recs + div_title + div_table + image_table + lines.join("\n") +
		'<\/TR\><\/TABLE\><\/div\><\/div\>';
		}
		document.getElementById('io_hptop5bs').innerHTML= html;
		}


function PDPZ1_zp(a_product_ids,
		zone,
		symbolic,
		target_id,
		category,
		rec_attributes,
		target_attributes,
		target_header_txt)
		{
	var html = '<noscript>+zone + "_zp: No recommendations returned"<\/noscript>';
		if (symbolic !== '_NR_')
		{
		// special case. Over ride of the header text passed from the configuration file
		target_header_txt = "You Might Also Like:";
		var n_recs = a_product_ids.length;
		var div_title = '<h2 class="categoryH2 darkblue">' + target_header_txt + '<\/h2>';
		var div_prod = '<div class="relatedProduct">';
		var div_img = '<div class="relatedProductImageBox">';
		var image_table = '<TABLE CELLSPACING="2" CELLPADDING="0" Align="center" style="bordercolor:white;"><TR>';
		var lines = [];
		var width = 100 / n_recs;
		var maxRecDisplay=7
		// 0 product description
		// 1 category
		// 2 price
		// 3 image url
		// 4 item page url
		// 5 sku id
		// 6 status
		// 7 size opened
		// 8 publisher
		// 9 sale price
		// Recommendations
		for (var ii=0; ii < n_recs && ii <maxRecDisplay; ii++)
		{
		var rec_prod_id = a_product_ids[ii];
		
		var image_description = rec_attributes[ii][0]; // - not
		var eclipse_desc=image_description;
		if (image_description.length > 20) {eclipse_desc= image_description.substring(0,16)+"...";}
		var selected_href = rec_attributes[ii][4]; // - not
		var price = rec_attributes[ii][2] ? '$' + rec_attributes[ii][2] : ''; // - not
		var n_stars = 2 + Math.floor(Math.random() * 3); // - not
		var category = rec_attributes[ii][1]; // - not
		var image_url = rec_attributes[ii][3];
		if ((image_url.replace(/\s/g,"") !== "") && (selected_href.replace(/\s/g,"") !== "")){ 
		var imgType105="\/105\/";
		var imgType135="\/135\/";
		var imgType105="\/105\/";
		var imgType135="\/135\/";
		var imgTypeNull="\/null\/";
		var ImgURL105=image_url;
		if (image_url.indexOf(imgType135)>=0) {ImgURL105=image_url.replace(imgType135, imgType105);}
		else if (image_url.indexOf(imgTypeNull)>=0) {ImgURL105=image_url.replace(imgTypeNull, imgType105);}
		var item_url = rec_attributes[ii][4];
		var prodPre='/prod';
		var catPre='/?categoryId=';
		var prodID=item_url.substring(((item_url.indexOf(prodPre))+1),((item_url.indexOf(catPre))));
		var sku = rec_attributes[ii][5];
			//'main-' + category + '.jpg'; // - not
		var alt_description = image_description || rec_prod_id;
		var sale_price = rec_attributes[ii][9] ? '$' + rec_attributes[ii][9] : ''; // - not
		var hostname="http://www.calendars.com/";
		if (ImgURL105.indexOf(hostname)>=0) {ImgURL105=ImgURL105.substring(24,ImgURL105.length);}
		if (item_url.indexOf(hostname)>=0) {item_url=item_url.substring(24,item_url.length);}
		lines.push(div_prod);
		lines.push(div_img);
		lines.push('<a href="' + item_url + '&amp;cm_vc=PDPZ1&navCount=1&related=PDPZ1" >');
		lines.push('<img class="relatedProductImage" alt="' + eclipse_desc + '" src="' + ImgURL105+ '" />');
		lines.push('<\/a><\/div>');
		lines.push('<a class="darkblue" href="'+ item_url + '&amp;cm_vc=PDPZ1&navCount=1&related=PDPZ1" >'+ eclipse_desc +'<\/a>');
		lines.push('<div class="bold black relatedProductText">');
		if(sale_price !== '$99999') {
			lines.push(' ' + sale_price);
		}
		else {
			lines.push(' ' + price);
		}
		lines.push('<\/div><form id="productDetailForm'+ii+'" formid="'+ii+'" class="addToCartForm" method="post" action="cart.jsp" >');


		lines.push('<input class="productCategory" type="hidden" value="PDPZ1"/>');
		lines.push('<input class="productName" type="hidden" value=' + image_description+ '/>');
		lines.push('<input class="related" type="hidden" value="PDPZ1"/>');
		lines.push('<input class="categoryId" type="hidden" value="PDPZ1"/>');
		lines.push('<input class="cm_vc" type="hidden" value="PDPZ1"/>');

		lines.push('<input name="_dyncharset" type="hidden" value="ISO-8859-1"/>');

		if(sale_price !== '$99999') {
			lines.push('<input type="hidden" value=' + sale_price + ' class="productPrice"/>');
		}
		else {
			lines.push('<input type="hidden" value=' + price + ' class="productPrice"/>');
		}
//		lines.push('<input type="button" value="submit" align="center" onclick=" cmCreateShopAction5Tag( …); cmDisplayShop5s();"></input>
		lines.push('<input type="hidden" class="successURL" name="addItemToOrderSuccessURL" value="/catalog/product.jsp?related=PDPZ1&productId='+prodID + '&categoryId=PDPZ1&cm_vc=PDPZ1"/>');

		lines.push('<input name="/atg/commerce/order/purchase/CartModifierFormHandler.catalogRefIds" class="skuId" type="hidden" value=' + sku + '>');
		
		
		lines.push('<input name="/atg/commerce/order/purchase/CartModifierFormHandler.productId" class="productId" type="hidden" value=' + prodID + '>');
		
		lines.push('<fieldset>');
		
		lines.push('<input name="/atg/commerce/order/purchase/CartModifierFormHandler.quantity" class="quantity" type="hidden" value="1"/>');
		
		lines.push('<a href="#" style="display:inline-block;width:auto;height:auto;overflow:hidden;" class="addToCart" onClick="cartAdd()"><img src="/img/buttons/addToCartButton.gif" alt="Add to Cart"/><\/a>');

		lines.push('<input value=" " type="hidden" name="addItemToOrder"/>');

		
		lines.push('<\/fieldset>');
		lines.push('<input type="hidden" name="_DARGS" value="/catalog/product.jsp.1"/>');
		lines.push('<\/form>');
		lines.push('<\/div>');
		}
		}
		lines.push('<\/div>');
		html = div_title + lines.join("\n");
	
		}
		document.getElementById('io_PDPZ1').innerHTML= html;
		}

function CARTZ1_zp(a_product_ids,
		zone,
		symbolic,
		target_id,
		category,
		rec_attributes,
		target_attributes,
		target_header_txt)
		{
	var html = '<noscript>+zone + "_zp: No recommendations returned"<\/noscript>';
		if (symbolic !== '_NR_')
		{
		// special case. Over ride of the header text passed from the configuration file
		target_header_txt = "You Might Also Like:";
		var n_recs = a_product_ids.length;
		var div_title = '<h2 class="categoryH2 darkblue">' + target_header_txt + '<\/h2>';
		var div_prod = '<div class="relatedProduct">';
		var div_img = '<div class="relatedProductImageBox">';
		var image_table = '<TABLE CELLSPACING="2" CELLPADDING="0" Align="center" style="bordercolor:white;"><TR>';
		var lines = [];
		var width = 100 / n_recs;
		var maxRecDisplay=7
		// 0 product description
		// 1 category
		// 2 price
		// 3 image url
		// 4 item page url
		// 5 sku id
		// 6 status
		// 7 size opened
		// 8 publisher
		// 9 sale price
		// Recommendations
		for (var ii=0; ii < n_recs && ii <maxRecDisplay; ii++)
		{
		var rec_prod_id = a_product_ids[ii];
		
		var image_description = rec_attributes[ii][0]; // - not
		var eclipse_desc=image_description;
		if (image_description.length > 20) {eclipse_desc= image_description.substring(0,16)+"...";}
		var selected_href = rec_attributes[ii][4]; // - not
		var price = rec_attributes[ii][2] ? '$' + rec_attributes[ii][2] : ''; // - not
		
		var n_stars = 2 + Math.floor(Math.random() * 3); // - not
		var category = rec_attributes[ii][1]; // - not
		var image_url = rec_attributes[ii][3];
		if ((image_url.replace(/\s/g,"") !== "") && (selected_href.replace(/\s/g,"") !== "")){ 
		var imgType105="\/105\/";
		var imgType135="\/135\/";
		var imgTypeNull="\/null\/";
		var ImgURL105=image_url;
		if (image_url.indexOf(imgType135)>=0) {ImgURL105=image_url.replace(imgType135, imgType105);}
		else if (image_url.indexOf(imgTypeNull)>=0) {ImgURL105=image_url.replace(imgTypeNull, imgType105);}
		var item_url = rec_attributes[ii][4];
		var sku = rec_attributes[ii][5];
			//'main-' + category + '.jpg'; // - not
		var alt_description = image_description || rec_prod_id;
		var sale_price = rec_attributes[ii][9] ? '$' + rec_attributes[ii][9] : ''; // - not
		var prodPre='/prod';
		var catPre='/?categoryId=';
		var prodID=item_url.substring(((item_url.indexOf(prodPre))+1),((item_url.indexOf(catPre))));
		var hostname="http://www.calendars.com/";
		if (ImgURL105.indexOf(hostname)>=0) {ImgURL105=ImgURL105.substring(24,ImgURL105.length);}
		if (item_url.indexOf(hostname)>=0) {item_url=item_url.substring(24,item_url.length);}
		lines.push(div_prod);
		lines.push(div_img);
		lines.push('<a href="' + item_url + '&amp;cm_vc=CARTZ1&navCount=1&cartRelated=CARTZ1" cmImpressionSent="1">');
		lines.push('<img class="relatedProductImage" alt="' + eclipse_desc + '" src="' + ImgURL105+ '" complete="complete"/>');
		lines.push('<\/a><\/div>');
		lines.push('<a class="darkblue" href="'+ item_url + '&amp;cm_vc=CARTZ1&navCount=1&cartRelated=CARTZ1" cmImpressionSent="1">'+ eclipse_desc +'<\/a>');
		lines.push('<div class="bold black relatedProductText">');
		if(sale_price !== '$99999') {
			lines.push(' ' + sale_price);
		}
		else {
			lines.push(' ' + price);
		}
		lines.push('<\/div><form id="addToCartForm'+ii+'" formid="'+ii+'" class="addToCartForm" method="post" action="/checkout/cart.jsp" >');
		lines.push('<input name="_dyncharset" type="hidden" value="ISO-8859-1"/>');
		lines.push('<input name="dcs_action" type="hidden" value="additemtocart"/>');
		lines.push('<fieldset>');
		lines.push('<input name="/atg/commerce/order/purchase/CartModifierFormHandler.cartRelated" type="hidden" value="CARTZ1"/>');
		lines.push('<input class="categoryId" type="hidden" value="CARTZ1"/>');
		lines.push('<input class="cm_vc" type="hidden" value="CARTZ1"/>');
		lines.push('<input class="productCategory" type="hidden" value="CARTZ1"/>');
		lines.push('<input class="productName" type="hidden" value=' + image_description+ '/>');
		lines.push('<input name="_D:/atg/commerce/order/purchase/CartModifierFormHandler.cartRelated" type="hidden" value=" "/>');
		if(sale_price !== '$99999') {
			lines.push('<input type="hidden" value=' + sale_price + ' class="productPrice"/>');
		}
		else {
			lines.push('<input type="hidden" value=' + price + ' class="productPrice"/>');
		}
		
		lines.push('<input name="/atg/commerce/order/purchase/CartModifierFormHandler.addItemToOrderSuccessURL" class="successURL" type="hidden" value="/checkout/cart.jsp?cartRelated=CARTZ1&productId='+prodID + '&categoryId=' + category+'&cm_vc=CARTZ1"/>');
		lines.push('<input name="_D:/atg/commerce/order/purchase/CartModifierFormHandler.addItemToOrderSuccessURL" type="hidden" value=" "/>');
		lines.push('<input name="/atg/commerce/order/purchase/CartModifierFormHandler.catalogRefIds" class="skuId" type="hidden"  value='+ sku+ '><\/input>');
		lines.push('<input name="_D:/atg/commerce/order/purchase/CartModifierFormHandler.catalogRefIds" type="hidden"  value=" "/>');
		lines.push('<input name="/atg/commerce/order/purchase/CartModifierFormHandler.productId" class="productId" type="hidden" value='+ prodID+ '><\/input>');
		lines.push('<input name="_D:/atg/commerce/order/purchase/CartModifierFormHandler.productId" type="hidden" value=" "/>');
		lines.push('<input name="/atg/commerce/order/purchase/CartModifierFormHandler.quantity" class="quantity" type="hidden" value="1"/>');
		lines.push('<input name="_D:/atg/commerce/order/purchase/CartModifierFormHandler.quantity" type="hidden" value=" "/>');

//		lines.push('<a href="/checkout/cart.jsp" style="display:inline-block;width:auto;height:auto;overflow:hidden;"><img src="/img/buttons/addToCartButton.gif" alt="Add to Cart"/><\/a>');
		if(sale_price !== '$99999') 
		{
			lines.push('<a href="/checkout/cart.jsp?dcs_action=additemtocart&url_catalog_ref_id=' + sku + '&url_product_id=' + prodID + '&url_quantity=1&url_price=' + sale_price +'" style="display:inline-block;width:auto;height:auto;overflow:hidden;" onClick="cartAdd()"><img src="/img/buttons/addToCartButton.gif" alt="Add to Cart"/><\/a>');
		}
		else 
		{
			lines.push('<a href="/checkout/cart.jsp?dcs_action=additemtocart&url_catalog_ref_id=' + sku + '&url_product_id=' + prodID + '&url_quantity=1&url_price=' + price +'" style="display:inline-block;width:auto;height:auto;overflow:hidden;" onClick="cartAdd()"><img src="/img/buttons/addToCartButton.gif" alt="Add to Cart"/><\/a>');
		}
		lines.push('<input value=" " type="hidden" name="_D:/atg/commerce/order/purchase/CartModifierFormHandler.addItemToOrder"/>');
		lines.push('<\/fieldset>');
		lines.push('<input type="hidden" name="_DARGS" value="/catalog/product.jsp.1"/>');
		lines.push('<\/form>');
		lines.push('<\/div>');
		
		}
		}
		
		lines.push('<\/div>');
		html = div_title + lines.join("\n");
		
		}
		document.getElementById('io_CARTZ1').innerHTML= html;
		}


