JavaScript Zipping Arrays to Object
var r = {},
i,
keys = ['one', 'two', 'three'],
values = ['a', 'b', 'c'];
for (i = 0; i < keys.length; i++) {
r[keys[i]] = values[i];
}
Hungry Hornet