var params = { "cart[" + classID + "][" + f_RowID + "]": "1", "cart_mode": "add" }
var params = {}; params["cart[" + classID + "][" + f_RowID + "]"] = "1";