VK.api("market.get", {owner_id:-180709710,count: 200, "v":"5.92"}, function (data) {
for (var i = 0; i < data.response.items.length; i++) {
var q = data.response.items[i].id
console.log(q);
VK.api("market.addToAlbum", {owner_id:-180709710, item_id:q, album_ids:4, "v":"5.92"}, function (data){})
}
});