// Product Class for use with Abbey Mobility web site

function Product()
{
  this.spec = new Array(12);
  this.description;
  this.pictureURL;
}


function setInfo (alignment, picURL, specOne, specTwo, specThree, specFour, specFive, specSix, specSeven, specEight, specNine, specTen, specEleven, specTwelve)
{
  var leftSpace = "";
  var rightSpace = "";

  if (alignment == "left") leftSpace = "&nbsp;"
  if (alignment == "right") rightSpace = "&nbsp;";

  this.spec[0] = leftSpace + specOne + rightSpace;
  this.spec[1] = leftSpace + specTwo + rightSpace;
  this.spec[2] = leftSpace + specThree + rightSpace;
  this.spec[3] = leftSpace + specFour + rightSpace;
  this.spec[4] = leftSpace + specFive + rightSpace;
  this.spec[5] = leftSpace + specSix + rightSpace;
  this.spec[6] = leftSpace + specSeven + rightSpace;
  this.spec[7] = leftSpace + specEight + rightSpace;
  this.spec[8] = leftSpace + specNine + rightSpace;
  this.spec[9] = leftSpace + specTen + rightSpace;
  this.spec[10] = leftSpace + specEleven + rightSpace;
  this.spec[11] = leftSpace + specTwelve + rightSpace;

  this.pictureURL = picURL;
}

Product.prototype.setInfo = setInfo;

// End of Scooter Class
