

// constructors for color object and order line
function colorObject (idx, name, price2, price8, price1, price5, price10, price25, price50, price110) {
this.idx = idx;
this.colorName = name;
this.prices = new Array;
this.prices[0] = price2;
this.prices[1] = price8;
this.prices[2] = price1;
this.prices[3] = price5;
this.prices[4] = price10;
this.prices[5] = price25;
this.prices[6] = price50;
this.prices[7] = price110;

}

function orderLine (idx, title, price, quant, size, linenum) {
this.idx = idx;
this.title = title;
this.price = price;
this.quant = quant;
this.size = size;
this.linetotal = this.quant * this.price;
this.linenum = linenum;
}

