/* FOLLOW ME CART CODE */

/*Edit the draw_my_cart function to make it look how you want it to look. 
Edit css styles to control color of background and foreground colors */

/* Draws a table with the follow me cart information and a checkout button to go to the basket page. */
function draw_my_cart(){
	document.write("<table width=141 cellpadding=0 cellspacing=0 align=center valign=top><tr><td class=cartOutline>");
	document.write("<table border=0 cellspacing=1 cellpadding=3 valign=bottom width=100%>");
	document.write("<tr><td class=cartHeader colspan=2 align=center><font size=1>");
	if (user_firstname!=""){
		document.write("<strong>"+user_firstname.toUpperCase()+"'S CART</strong> ");
	}
	else
	{
		document.write("<strong>YOUR CART</strong> ");
	}
	
	document.write("</font></td></tr><tr><td colspan=2 class=cartItems>");
	for (atn=0;atn< shopping_basket.items.length ;atn++){
		document.write("<a href=\"#\" onClick=\"return(visitargs('product.asp','dept_id="+shopping_basket.items[atn].dept_id+"&pf_id="+shopping_basket.items[atn].pf_id+"',''))\"><img width=30 height=30 border=0 src='assets/product_images/"+shopping_basket.items[atn].image+"'></a><font size=1>......$"+ OKStrOfPenny(shopping_basket.items[atn].item_total)+"<br></font>");
	}
	
	document.write("</td></tr><tr><td align=right class=cartBottom><font size=1>Items:</font></td><td class=cartBottom>");
	document.write("<font size=1><strong>" + shopping_basket.no_items+"</strong></font>");

	document.write("</td></tr><tr><td align=right class=cartBottom><font size=1>Total:</font></td><td class=cartBottom>");
	document.write("<font size=1>$" + OKStrOfPenny(shopping_basket.total_total)+"</strong></font></td></tr>");
	
	document.write("<tr><td class=cartBottom align=center colspan=2>");
	document.write("<a href=\"#\" onclick=\"return(visitargs('basket.asp','',''))\"><img src='assets/images/btntotal2.gif' border=0></a>");
	document.write("</td></table>");
	
	document.write("</td></tr></table>");
}

function draw_my_wish(){
	
}