<script>
var arr_1 = [1,2,3,4,3,3,6,2,4,7,5,6];
var arr_2 = [];
for(var i=0;i<arr_1.length;i++){
var status = 0;
for(var j=0;j<arr_2.length;j++){
if(arr_1[i] == arr_2[j]){
status = 1;
break;
}
}
if(status == 0){
arr_2.push(arr_1[i]);
}
}
for(var x in arr_2){
alert(arr_2[x]);
}
</script>