<!--Script by hscripts.com--> <!-- Free javascripts @ https://www.hscripts.com --> <script type="text/javascript"> function deldup() { var str1=document.strchk.val1.value; if(str1!='') { var str2=document.strchk.val2.value; var array1 = str1.split(','); var array2 = str2.split(','); var array3 = arrayUnique(array1.concat(array2)); document.getElementById('val3').value = array3; } else { alert('Enter Values'); } } function arrayUnique(array) { var a = array.concat(); for(var i=0; i<a.length; ++i) { for(var j=i+1; j<a.length; ++j) { if(a[i] === a[j]) a.splice(j--, 1); } } return a;}function chk(){ var sds = document.getElementById('dum'); if(sds == null){alert("You are using a free package.\n You are not allowed to remove the tag.\n"); document.getElementById("maindiv").style.visibility="hidden"; } var sdss = document.getElementById("dumdiv"); if(sdss == null){alert("You are using a free package.\n You are not allowed to remove the tag.\n");} } window.onload=chk; </script> <!-- Script by hscripts.com -->