
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 == "AT1200") {
selbox.options[selbox.options.length] = new Option('Screen Format','99');
selbox.options[selbox.options.length] = new Option('CinemaScope','CinemaScope');
selbox.options[selbox.options.length] = new Option('HDTV','HDTV');
selbox.options[selbox.options.length] = new Option('NTSC','NTSC');
}

if (chosen == "M1300") {
selbox.options[selbox.options.length] = new Option('Screen Format','99');
selbox.options[selbox.options.length] = new Option('CinemaScope','CinemaScope');
selbox.options[selbox.options.length] = new Option('HDTV','HDTV');
selbox.options[selbox.options.length] = new Option('NTSC','NTSC');
}

if (chosen == "HiDef Grey") {
selbox.options[selbox.options.length] = new Option('Screen Format','99');
selbox.options[selbox.options.length] = new Option('CinemaScope','CinemaScope');
selbox.options[selbox.options.length] = new Option('HDTV','HDTV');
selbox.options[selbox.options.length] = new Option('NTSC','NTSC');
}

if (chosen == "AT Grey") {
selbox.options[selbox.options.length] = new Option('Screen Format','99');
selbox.options[selbox.options.length] = new Option('CinemaScope','CinemaScope');
selbox.options[selbox.options.length] = new Option('HDTV','HDTV');
selbox.options[selbox.options.length] = new Option('NTSC','NTSC');
}

if (chosen == "M2500") {
selbox.options[selbox.options.length] = new Option('Screen Format','99');
selbox.options[selbox.options.length] = new Option('CinemaScope','CinemaScope');
selbox.options[selbox.options.length] = new Option('HDTV','HDTV');
selbox.options[selbox.options.length] = new Option('NTSC','NTSC');
}

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 == "HDTV" && surfacePick == "AT1200") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('106 inch','106 inch');
selbox.options[selbox.options.length] = new Option('92 inch','92 inch');
selbox.options[selbox.options.length] = new Option('119 inch','119 inch');
}


if (chosen == "HDTV" && surfacePick == "M1300") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('106 inch','106 inch');
selbox.options[selbox.options.length] = new Option('92 inch','92 inch');
selbox.options[selbox.options.length] = new Option('119 inch','119 inch');
}


if (chosen == "HDTV" && surfacePick == "HiDef 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');
selbox.options[selbox.options.length] = new Option('119 inch','119 inch');
}


if (chosen == "HDTV" && surfacePick == "AT 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');
selbox.options[selbox.options.length] = new Option('119 inch','119 inch');
}


if (chosen == "HDTV" && surfacePick == "M2500") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
}


if (chosen == "CinemaScope" && surfacePick == "AT1200") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('115 inch','115 inch');
selbox.options[selbox.options.length] = new Option('132 inch','132 inch');
selbox.options[selbox.options.length] = new Option('148 inch','148 inch');
selbox.options[selbox.options.length] = new Option('166 inch','166 inch');
}


if (chosen == "CinemaScope" && surfacePick == "M1300") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('115 inch','115 inch');
selbox.options[selbox.options.length] = new Option('132 inch','132 inch');
selbox.options[selbox.options.length] = new Option('148 inch','148 inch');
selbox.options[selbox.options.length] = new Option('166 inch','166 inch');
}


if (chosen == "CinemaScope" && surfacePick == "HiDef Grey") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('115 inch','115 inch');
selbox.options[selbox.options.length] = new Option('132 inch','132 inch');
selbox.options[selbox.options.length] = new Option('148 inch','148 inch');
selbox.options[selbox.options.length] = new Option('166 inch','166 inch');
}


if (chosen == "CinemaScope" && surfacePick == "AT Grey") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('115 inch','115 inch');
selbox.options[selbox.options.length] = new Option('132 inch','132 inch');
selbox.options[selbox.options.length] = new Option('148 inch','148 inch');
selbox.options[selbox.options.length] = new Option('166 inch','166 inch');
}


if (chosen == "CinemaScope" && surfacePick == "M2500") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('115 inch','115 inch');
selbox.options[selbox.options.length] = new Option('132 inch','132 inch');
selbox.options[selbox.options.length] = new Option('148 inch','148 inch');
selbox.options[selbox.options.length] = new Option('166 inch','166 inch');
}


if (chosen == "NTSC" && surfacePick == "AT1200") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
}


if (chosen == "NTSC" && surfacePick == "M1300") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
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 == "HiDef Grey") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
}


if (chosen == "NTSC" && surfacePick == "AT Grey") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
}


if (chosen == "NTSC" && surfacePick == "M2500") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
}


 formatPick = chosen; 
}
function storeSize(chosen) {
sizePick= chosen;
}

function ChooseProd() {
var Products = new Array(35)

Products["AT1200"+"HDTV"+"106 inch"] = "252241";
Products["M1300"+"HDTV"+"106 inch"] = "252088";
Products["M1300"+"CinemaScope"+"115 inch"] = "252170";
Products["M1300"+"NTSC"+"7 ft"] = "252084";
Products["M1300"+"HDTV"+"92 inch"] = "252087";
Products["HiDef Grey"+"HDTV"+"92 inch"] = "252151";
Products["AT Grey"+"CinemaScope"+"115 inch"] = "252186";
Products["AT1200"+"CinemaScope"+"115 inch"] = "252182";
Products["M2500"+"CinemaScope"+"115 inch"] = "252174";
Products["HiDef Grey"+"CinemaScope"+"115 inch"] = "252178";
Products["M1300"+"NTSC"+"100 inch"] = "252085";
Products["AT Grey"+"HDTV"+"92 inch"] = "252240";
Products["AT1200"+"HDTV"+"92 inch"] = "252239";
Products["M1300"+"CinemaScope"+"132 inch"] = "252171";
Products["M2500"+"CinemaScope"+"132 inch"] = "252175";
Products["HiDef Grey"+"CinemaScope"+"132 inch"] = "252179";
Products["AT1200"+"CinemaScope"+"132 inch"] = "252183";
Products["AT Grey"+"HDTV"+"106 inch"] = "252242";
Products["HiDef Grey"+"HDTV"+"106 inch"] = "252152";
Products["AT Grey"+"CinemaScope"+"132 inch"] = "252187";
Products["HiDef Grey"+"CinemaScope"+"148 inch"] = "252180";
Products["M2500"+"CinemaScope"+"148 inch"] = "252176";
Products["M1300"+"CinemaScope"+"148 inch"] = "252172";
Products["HiDef Grey"+"HDTV"+"119 inch"] = "252153";
Products["M1300"+"HDTV"+"119 inch"] = "252137";
Products["M1300"+"NTSC"+"10 ft"] = "252086";
Products["AT Grey"+"CinemaScope"+"148 inch"] = "252188";
Products["AT1200"+"CinemaScope"+"148 inch"] = "252184";
Products["AT Grey"+"HDTV"+"119 inch"] = "252238";
Products["AT1200"+"HDTV"+"119 inch"] = "252243";
Products["M2500"+"CinemaScope"+"166 inch"] = "252177";
Products["HiDef Grey"+"CinemaScope"+"166 inch"] = "252181";
Products["M1300"+"CinemaScope"+"166 inch"] = "252173";
Products["AT1200"+"CinemaScope"+"166 inch"] = "252185";
Products["AT Grey"+"CinemaScope"+"166 inch"] = "252189";

var Desc = new Array(35)

Desc["AT1200"+"HDTV"+"106 inch"] = "Draper AT1200 HDTV 106 inch screen :Clarion with Veltex, 106 inch, HDTV, AT1200";
Desc["M1300"+"HDTV"+"106 inch"] = "Draper M1300 HDTV 106 inch screen :Clarion with Veltex, 106 inch, HDTV, M1300";
Desc["M1300"+"CinemaScope"+"115 inch"] = "Draper M1300 CinemaScope 115 inch screen :Clarion with Veltex, 115 inch, CinemaScope, M1300";
Desc["M1300"+"NTSC"+"7 ft"] = "Draper M1300 NTSC 7 ft screen :Clarion with Veltex, 7', NTSC, M1300";
Desc["M1300"+"HDTV"+"92 inch"] = "Draper M1300 HDTV 92 inch screen :Clarion with Veltex, 92 inch, HDTV, M1300";
Desc["HiDef Grey"+"HDTV"+"92 inch"] = "Draper HiDef Grey HDTV 92 inch screen :Clarion with Veltex, 92 inch, HDTV, HiDef Grey";
Desc["AT Grey"+"CinemaScope"+"115 inch"] = "Draper AT Grey CinemaScope 115 inch screen :Clarion with Veltex, 115 inch, CinemaScope, AT Grey";
Desc["AT1200"+"CinemaScope"+"115 inch"] = "Draper AT1200 CinemaScope 115 inch screen :Clarion with Veltex, 115 inch, CinemaScope, AT1200";
Desc["M2500"+"CinemaScope"+"115 inch"] = "Draper M2500 CinemaScope 115 inch screen :Clarion with Veltex, 115 inch, CinemaScope, M2500";
Desc["HiDef Grey"+"CinemaScope"+"115 inch"] = "Draper HiDef Grey CinemaScope 115 inch screen :Clarion with Veltex, 115 inch, CinemaScope, HiDef Grey";
Desc["M1300"+"NTSC"+"100 inch"] = "Draper M1300 NTSC 100 inch screen :Clarion with Veltex, 100 inch, NTSC, M1300";
Desc["AT Grey"+"HDTV"+"92 inch"] = "Draper AT Grey HDTV 92 inch screen :Clarion with Veltex, 92 inch, HDTV, AT Grey";
Desc["AT1200"+"HDTV"+"92 inch"] = "Draper AT1200 HDTV 92 inch screen :Clarion with Veltex, 92 inch, HDTV, AT1200";
Desc["M1300"+"CinemaScope"+"132 inch"] = "Draper M1300 CinemaScope 132 inch screen :Clarion with Veltex, 132 inch, CinemaScope, M1300";
Desc["M2500"+"CinemaScope"+"132 inch"] = "Draper M2500 CinemaScope 132 inch screen :Clarion with Veltex, 132 inch, CinemaScope, M2500";
Desc["HiDef Grey"+"CinemaScope"+"132 inch"] = "Draper HiDef Grey CinemaScope 132 inch screen :Clarion with Veltex, 132 inch, CinemaScope, HiDef Grey";
Desc["AT1200"+"CinemaScope"+"132 inch"] = "Draper AT1200 CinemaScope 132 inch screen :Clarion with Veltex, 132 inch, CinemaScope, AT1200";
Desc["AT Grey"+"HDTV"+"106 inch"] = "Draper AT Grey HDTV 106 inch screen :Clarion with Veltex, 106 inch, HDTV, AT Grey";
Desc["HiDef Grey"+"HDTV"+"106 inch"] = "Draper HiDef Grey HDTV 106 inch screen :Clarion with Veltex, 106 inch, HDTV, HiDef Grey";
Desc["AT Grey"+"CinemaScope"+"132 inch"] = "Draper AT Grey CinemaScope 132 inch screen :Clarion with Veltex, 132 inch, CinemaScope, AT Grey";
Desc["HiDef Grey"+"CinemaScope"+"148 inch"] = "Draper HiDef Grey CinemaScope 148 inch screen :Clarion with Veltex, 148 inch, CinemaScope, HiDef Grey";
Desc["M2500"+"CinemaScope"+"148 inch"] = "Draper M2500 CinemaScope 148 inch screen :Clarion with Veltex, 148 inch, CinemaScope, M2500";
Desc["M1300"+"CinemaScope"+"148 inch"] = "Draper M1300 CinemaScope 148 inch screen :Clarion with Veltex, 148 inch, CinemaScope, M1300";
Desc["HiDef Grey"+"HDTV"+"119 inch"] = "Draper HiDef Grey HDTV 119 inch screen :Clarion with Veltex, 119 inch, HDTV, HiDef Grey";
Desc["M1300"+"HDTV"+"119 inch"] = "Draper M1300 HDTV 119 inch screen :Clarion with Veltex, 119 inch, HDTV, M1300";
Desc["M1300"+"NTSC"+"10 ft"] = "Draper M1300 NTSC 10 ft screen :Clarion with Veltex, 10', NTSC, M1300";
Desc["AT Grey"+"CinemaScope"+"148 inch"] = "Draper AT Grey CinemaScope 148 inch screen :Clarion with Veltex, 148 inch, CinemaScope, AT Grey";
Desc["AT1200"+"CinemaScope"+"148 inch"] = "Draper AT1200 CinemaScope 148 inch screen :Clarion with Veltex, 148 inch, CinemaScope, AT1200";
Desc["AT Grey"+"HDTV"+"119 inch"] = "Draper AT Grey HDTV 119 inch screen :Clarion with Veltex, 119 inch, HDTV, AT Grey";
Desc["AT1200"+"HDTV"+"119 inch"] = "Draper AT1200 HDTV 119 inch screen :Clarion with Veltex, 119 inch, HDTV, AT1200";
Desc["M2500"+"CinemaScope"+"166 inch"] = "Draper M2500 CinemaScope 166 inch screen :Clarion with Veltex, 166 inch, CinemaScope, M2500";
Desc["HiDef Grey"+"CinemaScope"+"166 inch"] = "Draper HiDef Grey CinemaScope 166 inch screen :Clarion with Veltex, 166 inch, CinemaScope, HiDef Grey";
Desc["M1300"+"CinemaScope"+"166 inch"] = "Draper M1300 CinemaScope 166 inch screen :Clarion with Veltex, 166 inch, CinemaScope, M1300";
Desc["AT1200"+"CinemaScope"+"166 inch"] = "Draper AT1200 CinemaScope 166 inch screen :Clarion with Veltex, 166 inch, CinemaScope, AT1200";
Desc["AT Grey"+"CinemaScope"+"166 inch"] = "Draper AT Grey CinemaScope 166 inch screen :Clarion with Veltex, 166 inch, CinemaScope, AT Grey";

var Cost = new Array(35)

Cost["AT1200"+"HDTV"+"106 inch"] = 2183.8;
Cost["M1300"+"HDTV"+"106 inch"] = 932;
Cost["M1300"+"CinemaScope"+"115 inch"] = 1054;
Cost["M1300"+"NTSC"+"7 ft"] = 666;
Cost["M1300"+"HDTV"+"92 inch"] = 790;
Cost["HiDef Grey"+"HDTV"+"92 inch"] = 839.5;
Cost["AT Grey"+"CinemaScope"+"115 inch"] = 1909.4;
Cost["AT1200"+"CinemaScope"+"115 inch"] = 1909.4;
Cost["M2500"+"CinemaScope"+"115 inch"] = 1136;
Cost["HiDef Grey"+"CinemaScope"+"115 inch"] = 1136;
Cost["M1300"+"NTSC"+"100 inch"] = 795;
Cost["AT Grey"+"HDTV"+"92 inch"] = 1577;
Cost["AT1200"+"HDTV"+"92 inch"] = 1577;
Cost["M1300"+"CinemaScope"+"132 inch"] = 1255.5;
Cost["M2500"+"CinemaScope"+"132 inch"] = 1343.5;
Cost["HiDef Grey"+"CinemaScope"+"132 inch"] = 1343.5;
Cost["AT1200"+"CinemaScope"+"132 inch"] = 2368.5;
Cost["AT Grey"+"HDTV"+"106 inch"] = 2206.8;
Cost["HiDef Grey"+"HDTV"+"106 inch"] = 1021;
Cost["AT Grey"+"CinemaScope"+"132 inch"] = 2368.5;
Cost["HiDef Grey"+"CinemaScope"+"148 inch"] = 1466.3;
Cost["M2500"+"CinemaScope"+"148 inch"] = 1466.3;
Cost["M1300"+"CinemaScope"+"148 inch"] = 1416.8;
Cost["HiDef Grey"+"HDTV"+"119 inch"] = 1167;
Cost["M1300"+"HDTV"+"119 inch"] = 1101;
Cost["M1300"+"NTSC"+"10 ft"] = 959;
Cost["AT Grey"+"CinemaScope"+"148 inch"] = 2799.1;
Cost["AT1200"+"CinemaScope"+"148 inch"] = 2799.1;
Cost["AT Grey"+"HDTV"+"119 inch"] = 2622.9;
Cost["AT1200"+"HDTV"+"119 inch"] = 2622.9;
Cost["M2500"+"CinemaScope"+"166 inch"] = 1699.9;
Cost["HiDef Grey"+"CinemaScope"+"166 inch"] = 1699.9;
Cost["M1300"+"CinemaScope"+"166 inch"] = 1638.3;
Cost["AT1200"+"CinemaScope"+"166 inch"] = 3357.2;
Cost["AT Grey"+"CinemaScope"+"166 inch"] = 3357.2;

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">'
}


