var arrUniq = function(arr){
var o = {},newArr = [], i, j;
for(var i = 0,len = arr.length; i < len; i++){
if(typeof (o[arr[i]]) == 'undefined'){
o[arr[i]] = "";
}
}
for(j in o){
newArr.push(j);
}
return newArr;
}
var o = {},newArr = [], i, j;
for(var i = 0,len = arr.length; i < len; i++){
if(typeof (o[arr[i]]) == 'undefined'){
o[arr[i]] = "";
}
}
for(j in o){
newArr.push(j);
}
return newArr;
}