
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('HDTV','HDTV');
selbox.options[selbox.options.length] = new Option('NTSC','NTSC');
selbox.options[selbox.options.length] = new Option('WideScreen','WideScreen');
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('HDTV','HDTV');
selbox.options[selbox.options.length] = new Option('NTSC','NTSC');
selbox.options[selbox.options.length] = new Option('WideScreen','WideScreen');
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('HDTV','HDTV');
selbox.options[selbox.options.length] = new Option('NTSC','NTSC');
selbox.options[selbox.options.length] = new Option('WideScreen','WideScreen');
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');
}


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');
}


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');
}


if (chosen == "NTSC" && surfacePick == "Glass Beaded") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('6 ft','6 ft');
selbox.options[selbox.options.length] = new Option('7 ft','7 ft');
selbox.options[selbox.options.length] = new Option('100 inch','100 inch');
selbox.options[selbox.options.length] = new Option('10 ft','10 ft');
}


if (chosen == "NTSC" && surfacePick == "High Contrast Grey") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('6 ft','6 ft');
selbox.options[selbox.options.length] = new Option('7 ft','7 ft');
selbox.options[selbox.options.length] = new Option('100 inch','100 inch');
selbox.options[selbox.options.length] = new Option('10 ft','10 ft');
}


if (chosen == "NTSC" && surfacePick == "Matt White") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('6 ft','6 ft');
selbox.options[selbox.options.length] = new Option('7 ft','7 ft');
selbox.options[selbox.options.length] = new Option('100 inch','100 inch');
selbox.options[selbox.options.length] = new Option('10 ft','10 ft');
}


if (chosen == "WideScreen" && surfacePick == "Glass Beaded") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('99 inch','99 inch');
selbox.options[selbox.options.length] = new Option('108 inch','108 inch');
}


if (chosen == "WideScreen" && surfacePick == "High Contrast Grey") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('99 inch','99 inch');
selbox.options[selbox.options.length] = new Option('108 inch','108 inch');
}


if (chosen == "WideScreen" && surfacePick == "Matt White") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('99 inch','99 inch');
selbox.options[selbox.options.length] = new Option('108 inch','108 inch');
}


if (chosen == "HDTV" && surfacePick == "Glass Beaded") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('92 inch','92 inch');
selbox.options[selbox.options.length] = new Option('106 inch','106 inch');
}


if (chosen == "HDTV" && surfacePick == "High Contrast Grey") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('92 inch','92 inch');
selbox.options[selbox.options.length] = new Option('106 inch','106 inch');
}


if (chosen == "HDTV" && surfacePick == "Matt White") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('92 inch','92 inch');
selbox.options[selbox.options.length] = new Option('106 inch','106 inch');
}


 formatPick = chosen; 
}
function storeSize(chosen) {
sizePick= chosen;
}

function ChooseProd() {
var Products = new Array(42)

Products["Glass Beaded"+"AV"+"50 inch x 50 inch"] = "205015";
Products["High Contrast Grey"+"AV"+"50 inch x 50 inch"] = "205042";
Products["Matt White"+"AV"+"50 inch x 50 inch"] = "205001";
Products["High Contrast Grey"+"AV"+"60 inch x 60 inch"] = "205043";
Products["Matt White"+"NTSC"+"6 ft"] = "205007";
Products["Glass Beaded"+"AV"+"60 inch x 60 inch"] = "205016";
Products["Glass Beaded"+"NTSC"+"6 ft"] = "205021";
Products["Matt White"+"AV"+"60 inch x 60 inch"] = "205002";
Products["High Contrast Grey"+"NTSC"+"6 ft"] = "205048";
Products["Matt White"+"NTSC"+"7 ft"] = "205008";
Products["High Contrast Grey"+"NTSC"+"7 ft"] = "205049";
Products["Glass Beaded"+"NTSC"+"7 ft"] = "205022";
Products["High Contrast Grey"+"WideScreen"+"99 inch"] = "205054";
Products["High Contrast Grey"+"HDTV"+"92 inch"] = "205060";
Products["Glass Beaded"+"HDTV"+"92 inch"] = "205058";
Products["Matt White"+"HDTV"+"92 inch"] = "205056";
Products["Glass Beaded"+"WideScreen"+"99 inch"] = "205027";
Products["Matt White"+"WideScreen"+"99 inch"] = "205013";
Products["High Contrast Grey"+"AV"+"70 inch x 70 inch"] = "205044";
Products["Glass Beaded"+"AV"+"70 inch x 70 inch"] = "205017";
Products["Matt White"+"AV"+"70 inch x 70 inch"] = "205003";
Products["High Contrast Grey"+"NTSC"+"100 inch"] = "205050";
Products["Matt White"+"NTSC"+"100 inch"] = "205009";
Products["Glass Beaded"+"NTSC"+"100 inch"] = "205023";
Products["High Contrast Grey"+"AV"+"84 inch x 84 inch"] = "205045";
Products["Glass Beaded"+"AV"+"84 inch x 84 inch"] = "205018";
Products["Matt White"+"AV"+"84 inch x 84 inch"] = "205004";
Products["Matt White"+"AV"+"72 inch x 96 inch"] = "205005";
Products["Glass Beaded"+"AV"+"72 inch x 96 inch"] = "205019";
Products["Glass Beaded"+"WideScreen"+"108 inch"] = "205028";
Products["Matt White"+"WideScreen"+"108 inch"] = "205014";
Products["High Contrast Grey"+"AV"+"72 inch x 96 inch"] = "205046";
Products["High Contrast Grey"+"WideScreen"+"108 inch"] = "205055";
Products["Matt White"+"HDTV"+"106 inch"] = "205057";
Products["Glass Beaded"+"HDTV"+"106 inch"] = "205059";
Products["High Contrast Grey"+"HDTV"+"106 inch"] = "205061";
Products["High Contrast Grey"+"AV"+"96 inch x 96 inch"] = "205047";
Products["Glass Beaded"+"AV"+"96 inch x 96 inch"] = "205020";
Products["Matt White"+"NTSC"+"10 ft"] = "205010";
Products["Matt White"+"AV"+"96 inch x 96 inch"] = "205006";
Products["High Contrast Grey"+"NTSC"+"10 ft"] = "205051";
Products["Glass Beaded"+"NTSC"+"10 ft"] = "205024";

var Desc = new Array(42)

Desc["Glass Beaded"+"AV"+"50 inch x 50 inch"] = "Draper Glass Beaded AV 50 inch x 50 inch screen :Apex, 50 inch x 50 inch, AV, Glass Beaded";
Desc["High Contrast Grey"+"AV"+"50 inch x 50 inch"] = "Draper High Contrast Grey AV 50 inch x 50 inch screen :Apex, 50 inch x 50 inch, AV, High Contrast Grey";
Desc["Matt White"+"AV"+"50 inch x 50 inch"] = "Draper Matt White AV 50 inch x 50 inch screen :Apex, 50 inch x 50 inch, AV, Matt White";
Desc["High Contrast Grey"+"AV"+"60 inch x 60 inch"] = "Draper High Contrast Grey AV 60 inch x 60 inch screen :Apex, 60 inch x 60 inch, AV, High Contrast Grey";
Desc["Matt White"+"NTSC"+"6 ft"] = "Draper Matt White NTSC 6 ft screen :Apex, 6', NTSC, Matt White";
Desc["Glass Beaded"+"AV"+"60 inch x 60 inch"] = "Draper Glass Beaded AV 60 inch x 60 inch screen :Apex, 60 inch x 60 inch, AV, Glass Beaded";
Desc["Glass Beaded"+"NTSC"+"6 ft"] = "Draper Glass Beaded NTSC 6 ft screen :Apex, 6', NTSC, Glass Beaded";
Desc["Matt White"+"AV"+"60 inch x 60 inch"] = "Draper Matt White AV 60 inch x 60 inch screen :Apex, 60 inch x 60 inch, AV, Matt White";
Desc["High Contrast Grey"+"NTSC"+"6 ft"] = "Draper High Contrast Grey NTSC 6 ft screen :Apex, 6', NTSC, High Contrast Grey";
Desc["Matt White"+"NTSC"+"7 ft"] = "Draper Matt White NTSC 7 ft screen :Apex, 7', NTSC, Matt White";
Desc["High Contrast Grey"+"NTSC"+"7 ft"] = "Draper High Contrast Grey NTSC 7 ft screen :Apex, 7', NTSC, High Contrast Grey";
Desc["Glass Beaded"+"NTSC"+"7 ft"] = "Draper Glass Beaded NTSC 7 ft screen :Apex, 7', NTSC, Glass Beaded";
Desc["High Contrast Grey"+"WideScreen"+"99 inch"] = "Draper High Contrast Grey WideScreen 99 inch screen :Apex, 99 inch, WideScreen, High Contrast Grey";
Desc["High Contrast Grey"+"HDTV"+"92 inch"] = "Draper High Contrast Grey HDTV 92 inch screen :Apex, 92 inch, HDTV, High Contrast Grey";
Desc["Glass Beaded"+"HDTV"+"92 inch"] = "Draper Glass Beaded HDTV 92 inch screen :Apex, 92 inch, HDTV, Glass Beaded";
Desc["Matt White"+"HDTV"+"92 inch"] = "Draper Matt White HDTV 92 inch screen :Apex, 92 inch, HDTV, Matt White";
Desc["Glass Beaded"+"WideScreen"+"99 inch"] = "Draper Glass Beaded WideScreen 99 inch screen :Apex, 99 inch, WideScreen, Glass Beaded";
Desc["Matt White"+"WideScreen"+"99 inch"] = "Draper Matt White WideScreen 99 inch screen :Apex, 99 inch, WideScreen, Matt White";
Desc["High Contrast Grey"+"AV"+"70 inch x 70 inch"] = "Draper High Contrast Grey AV 70 inch x 70 inch screen :Apex, 70 inch x 70 inch, AV, High Contrast Grey";
Desc["Glass Beaded"+"AV"+"70 inch x 70 inch"] = "Draper Glass Beaded AV 70 inch x 70 inch screen :Apex, 70 inch x 70 inch, AV, Glass Beaded";
Desc["Matt White"+"AV"+"70 inch x 70 inch"] = "Draper Matt White AV 70 inch x 70 inch screen :Apex, 70 inch x 70 inch, AV, Matt White";
Desc["High Contrast Grey"+"NTSC"+"100 inch"] = "Draper High Contrast Grey NTSC 100 inch screen :Apex, 100 inch, NTSC, High Contrast Grey";
Desc["Matt White"+"NTSC"+"100 inch"] = "Draper Matt White NTSC 100 inch screen :Apex, 100 inch, NTSC, Matt White";
Desc["Glass Beaded"+"NTSC"+"100 inch"] = "Draper Glass Beaded NTSC 100 inch screen :Apex, 100 inch, NTSC, Glass Beaded";
Desc["High Contrast Grey"+"AV"+"84 inch x 84 inch"] = "Draper High Contrast Grey AV 84 inch x 84 inch screen :Apex, 84 inch x 84 inch, AV, High Contrast Grey";
Desc["Glass Beaded"+"AV"+"84 inch x 84 inch"] = "Draper Glass Beaded AV 84 inch x 84 inch screen :Apex, 84 inch x 84 inch, AV, Glass Beaded";
Desc["Matt White"+"AV"+"84 inch x 84 inch"] = "Draper Matt White AV 84 inch x 84 inch screen :Apex, 84 inch x 84 inch, AV, Matt White";
Desc["Matt White"+"AV"+"72 inch x 96 inch"] = "Draper Matt White AV 72 inch x 96 inch screen :Apex, 72 inch x 96 inch, AV, Matt White";
Desc["Glass Beaded"+"AV"+"72 inch x 96 inch"] = "Draper Glass Beaded AV 72 inch x 96 inch screen :Apex, 72 inch x 96 inch, AV, Glass Beaded";
Desc["Glass Beaded"+"WideScreen"+"108 inch"] = "Draper Glass Beaded WideScreen 108 inch screen :Apex, 108 inch, WideScreen, Glass Beaded";
Desc["Matt White"+"WideScreen"+"108 inch"] = "Draper Matt White WideScreen 108 inch screen :Apex, 108 inch, WideScreen, Matt White";
Desc["High Contrast Grey"+"AV"+"72 inch x 96 inch"] = "Draper High Contrast Grey AV 72 inch x 96 inch screen :Apex, 72 inch x 96 inch, AV, High Contrast Grey";
Desc["High Contrast Grey"+"WideScreen"+"108 inch"] = "Draper High Contrast Grey WideScreen 108 inch screen :Apex, 108 inch, WideScreen, High Contrast Grey";
Desc["Matt White"+"HDTV"+"106 inch"] = "Draper Matt White HDTV 106 inch screen :Apex, 106 inch, HDTV, Matt White";
Desc["Glass Beaded"+"HDTV"+"106 inch"] = "Draper Glass Beaded HDTV 106 inch screen :Apex, 106 inch, HDTV, Glass Beaded";
Desc["High Contrast Grey"+"HDTV"+"106 inch"] = "Draper High Contrast Grey HDTV 106 inch screen :Apex, 106 inch, HDTV, High Contrast Grey";
Desc["High Contrast Grey"+"AV"+"96 inch x 96 inch"] = "Draper High Contrast Grey AV 96 inch x 96 inch screen :Apex, 96 inch x 96 inch, AV, High Contrast Grey";
Desc["Glass Beaded"+"AV"+"96 inch x 96 inch"] = "Draper Glass Beaded AV 96 inch x 96 inch screen :Apex, 96 inch x 96 inch, AV, Glass Beaded";
Desc["Matt White"+"NTSC"+"10 ft"] = "Draper Matt White NTSC 10 ft screen :Apex, 10', NTSC, Matt White";
Desc["Matt White"+"AV"+"96 inch x 96 inch"] = "Draper Matt White AV 96 inch x 96 inch screen :Apex, 96 inch x 96 inch, AV, Matt White";
Desc["High Contrast Grey"+"NTSC"+"10 ft"] = "Draper High Contrast Grey NTSC 10 ft screen :Apex, 10', NTSC, High Contrast Grey";
Desc["Glass Beaded"+"NTSC"+"10 ft"] = "Draper Glass Beaded NTSC 10 ft screen :Apex, 10', NTSC, Glass Beaded";

var Cost = new Array(42)

Cost["Glass Beaded"+"AV"+"50 inch x 50 inch"] = 563.5;
Cost["High Contrast Grey"+"AV"+"50 inch x 50 inch"] = 563.5;
Cost["Matt White"+"AV"+"50 inch x 50 inch"] = 554.7;
Cost["High Contrast Grey"+"AV"+"60 inch x 60 inch"] = 574.1;
Cost["Matt White"+"NTSC"+"6 ft"] = 565.3;
Cost["Glass Beaded"+"AV"+"60 inch x 60 inch"] = 574.1;
Cost["Glass Beaded"+"NTSC"+"6 ft"] = 574.1;
Cost["Matt White"+"AV"+"60 inch x 60 inch"] = 565.3;
Cost["High Contrast Grey"+"NTSC"+"6 ft"] = 574.1;
Cost["Matt White"+"NTSC"+"7 ft"] = 597.9;
Cost["High Contrast Grey"+"NTSC"+"7 ft"] = 606.7;
Cost["Glass Beaded"+"NTSC"+"7 ft"] = 606.7;
Cost["High Contrast Grey"+"WideScreen"+"99 inch"] = 666;
Cost["High Contrast Grey"+"HDTV"+"92 inch"] = 637.4;
Cost["Glass Beaded"+"HDTV"+"92 inch"] = 637.4;
Cost["Matt White"+"HDTV"+"92 inch"] = 627.5;
Cost["Glass Beaded"+"WideScreen"+"99 inch"] = 666;
Cost["Matt White"+"WideScreen"+"99 inch"] = 656.1;
Cost["High Contrast Grey"+"AV"+"70 inch x 70 inch"] = 610.8;
Cost["Glass Beaded"+"AV"+"70 inch x 70 inch"] = 610.8;
Cost["Matt White"+"AV"+"70 inch x 70 inch"] = 600.9;
Cost["High Contrast Grey"+"NTSC"+"100 inch"] = 646.9;
Cost["Matt White"+"NTSC"+"100 inch"] = 637;
Cost["Glass Beaded"+"NTSC"+"100 inch"] = 646.9;
Cost["High Contrast Grey"+"AV"+"84 inch x 84 inch"] = 647.9;
Cost["Glass Beaded"+"AV"+"84 inch x 84 inch"] = 647.9;
Cost["Matt White"+"AV"+"84 inch x 84 inch"] = 638;
Cost["Matt White"+"AV"+"72 inch x 96 inch"] = 695.8;
Cost["Glass Beaded"+"AV"+"72 inch x 96 inch"] = 705.7;
Cost["Glass Beaded"+"WideScreen"+"108 inch"] = 687;
Cost["Matt White"+"WideScreen"+"108 inch"] = 677.1;
Cost["High Contrast Grey"+"AV"+"72 inch x 96 inch"] = 705.7;
Cost["High Contrast Grey"+"WideScreen"+"108 inch"] = 687;
Cost["Matt White"+"HDTV"+"106 inch"] = 685.9;
Cost["Glass Beaded"+"HDTV"+"106 inch"] = 695.8;
Cost["High Contrast Grey"+"HDTV"+"106 inch"] = 695.8;
Cost["High Contrast Grey"+"AV"+"96 inch x 96 inch"] = 724.3;
Cost["Glass Beaded"+"AV"+"96 inch x 96 inch"] = 724.3;
Cost["Matt White"+"NTSC"+"10 ft"] = 696.8;
Cost["Matt White"+"AV"+"96 inch x 96 inch"] = 713.3;
Cost["High Contrast Grey"+"NTSC"+"10 ft"] = 706.7;
Cost["Glass Beaded"+"NTSC"+"10 ft"] = 706.7;

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">'
}



