Demonstration:

Paste this into a file and name it linkArray.js

  function linkDisplay() {
    /* Enter the link name below. Each entry must have
       a unique number in the "[]" brackets. */
    var links = new Array();
      links[0]="WDVL";
      links[1]="PHPBuilder";
      links[2]="Web Reference";
      links[3]="JavaScript Forum";
  
    /* Enter the link URL below. Each entry must have
       a unique number in the "[]" brackets which matches
       the entry above. */
    var linkURL = new Array();
      linkURL[0]="http://www.wdvl.com";
      linkURL[1]="http://www.phpbuilder.com";
      linkURL[2]="http://www.webreference.com";
      linkURL[3]="http://www.webdeveloper.com/forum/forumdisplay.php?f=3";
  
    for (i=0; i"+links[i].link(linkURL[i])+"");
    }
  }

Paste this in the head:

  <script type="text/javascript" src="linkArray.js"></script>

Paste this in the body:

  <script type="text/javascript">linkDisplay();</script>