В html-низ

Код:
<script type="text/javascript">
var arr=document.links
var arr1=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr2=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")
var arr3=new Array ("НИК", "НИК", "НИК", "НИК", "НИК")

for (x in arr)
{for (y in arr1)
{if (arr[x].innerHTML==arr1[y])
{
arr[x].innerHTML="<font color='blue'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr2)
{if (arr[x].innerHTML==arr2[j])
{
arr[x].innerHTML="<font color='lime'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr3)
{if (arr[x].innerHTML==arr3[l])
{
arr[x].innerHTML="<font color='white'>"+arr[x].innerHTML+"</font>"}}}

</script>