def ShoppingCart.add_items_form(associate, dev_id, asin_list, locale='us')
associate ||= DEFAULT_ID[locale]
locale.downcase!
site = SITE[locale]
asin_list = [asin_list] if asin_list.is_a? String
html = "<form method=\"POST\" action=\"http://\#{site}/exec/obidos/dt/assoc/handle-buy-box=\#{asin_list[0]}\">\n"
asin_list.each do |asin|
html << %Q[<input type="hidden" name="asin.#{asin}" value="1">]
end
html = "<input type=\"hidden\" name=\"tag-value\" value=\"\#{associate}\">\n<input type=\"hidden\" name=\"tag_value\" value=\"\#{associate}\">\n<input type=\"hidden\" name=\"dev-tag-value\" value=\"\#{dev_id}\">\n<input type=\"submit\" name=\"submit.add-to-cart\" value=\"Buy From Amazon \#{locale}\">\n</form>\n"
end