<!-- Paste this code into an external JavaScript file named: linkArray.js  -->

/* This script and many more are available free online at
The JavaScript Source :: http://javascript.internet.com
Created by: Lee Underwood :: http://javascript.internet.com/ */

function linkDisplay() {
  /* Enter the link name below. Each entry must have
     a unique number in the "[]" brackets. */
  var links = new Array();
    links[0]="Home";
    links[1]="Service";
    links[2]="Parts";
    links[3]="Contact Us";
    links[4]="Gallery";
    links[5]="Tech";

  /* 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.charlestonimportauto.com";
    linkURL[1]="http://www.charlestonimportauto.com/service.html";
    linkURL[2]="http://www.charlestonimportauto.com/parts.html";
    linkURL[3]="http://www.charlestonimportauto.com/contactus.html";
    linkURL[4]="http://www.charlestonimportauto.com/images/index.php";
    linkURL[5]="http://www.charlestonimportauto.com/tech.html";

  for (i=0; i<links.length; i++) {
    document.write("<li>"+links[i].link(linkURL[i])+"</li>");
  }
}


