<!-- Paste this code into an external JavaScript file named: GalArray.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 galDisplay() {
  /* Enter the link name below. Each entry must have
     a unique number in the "[]" brackets. */
  var links = new Array();
    links[0]="MGTF";
    links[1]="Morgan";
    links[2]="TR6 For Sale";
    links[3]="XJS For Sale";
    links[4]="1974 TR6";
    links[5]="AH 100/6";
    links[6]="61 TR3";

  /* Enter the link URL below. Each entry must have
     a unique number in the "[]" brackets which matches
     the entry above. */
  var galURL = new Array();
    galURL[0]="http://www.charlestonimportauto.com/images/aldenderfer_mgtf/aldenderfer_mgtf.html";
    galURL[1]="http://www.charlestonimportauto.com/images/beech_morgan/beech_morgan.htm";
    galURL[2]="http://www.charlestonimportauto.com/images/beech_tr6/beech_tr6.htm";
    galURL[3]="http://www.charlestonimportauto.com/images/beech_xjs/beech_xjs.htm";
    galURL[4]="http://www.charlestonimportauto.com/images/coleman_tr6/coleman_tr6.htm";
    galURL[5]="http://www.charlestonimportauto.com/images/dunlavey_ah/dunlavey_ah.htm";
    galURL[6]="http://www.charlestonimportauto.com/images/sabourin_tr3/sabourin_tr3.htm";

  for (i=0; i<links.length; i++) {
    document.write("<li>"+links[i].link(galURL[i])+"</li>");
  }
}


