function drawrightCol() {
	//DrawCustomerServiceBlock();
	DrawBasketBlock();
	DrawGiftCardBlock();
	DrawShippingBlock();
}

function drawrightColHome() {
	drawrightCol();
}

function drawrightColProduct() {
	//DrawCustomerServiceBlock();
	DrawBasketBlock();
	DrawRelatedProductsBlock();
	DrawGiftCardBlock();
	DrawShippingBlock();
}


function DrawBasketBlock() {
	document.write("<div style=\"margin: 0px 0px 3px 0px;\">");
	document.write("<table width=\"135\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
    document.write("<tr>");
        document.write("<td bgcolor=\"#D9DA56\" height=\"235\">");
            document.write("<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"135\" height=\"235\">");
                document.write("<tr>");
                    document.write("<td align=\"center\">");
                        document.write("<a href=\"basket.asp\" onclick=\"return(visitargs('basket.asp','','URL'));\"><img src=\"assets/images/Dog_default_v30_10.jpg\" width=\"74\" height=\"85\" border=\"0\" /></a>");
                    document.write("</td>");
                document.write("</tr>");
                document.write("<tr height=\"94\">");
                    document.write('<td>');
                        document.write("<TABLE  border=0 cellpadding=0 cellspacing=1 ALIGN=CENTER>");
                            // ** for loop to pull items in basket 
                            for (atn=0;atn< shopping_basket.items.length ;atn++){
                            //pull code with links for items
                            document.write("<TR><td colspan=\"2\"><a href=\"#\" onClick=\"return(visitargs('product.asp','dept_id=" + shopping_basket.items[atn].dept_id +"&pf_id="+shopping_basket.items[atn].pf_id+ "',''))\" class=\"followmeproduct\">" + shopping_basket.items[atn].name + "</a></td>");
                            document.write("</TR><TR><td class=\"followmeprice\">Qty: " + shopping_basket.items[atn].quantity + "</td><td class=\"followmeprice\">$"+ OKStrOfPenny(shopping_basket.items[atn].item_total)+"</td></TR>");
                            // close off row for each item
                            } // end for loop
                            document.write('<tr height="1" bgcolor="#FFFFFF"><td colspan="2"></td></tr>');
                            document.write("<tr>");
                                document.write("<td class=\"followmeprice\">Subtotal</td><td class=\"followmeprice\">$" + OKStrOfPenny(shopping_basket.sub_total)+"</td>");
                            document.write("</TD></TR>");
                        document.write("</table>");
                    document.write("</td>");
                document.write("</tr>");
                document.write('<tr><td class="followmeprice">Items can be removed before Checkout.</td></tr>');
                document.write("<tr>");
                    document.write("<td><a href=\"basket.asp\" onclick=\"return(visitargs('basket.asp','','URL'));\"><img src=\"assets/images/Dog_default_v30_13.gif\" width=\"135\" height=\"27\" alt=\"\" border=\"0\" ></a></td>");
                document.write("</tr>");
            document.write("</table>");
        document.write(" </td>");
    document.write("</tr>");
	/*
    document.write("<tr><td height=\"5\"></td></tr>");
    document.write("<tr>");
        document.write("<td><a href=\"text_2.asp\" onclick=\"return(visitargs('text_2.asp','','URL'));\"><img src=\"assets/images/Dog_default_v30_15.gif\" width=\"135\" height=\"180\" alt=\"\" border=\"0\"></a></td>");
    document.write("</tr>");
    document.write("<tr><td height=\"5\"></td></tr>");
    document.write("<tr>");
        document.write("<td height=\"78\"><img src=\"assets/images/dog_reading_paper_sm.jpg\" border=\"0\" /></td>");
    document.write("</tr>");
    document.write("<tr><td height=\"2\"></td></tr>");
	*/
	document.write("</table>");
	document.write("</div>");
}

function DrawCustomerServiceBlock(){
	document.write("<div style=\"margin: 0px 0px 3px 0px;\">");
	document.write("<a href=\"text_1.asp\" onclick=\"return(visitargs('text_1.asp','','URL'));\">");
	document.write("<img src=\"assets/images/callout_CustomerService.jpg\" border=\"0\" alt=\"Customer Service\">");
	document.write("</a>");
	document.write("</div>");
}

function DrawGiftCardBlock(){
	document.write("<div style=\"margin: 0px 0px 3px 0px;\">");
	document.write("<a href=\"product.asp?dept_id=3219&pf_id=PAOHIDLIHPOEOCEN\" onclick=\"return(visitargs('product.asp','dept_id=3219&pf_id=PAOHIDLIHPOEOCEN','URL'));\">");
	document.write("<img src=\"assets/images/callout_GiftCard.gif\" border=\"0\" alt=\"Gift Card\">");
	document.write("</a>");
	document.write("</div>");
}

function DrawShippingBlock(){
	document.write("<div style=\"margin: 0px 0px 3px 0px;\">");
	document.write("<a href=\"text_2.asp\" onclick=\"return(visitargs('text_2.asp','','URL'));\"><img src=\"assets/images/callout_Shipping.gif\" alt=\"\" border=\"0\"></a>");
	document.write("</div>");
}

function DrawLifeStyleImageBlock(){
	document.write("<div style=\"margin: 0px 0px 3px 0px;\">");
	//document.write("<a href=\"default.asp\" onclick=\"return(visitargs('default.asp','','URL'));\">");
	document.write("<img src=\"assets/images/dog_reading_paper_sm.jpg\" border=\"0\" alt=\"\">");
	//document.write("</a>");
	document.write("</div>");
}

function DrawRelatedProductsBlock(){

	document.write("<!-- FEATURE BEGIN: Related products -->");
	//document.write("<script language=\"JavaScript\" type=\"text/javascript\">");
		if (page_option_4!=1 && nRelated>0)
		{
			document.write('You may also like:');
			//document.write('<table width="100%" cellpadding="1" cellspacing="0" border="0">');
			//document.write('<tr><td>');
			draw_related('0','0','','0','80','<BR> ','<BR>SALE PRICE ','<BR> Our Price ');
			//document.write('</td></tr></table>');
		 }
	//document.write("</script>");
	document.write("<!-- FEATURE END: Related products -->");

}