
var surfacePick ="o";
var formatPick ="o";
var sizePick = "o";
var fullSelection = "o";
function setOptions(chosen) {
var selbox = document.myform.opttwo;
selbox.options.length = 0;
if (chosen == " ") {
selbox.options[selbox.options.length] = new Option('Please select one of the options above first',' ');
}

if (chosen == "999") {
selbox.options[selbox.options.length] = new Option('Screen Format',' ');
setOptionsTwo("99");
}
if (chosen == "Glass Beaded") {
selbox.options[selbox.options.length] = new Option('Screen Format','99');
selbox.options[selbox.options.length] = new Option('AV','AV');
}

if (chosen == "Matt White") {
selbox.options[selbox.options.length] = new Option('Screen Format','99');
selbox.options[selbox.options.length] = new Option('AV','AV');
}

if (chosen == "High Contrast Grey") {
selbox.options[selbox.options.length] = new Option('Screen Format','99');
selbox.options[selbox.options.length] = new Option('AV','AV');
}

surfacePick = chosen;
}
function setOptionsTwo(chosen) {
var selbox = document.myform.optthree;
selbox.options.length = 0;
if (chosen == " ") {
selbox.options[selbox.options.length] = new Option('Please select one of the options above first',' ');
}
if (chosen == "99") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
}
if (chosen == "AV" && surfacePick == "Glass Beaded") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('50 inch x 50 inch','50 inch x 50 inch');
selbox.options[selbox.options.length] = new Option('60 inch x 60 inch','60 inch x 60 inch');
selbox.options[selbox.options.length] = new Option('70 inch x 70 inch','70 inch x 70 inch');
selbox.options[selbox.options.length] = new Option('84 inch x 84 inch','84 inch x 84 inch');
selbox.options[selbox.options.length] = new Option('72 inch x 96 inch','72 inch x 96 inch');
selbox.options[selbox.options.length] = new Option('96 inch x 96 inch','96 inch x 96 inch');
selbox.options[selbox.options.length] = new Option('9 ft x 9 ft','9 ft x 9 ft');
selbox.options[selbox.options.length] = new Option('7 ft x 9 ft','7 ft x 9 ft');
selbox.options[selbox.options.length] = new Option('10 ft x 10 ft','10 ft x 10 ft');
selbox.options[selbox.options.length] = new Option('8 ft x 10 ft','8 ft x 10 ft');
selbox.options[selbox.options.length] = new Option('9 ft x 12 ft','9 ft x 12 ft');
selbox.options[selbox.options.length] = new Option('12 ft x 12 ft','12 ft x 12 ft');
}


if (chosen == "AV" && surfacePick == "Matt White") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('50 inch x 50 inch','50 inch x 50 inch');
selbox.options[selbox.options.length] = new Option('60 inch x 60 inch','60 inch x 60 inch');
selbox.options[selbox.options.length] = new Option('70 inch x 70 inch','70 inch x 70 inch');
selbox.options[selbox.options.length] = new Option('84 inch x 84 inch','84 inch x 84 inch');
selbox.options[selbox.options.length] = new Option('72 inch x 96 inch','72 inch x 96 inch');
selbox.options[selbox.options.length] = new Option('96 inch x 96 inch','96 inch x 96 inch');
selbox.options[selbox.options.length] = new Option('9 ft x 9 ft','9 ft x 9 ft');
selbox.options[selbox.options.length] = new Option('7 ft x 9 ft','7 ft x 9 ft');
selbox.options[selbox.options.length] = new Option('10 ft x 10 ft','10 ft x 10 ft');
selbox.options[selbox.options.length] = new Option('8 ft x 10 ft','8 ft x 10 ft');
selbox.options[selbox.options.length] = new Option('12 ft x 12 ft','12 ft x 12 ft');
selbox.options[selbox.options.length] = new Option('9 ft x 12 ft','9 ft x 12 ft');
}


if (chosen == "AV" && surfacePick == "High Contrast Grey") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('50 inch x 50 inch','50 inch x 50 inch');
selbox.options[selbox.options.length] = new Option('60 inch x 60 inch','60 inch x 60 inch');
selbox.options[selbox.options.length] = new Option('70 inch x 70 inch','70 inch x 70 inch');
selbox.options[selbox.options.length] = new Option('84 inch x 84 inch','84 inch x 84 inch');
selbox.options[selbox.options.length] = new Option('72 inch x 96 inch','72 inch x 96 inch');
selbox.options[selbox.options.length] = new Option('96 inch x 96 inch','96 inch x 96 inch');
selbox.options[selbox.options.length] = new Option('7 ft x 9 ft','7 ft x 9 ft');
selbox.options[selbox.options.length] = new Option('8 ft x 10 ft','8 ft x 10 ft');
}


 formatPick = chosen; 
}
function storeSize(chosen) {
sizePick= chosen;
}

function ChooseProd() {
var Products = new Array(32)

Products["Glass Beaded"+"AV"+"50 inch x 50 inch"] = "113013";
Products["Matt White"+"AV"+"50 inch x 50 inch"] = "113001";
Products["High Contrast Grey"+"AV"+"50 inch x 50 inch"] = "113028";
Products["Glass Beaded"+"AV"+"60 inch x 60 inch"] = "113014";
Products["Matt White"+"AV"+"60 inch x 60 inch"] = "113002";
Products["High Contrast Grey"+"AV"+"60 inch x 60 inch"] = "113029";
Products["Matt White"+"AV"+"70 inch x 70 inch"] = "113003";
Products["High Contrast Grey"+"AV"+"70 inch x 70 inch"] = "113030";
Products["Glass Beaded"+"AV"+"70 inch x 70 inch"] = "113015";
Products["High Contrast Grey"+"AV"+"84 inch x 84 inch"] = "113031";
Products["Matt White"+"AV"+"84 inch x 84 inch"] = "113004";
Products["Glass Beaded"+"AV"+"84 inch x 84 inch"] = "113016";
Products["Matt White"+"AV"+"72 inch x 96 inch"] = "113005";
Products["High Contrast Grey"+"AV"+"72 inch x 96 inch"] = "113032";
Products["Glass Beaded"+"AV"+"72 inch x 96 inch"] = "113017";
Products["Glass Beaded"+"AV"+"96 inch x 96 inch"] = "113018";
Products["Matt White"+"AV"+"96 inch x 96 inch"] = "113006";
Products["High Contrast Grey"+"AV"+"96 inch x 96 inch"] = "113033";
Products["Glass Beaded"+"AV"+"9 ft x 9 ft"] = "113020";
Products["Matt White"+"AV"+"9 ft x 9 ft"] = "113008";
Products["Matt White"+"AV"+"7 ft x 9 ft"] = "113007";
Products["Glass Beaded"+"AV"+"7 ft x 9 ft"] = "113019";
Products["High Contrast Grey"+"AV"+"7 ft x 9 ft"] = "113034";
Products["Matt White"+"AV"+"10 ft x 10 ft"] = "113010";
Products["Matt White"+"AV"+"8 ft x 10 ft"] = "113009";
Products["Glass Beaded"+"AV"+"10 ft x 10 ft"] = "113022";
Products["High Contrast Grey"+"AV"+"8 ft x 10 ft"] = "113035";
Products["Glass Beaded"+"AV"+"8 ft x 10 ft"] = "113021";
Products["Glass Beaded"+"AV"+"9 ft x 12 ft"] = "113023";
Products["Glass Beaded"+"AV"+"12 ft x 12 ft"] = "113024";
Products["Matt White"+"AV"+"12 ft x 12 ft"] = "113012";
Products["Matt White"+"AV"+"9 ft x 12 ft"] = "113011";

var Desc = new Array(32)

Desc["Glass Beaded"+"AV"+"50 inch x 50 inch"] = "Draper Glass Beaded AV 50 inch x 50 inch screen :Ambassador, 50 inch x 50 inch, AV, Glass Beaded, 110 V";
Desc["Matt White"+"AV"+"50 inch x 50 inch"] = "Draper Matt White AV 50 inch x 50 inch screen :Ambassador, 50 inch x 50 inch, AV, Matt White, 110 V";
Desc["High Contrast Grey"+"AV"+"50 inch x 50 inch"] = "Draper High Contrast Grey AV 50 inch x 50 inch screen :Ambassador, 50 inch x 50 inch, AV, High Contrast Grey, 110 V";
Desc["Glass Beaded"+"AV"+"60 inch x 60 inch"] = "Draper Glass Beaded AV 60 inch x 60 inch screen :Ambassador, 60 inch x 60 inch, AV, Glass Beaded, 110 V";
Desc["Matt White"+"AV"+"60 inch x 60 inch"] = "Draper Matt White AV 60 inch x 60 inch screen :Ambassador, 60 inch x 60 inch, AV, Matt White, 110 V";
Desc["High Contrast Grey"+"AV"+"60 inch x 60 inch"] = "Draper High Contrast Grey AV 60 inch x 60 inch screen :Ambassador, 60 inch x 60 inch, AV, High Contrast Grey, 110 V";
Desc["Matt White"+"AV"+"70 inch x 70 inch"] = "Draper Matt White AV 70 inch x 70 inch screen :Ambassador, 70 inch x 70 inch, AV, Matt White, 110 V";
Desc["High Contrast Grey"+"AV"+"70 inch x 70 inch"] = "Draper High Contrast Grey AV 70 inch x 70 inch screen :Ambassador, 70 inch x 70 inch, AV, High Contrast Grey, 110 V";
Desc["Glass Beaded"+"AV"+"70 inch x 70 inch"] = "Draper Glass Beaded AV 70 inch x 70 inch screen :Ambassador, 70 inch x 70 inch, AV, Glass Beaded, 110 V";
Desc["High Contrast Grey"+"AV"+"84 inch x 84 inch"] = "Draper High Contrast Grey AV 84 inch x 84 inch screen :Ambassador, 84 inch x 84 inch, AV, High Contrast Grey, 110 V";
Desc["Matt White"+"AV"+"84 inch x 84 inch"] = "Draper Matt White AV 84 inch x 84 inch screen :Ambassador, 84 inch x 84 inch, AV, Matt White, 110 V";
Desc["Glass Beaded"+"AV"+"84 inch x 84 inch"] = "Draper Glass Beaded AV 84 inch x 84 inch screen :Ambassador, 84 inch x 84 inch, AV, Glass Beaded, 110 V";
Desc["Matt White"+"AV"+"72 inch x 96 inch"] = "Draper Matt White AV 72 inch x 96 inch screen :Ambassador, 72 inch x 96 inch, AV, Matt White, 110 V";
Desc["High Contrast Grey"+"AV"+"72 inch x 96 inch"] = "Draper High Contrast Grey AV 72 inch x 96 inch screen :Ambassador, 72 inch x 96 inch, AV, High Contrast Grey, 110 V";
Desc["Glass Beaded"+"AV"+"72 inch x 96 inch"] = "Draper Glass Beaded AV 72 inch x 96 inch screen :Ambassador, 72 inch x 96 inch, AV, Glass Beaded, 110 V";
Desc["Glass Beaded"+"AV"+"96 inch x 96 inch"] = "Draper Glass Beaded AV 96 inch x 96 inch screen :Ambassador, 96 inch x 96 inch, AV, Glass Beaded, 110 V";
Desc["Matt White"+"AV"+"96 inch x 96 inch"] = "Draper Matt White AV 96 inch x 96 inch screen :Ambassador, 96 inch x 96 inch, AV, Matt White, 110 V";
Desc["High Contrast Grey"+"AV"+"96 inch x 96 inch"] = "Draper High Contrast Grey AV 96 inch x 96 inch screen :Ambassador, 96 inch x 96 inch, AV, High Contrast Grey, 110 V";
Desc["Glass Beaded"+"AV"+"9 ft x 9 ft"] = "Draper Glass Beaded AV 9 ft x 9 ft screen :Ambassador, 9' x 9', AV, Glass Beaded, 110 V";
Desc["Matt White"+"AV"+"9 ft x 9 ft"] = "Draper Matt White AV 9 ft x 9 ft screen :Ambassador, 9' x 9', AV, Matt White, 110 V";
Desc["Matt White"+"AV"+"7 ft x 9 ft"] = "Draper Matt White AV 7 ft x 9 ft screen :Ambassador, 7' x 9', AV, Matt White, 110 V";
Desc["Glass Beaded"+"AV"+"7 ft x 9 ft"] = "Draper Glass Beaded AV 7 ft x 9 ft screen :Ambassador, 7' x 9', AV, Glass Beaded, 110 V";
Desc["High Contrast Grey"+"AV"+"7 ft x 9 ft"] = "Draper High Contrast Grey AV 7 ft x 9 ft screen :Ambassador, 7' x 9', AV, High Contrast Grey, 110 V";
Desc["Matt White"+"AV"+"10 ft x 10 ft"] = "Draper Matt White AV 10 ft x 10 ft screen :Ambassador, 10' x 10', AV, Matt White, 110 V";
Desc["Matt White"+"AV"+"8 ft x 10 ft"] = "Draper Matt White AV 8 ft x 10 ft screen :Ambassador, 8' x 10', AV, Matt White, 110 V";
Desc["Glass Beaded"+"AV"+"10 ft x 10 ft"] = "Draper Glass Beaded AV 10 ft x 10 ft screen :Ambassador, 10' x 10', AV, Glass Beaded, 110 V";
Desc["High Contrast Grey"+"AV"+"8 ft x 10 ft"] = "Draper High Contrast Grey AV 8 ft x 10 ft screen :Ambassador, 8' x 10', AV, High Contrast Grey, 110 V";
Desc["Glass Beaded"+"AV"+"8 ft x 10 ft"] = "Draper Glass Beaded AV 8 ft x 10 ft screen :Ambassador, 8' x 10', AV, Glass Beaded, 110 V";
Desc["Glass Beaded"+"AV"+"9 ft x 12 ft"] = "Draper Glass Beaded AV 9 ft x 12 ft screen :Ambassador, 9' x 12', AV, Glass Beaded, 110 V";
Desc["Glass Beaded"+"AV"+"12 ft x 12 ft"] = "Draper Glass Beaded AV 12 ft x 12 ft screen :Ambassador, 12' x 12', AV, Glass Beaded, 110 V";
Desc["Matt White"+"AV"+"12 ft x 12 ft"] = "Draper Matt White AV 12 ft x 12 ft screen :Ambassador, 12' x 12', AV, Matt White, 110 V";
Desc["Matt White"+"AV"+"9 ft x 12 ft"] = "Draper Matt White AV 9 ft x 12 ft screen :Ambassador, 9' x 12', AV, Matt White, 110 V";

var Cost = new Array(32)

Cost["Glass Beaded"+"AV"+"50 inch x 50 inch"] = 1619.2;
Cost["Matt White"+"AV"+"50 inch x 50 inch"] = 1619.2;
Cost["High Contrast Grey"+"AV"+"50 inch x 50 inch"] = 1619.2;
Cost["Glass Beaded"+"AV"+"60 inch x 60 inch"] = 1660.2;
Cost["Matt White"+"AV"+"60 inch x 60 inch"] = 1660.2;
Cost["High Contrast Grey"+"AV"+"60 inch x 60 inch"] = 1660.2;
Cost["Matt White"+"AV"+"70 inch x 70 inch"] = 1686.9;
Cost["High Contrast Grey"+"AV"+"70 inch x 70 inch"] = 1686.9;
Cost["Glass Beaded"+"AV"+"70 inch x 70 inch"] = 1686.9;
Cost["High Contrast Grey"+"AV"+"84 inch x 84 inch"] = 1759.3;
Cost["Matt White"+"AV"+"84 inch x 84 inch"] = 1759.3;
Cost["Glass Beaded"+"AV"+"84 inch x 84 inch"] = 1759.3;
Cost["Matt White"+"AV"+"72 inch x 96 inch"] = 1789.3;
Cost["High Contrast Grey"+"AV"+"72 inch x 96 inch"] = 1789.3;
Cost["Glass Beaded"+"AV"+"72 inch x 96 inch"] = 1789.3;
Cost["Glass Beaded"+"AV"+"96 inch x 96 inch"] = 1852.1;
Cost["Matt White"+"AV"+"96 inch x 96 inch"] = 1852.1;
Cost["High Contrast Grey"+"AV"+"96 inch x 96 inch"] = 1852.1;
Cost["Glass Beaded"+"AV"+"9 ft x 9 ft"] = 1947.6;
Cost["Matt White"+"AV"+"9 ft x 9 ft"] = 1947.6;
Cost["Matt White"+"AV"+"7 ft x 9 ft"] = 1923.4;
Cost["Glass Beaded"+"AV"+"7 ft x 9 ft"] = 1923.4;
Cost["High Contrast Grey"+"AV"+"7 ft x 9 ft"] = 1923.4;
Cost["Matt White"+"AV"+"10 ft x 10 ft"] = 2040.5;
Cost["Matt White"+"AV"+"8 ft x 10 ft"] = 2004.2;
Cost["Glass Beaded"+"AV"+"10 ft x 10 ft"] = 2040.5;
Cost["High Contrast Grey"+"AV"+"8 ft x 10 ft"] = 2004.2;
Cost["Glass Beaded"+"AV"+"8 ft x 10 ft"] = 2004.2;
Cost["Glass Beaded"+"AV"+"9 ft x 12 ft"] = 2071.9;
Cost["Glass Beaded"+"AV"+"12 ft x 12 ft"] = 2335.9;
Cost["Matt White"+"AV"+"12 ft x 12 ft"] = 2335.9;
Cost["Matt White"+"AV"+"9 ft x 12 ft"] = 2071.9;

document.all.unitInfo.innerHTML = surfacePick + " " + formatPick+ " " + sizePick
document.all.cost.innerHTML = "Our Price $" + Cost[surfacePick+formatPick+sizePick] +" Including Free Shipping <br><br>" 
document.Prod.PartNo.value = Products[surfacePick+formatPick+sizePick];
document.Prod.Item.value = Desc[surfacePick+formatPick+sizePick];
document.Prod.Price.value = Cost[surfacePick+formatPick+sizePick];
document.all.button.innerHTML = '<input type="submit" value="ADD TO CART" class="btn">'
}
function resetCost() {
document.all.unitInfo.innerHTML = ""
document.all.cost.innerHTML = "Select a Material, Format and Screen Size below<br><br> "
document.all.button.innerHTML = '<input disabled type="submit" value="ADD TO CART" class="btn">'
}


