
var partPick    = "";
var surfacePick = "";
var formatPick  = "";
var sizePick    = "";

var Data            = new Array();
var description     = "";
var descriptionOrg  = "";
var cost            = "";
var costOrg         = "";

var screenAddon = "";
var quietMotor  = '<input type="checkbox" name="quietMotor" value="yes" onClick="addonSelected()">Quiet Motor';
var lowVoltage  = '<input type="checkbox" name="lowVoltage" value="yes" onClick="addonSelected()">Low Voltage Control Built-In';

var quietMotorPrice = 155.99;
var lowVoltagePrice = 199.99;

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('15:9','15:9');
selbox.options[selbox.options.length] = new Option('16:10','16:10');
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('15:9','15:9');
selbox.options[selbox.options.length] = new Option('16:10','16:10');
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 == "AT Grey") {
selbox.options[selbox.options.length] = new Option('Screen Format','99');
selbox.options[selbox.options.length] = new Option('15:9','15:9');
selbox.options[selbox.options.length] = new Option('16:10','16:10');
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 == "AT1200") {
selbox.options[selbox.options.length] = new Option('Screen Format','99');
selbox.options[selbox.options.length] = new Option('15:9','15:9');
selbox.options[selbox.options.length] = new Option('16:10','16:10');
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('15:9','15:9');
selbox.options[selbox.options.length] = new Option('16:10','16:10');
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('10 ft x 10 ft','10 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('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('7 ft x 9 ft','7 ft x 9 ft');
selbox.options[selbox.options.length] = new Option('70 inch x 70 inch','70 inch x 70 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('8 ft x 10 ft','8 ft x 10 ft');
selbox.options[selbox.options.length] = new Option('84 inch x 84 inch','84 inch x 84 inch');
selbox.options[selbox.options.length] = new Option('9 ft x 12 ft','9 ft x 12 ft');
selbox.options[selbox.options.length] = new Option('9 ft x 9 ft','9 ft x 9 ft');
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('10 ft x 10 ft','10 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('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('7 ft x 9 ft','7 ft x 9 ft');
selbox.options[selbox.options.length] = new Option('70 inch x 70 inch','70 inch x 70 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('8 ft x 10 ft','8 ft x 10 ft');
selbox.options[selbox.options.length] = new Option('84 inch x 84 inch','84 inch x 84 inch');
selbox.options[selbox.options.length] = new Option('9 ft x 12 ft','9 ft x 12 ft');
selbox.options[selbox.options.length] = new Option('9 ft x 9 ft','9 ft x 9 ft');
selbox.options[selbox.options.length] = new Option('96 inch x 96 inch','96 inch x 96 inch');
}


if (chosen == "AV" && surfacePick == "AT Grey") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('72 inch x 96 inch','72 inch x 96 inch');
selbox.options[selbox.options.length] = new Option('84 inch x 84 inch','84 inch x 84 inch');
}


if (chosen == "AV" && surfacePick == "AT1200") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('72 inch x 96 inch','72 inch x 96 inch');
selbox.options[selbox.options.length] = new Option('84 inch x 84 inch','84 inch x 84 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('7 ft x 9 ft','7 ft x 9 ft');
selbox.options[selbox.options.length] = new Option('70 inch x 70 inch','70 inch x 70 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('8 ft x 10 ft','8 ft x 10 ft');
selbox.options[selbox.options.length] = new Option('84 inch x 84 inch','84 inch x 84 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('10 ft','10 ft');
selbox.options[selbox.options.length] = new Option('100 inch','100 inch');
selbox.options[selbox.options.length] = new Option('11 ft','11 ft');
selbox.options[selbox.options.length] = new Option('15 ft','15 ft');
selbox.options[selbox.options.length] = new Option('150 inch','150 inch');
selbox.options[selbox.options.length] = new Option('6 ft','6 ft');
selbox.options[selbox.options.length] = new Option('7 ft','7 ft');
}


if (chosen == "NTSC" && surfacePick == "Matt White") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('10 ft','10 ft');
selbox.options[selbox.options.length] = new Option('100 inch','100 inch');
selbox.options[selbox.options.length] = new Option('11 ft','11 ft');
selbox.options[selbox.options.length] = new Option('15 ft','15 ft');
selbox.options[selbox.options.length] = new Option('150 inch','150 inch');
selbox.options[selbox.options.length] = new Option('6 ft','6 ft');
selbox.options[selbox.options.length] = new Option('7 ft','7 ft');
}


if (chosen == "NTSC" && surfacePick == "AT Grey") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('10 ft','10 ft');
selbox.options[selbox.options.length] = new Option('100 inch','100 inch');
}


if (chosen == "NTSC" && surfacePick == "AT1200") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('10 ft','10 ft');
selbox.options[selbox.options.length] = new Option('100 inch','100 inch');
}


if (chosen == "NTSC" && surfacePick == "High Contrast Grey") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('10 ft','10 ft');
selbox.options[selbox.options.length] = new Option('100 inch','100 inch');
selbox.options[selbox.options.length] = new Option('11 ft','11 ft');
selbox.options[selbox.options.length] = new Option('150 inch','150 inch');
selbox.options[selbox.options.length] = new Option('6 ft','6 ft');
selbox.options[selbox.options.length] = new Option('7 ft','7 ft');
}


if (chosen == "HDTV" && surfacePick == "Glass Beaded") {
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('119 inch','119 inch');
selbox.options[selbox.options.length] = new Option('133 inch','133 inch');
selbox.options[selbox.options.length] = new Option('161 inch','161 inch');
selbox.options[selbox.options.length] = new Option('92 inch','92 inch');
}


if (chosen == "HDTV" && surfacePick == "Matt White") {
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('119 inch','119 inch');
selbox.options[selbox.options.length] = new Option('133 inch','133 inch');
selbox.options[selbox.options.length] = new Option('161 inch','161 inch');
selbox.options[selbox.options.length] = new Option('92 inch','92 inch');
}


if (chosen == "HDTV" && surfacePick == "AT Grey") {
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('119 inch','119 inch');
selbox.options[selbox.options.length] = new Option('133 inch','133 inch');
selbox.options[selbox.options.length] = new Option('92 inch','92 inch');
}


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('119 inch','119 inch');
selbox.options[selbox.options.length] = new Option('133 inch','133 inch');
selbox.options[selbox.options.length] = new Option('92 inch','92 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('106 inch','106 inch');
selbox.options[selbox.options.length] = new Option('119 inch','119 inch');
selbox.options[selbox.options.length] = new Option('133 inch','133 inch');
selbox.options[selbox.options.length] = new Option('161 inch','161 inch');
selbox.options[selbox.options.length] = new Option('92 inch','92 inch');
}


if (chosen == "15:9" && surfacePick == "Glass Beaded") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
}


if (chosen == "15:9" && surfacePick == "Matt White") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('107 inch','107 inch');
selbox.options[selbox.options.length] = new Option('121 inch','121 inch');
selbox.options[selbox.options.length] = new Option('135 inch','135 inch');
selbox.options[selbox.options.length] = new Option('163 inch','163 inch');
selbox.options[selbox.options.length] = new Option('93 inch','93 inch');
}


if (chosen == "15:9" && surfacePick == "AT Grey") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
}


if (chosen == "15:9" && surfacePick == "AT1200") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
}


if (chosen == "15:9" && surfacePick == "High Contrast Grey") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('107 inch','107 inch');
selbox.options[selbox.options.length] = new Option('121 inch','121 inch');
selbox.options[selbox.options.length] = new Option('135 inch','135 inch');
selbox.options[selbox.options.length] = new Option('163 inch','163 inch');
selbox.options[selbox.options.length] = new Option('93 inch','93 inch');
}


if (chosen == "WideScreen" && surfacePick == "Glass Beaded") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('108 inch','108 inch');
selbox.options[selbox.options.length] = new Option('120 inch','120 inch');
selbox.options[selbox.options.length] = new Option('132 inch','132 inch');
selbox.options[selbox.options.length] = new Option('162 inch','162 inch');
selbox.options[selbox.options.length] = new Option('99 inch','99 inch');
}


if (chosen == "WideScreen" && surfacePick == "Matt White") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('108 inch','108 inch');
selbox.options[selbox.options.length] = new Option('120 inch','120 inch');
selbox.options[selbox.options.length] = new Option('132 inch','132 inch');
selbox.options[selbox.options.length] = new Option('162 inch','162 inch');
selbox.options[selbox.options.length] = new Option('99 inch','99 inch');
}


if (chosen == "WideScreen" && surfacePick == "AT Grey") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('108 inch','108 inch');
selbox.options[selbox.options.length] = new Option('99 inch','99 inch');
}


if (chosen == "WideScreen" && surfacePick == "AT1200") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('108 inch','108 inch');
selbox.options[selbox.options.length] = new Option('99 inch','99 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('108 inch','108 inch');
selbox.options[selbox.options.length] = new Option('120 inch','120 inch');
selbox.options[selbox.options.length] = new Option('132 inch','132 inch');
selbox.options[selbox.options.length] = new Option('162 inch','162 inch');
selbox.options[selbox.options.length] = new Option('99 inch','99 inch');
}


if (chosen == "16:10" && surfacePick == "Glass Beaded") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
}


if (chosen == "16:10" && surfacePick == "Matt White") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('109 inch','109 inch');
selbox.options[selbox.options.length] = new Option('123 inch','123 inch');
selbox.options[selbox.options.length] = new Option('137 inch','137 inch');
selbox.options[selbox.options.length] = new Option('165 inch','165 inch');
selbox.options[selbox.options.length] = new Option('94 inch','94 inch');
}


if (chosen == "16:10" && surfacePick == "AT Grey") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
}


if (chosen == "16:10" && surfacePick == "AT1200") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
}


if (chosen == "16:10" && surfacePick == "High Contrast Grey") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('109 inch','109 inch');
selbox.options[selbox.options.length] = new Option('123 inch','123 inch');
selbox.options[selbox.options.length] = new Option('137 inch','137 inch');
selbox.options[selbox.options.length] = new Option('165 inch','165 inch');
selbox.options[selbox.options.length] = new Option('94 inch','94 inch');
}


 formatPick = chosen; 
}
function storeSize(chosen) {
sizePick= chosen;
}

function saveValues() {
document.Prod.PartNo.value = partPick;
document.Prod.Item.value = description;
document.Prod.Price.value = cost;
}

function displayValues() {
document.getElementById('unitInfo').innerHTML = surfacePick + " " + formatPick + " " + sizePick
document.getElementById('cost').innerHTML = "Our Price $" + cost +" Including Free Shipping<br><br>"

document.getElementById('button').innerHTML = '<input type="submit" value="ADD TO CART" class="btn">';
}

function displayAddons() {
  document.getElementById('access').innerHTML = screenAddon;
}

function ChooseProd() {

Data[0] = new Array("119038","Glass Beaded","AV","10 ft x 10 ft","","","","Ultimate Access/Series E, 10 ft x 10 ft, AV, Glass Beaded, 110 V","2108");
Data[1] = new Array("119010","Matt White","AV","10 ft x 10 ft","","","","Ultimate Access/Series E, 10 ft x 10 ft, AV, Matt White, 110 V","2108");
Data[2] = new Array("119225","AT Grey","NTSC","10 ft","q","","","Ultimate Access/Series E, 10 ft, NTSC, AT Grey, 110 V","5446");
Data[3] = new Array("119107","AT1200","NTSC","10 ft","q","","","Ultimate Access/Series E, 10 ft, NTSC, AT1200, 110 V","5446");
Data[4] = new Array("119044","Glass Beaded","NTSC","10 ft","q","","","Ultimate Access/Series E, 10 ft, NTSC, Glass Beaded, 110 V","1925");
Data[5] = new Array("119182","High Contrast Grey","NTSC","10 ft","q","","","Ultimate Access/Series E, 10 ft, NTSC, High Contrast Grey, 110 V","1925");
Data[6] = new Array("119016","Matt White","NTSC","10 ft","q","","","Ultimate Access/Series E, 10 ft, NTSC, Matt White, 110 V","1925");
Data[7] = new Array("119224","AT Grey","NTSC","100 inch","q","","","Ultimate Access/Series E, 100 inch, NTSC, AT Grey, 110 V","4317");
Data[8] = new Array("119106","AT1200","NTSC","100 inch","q","","","Ultimate Access/Series E, 100 inch, NTSC, AT1200, 110 V","4317");
Data[9] = new Array("119043","Glass Beaded","NTSC","100 inch","q","","","Ultimate Access/Series E, 100 inch, NTSC, Glass Beaded, 110 V","1911");
Data[10] = new Array("119181","High Contrast Grey","NTSC","100 inch","q","","","Ultimate Access/Series E, 100 inch, NTSC, High Contrast Grey, 110 V","1911");
Data[11] = new Array("119015","Matt White","NTSC","100 inch","q","","","Ultimate Access/Series E, 100 inch, NTSC, Matt White, 110 V","1911");
Data[12] = new Array("119242","AT Grey","HDTV","106 inch","q","","","Ultimate Access/Series E, 106 inch, HDTV, AT Grey, 110 V","4891");
Data[13] = new Array("119244","AT1200","HDTV","106 inch","q","","","Ultimate Access/Series E, 106 inch, HDTV, AT1200, 110 V","4891");
Data[14] = new Array("119248","Glass Beaded","HDTV","106 inch","q","","","Ultimate Access/Series E, 106 inch, HDTV, Glass Beaded, 110 V","1887");
Data[15] = new Array("119250","High Contrast Grey","HDTV","106 inch","q","","","Ultimate Access/Series E, 106 inch, HDTV, High Contrast Grey, 110 V","1887");
Data[16] = new Array("119246","Matt White","HDTV","106 inch","q","","","Ultimate Access/Series E, 106 inch, HDTV, Matt White, 110 V","1887");
Data[17] = new Array("119293","High Contrast Grey","15:9","107 inch","q","","","Ultimate Access/Series E, 107 inch, 15:9, High Contrast Grey, 110 V","1887");
Data[18] = new Array("119288","Matt White","15:9","107 inch","q","","","Ultimate Access/Series E, 107 inch, 15:9, Matt White, 110 V","1887");
Data[19] = new Array("119230","AT Grey","WideScreen","108 inch","q","","","Ultimate Access/Series E, 108 inch, WideScreen, AT Grey, 110 V","5171");
Data[20] = new Array("119112","AT1200","WideScreen","108 inch","q","","","Ultimate Access/Series E, 108 inch, WideScreen, AT1200, 110 V","5171");
Data[21] = new Array("119053","Glass Beaded","WideScreen","108 inch","q","","","Ultimate Access/Series E, 108 inch, WideScreen, Glass Beaded, 110 V","1880");
Data[22] = new Array("119190","High Contrast Grey","WideScreen","108 inch","q","","","Ultimate Access/Series E, 108 inch, WideScreen, High Contrast Grey, 110 V","1880");
Data[23] = new Array("119025","Matt White","WideScreen","108 inch","q","","","Ultimate Access/Series E, 108 inch, WideScreen, Matt White, 110 V","1880");
Data[24] = new Array("119283","High Contrast Grey","16:10","109 inch","q","","","Ultimate Access/Series E, 109 inch, 16:10, High Contrast Grey, 110 V","1887");
Data[25] = new Array("119278","Matt White","16:10","109 inch","q","","","Ultimate Access/Series E, 109 inch, 16:10, Matt White, 110 V","1887");
Data[26] = new Array("119045","Glass Beaded","NTSC","11 ft","q","","","Ultimate Access/Series E, 11 ft, NTSC, Glass Beaded, 110 V","2012");
Data[27] = new Array("119183","High Contrast Grey","NTSC","11 ft","q","","","Ultimate Access/Series E, 11 ft, NTSC, High Contrast Grey, 110 V","2012");
Data[28] = new Array("119017","Matt White","NTSC","11 ft","q","","","Ultimate Access/Series E, 11 ft, NTSC, Matt White, 110 V","2012");
Data[29] = new Array("119231","AT Grey","HDTV","119 inch","q","","","Ultimate Access/Series E, 119 inch, HDTV, AT Grey, 110 V","5269");
Data[30] = new Array("119236","AT1200","HDTV","119 inch","q","","","Ultimate Access/Series E, 119 inch, HDTV, AT1200, 110 V","5269");
Data[31] = new Array("119233","Glass Beaded","HDTV","119 inch","q","","","Ultimate Access/Series E, 119 inch, HDTV, Glass Beaded, 110 V","1956");
Data[32] = new Array("119239","High Contrast Grey","HDTV","119 inch","q","","","Ultimate Access/Series E, 119 inch, HDTV, High Contrast Grey, 110 V","1956");
Data[33] = new Array("119232","Matt White","HDTV","119 inch","q","","","Ultimate Access/Series E, 119 inch, HDTV, Matt White, 110 V","1956");
Data[34] = new Array("119040","Glass Beaded","AV","12 ft x 12 ft","","","","Ultimate Access/Series E, 12 ft x 12 ft, AV, Glass Beaded, 110 V","2193");
Data[35] = new Array("119012","Matt White","AV","12 ft x 12 ft","","","","Ultimate Access/Series E, 12 ft x 12 ft, AV, Matt White, 110 V","2193");
Data[36] = new Array("119054","Glass Beaded","WideScreen","120 inch","q","","","Ultimate Access/Series E, 120 inch, WideScreen, Glass Beaded, 110 V","1956");
Data[37] = new Array("119191","High Contrast Grey","WideScreen","120 inch","q","","","Ultimate Access/Series E, 120 inch, WideScreen, High Contrast Grey, 110 V","1956");
Data[38] = new Array("119026","Matt White","WideScreen","120 inch","q","","","Ultimate Access/Series E, 120 inch, WideScreen, Matt White, 110 V","1956");
Data[39] = new Array("119294","High Contrast Grey","15:9","121 inch","q","","","Ultimate Access/Series E, 121 inch, 15:9, High Contrast Grey, 110 V","1956");
Data[40] = new Array("119289","Matt White","15:9","121 inch","q","","","Ultimate Access/Series E, 121 inch, 15:9, Matt White, 110 V","1956");
Data[41] = new Array("119284","High Contrast Grey","16:10","123 inch","q","","","Ultimate Access/Series E, 123 inch, 16:10, High Contrast Grey, 110 V","1956");
Data[42] = new Array("119279","Matt White","16:10","123 inch","q","","","Ultimate Access/Series E, 123 inch, 16:10, Matt White, 110 V","1956");
Data[43] = new Array("119055","Glass Beaded","WideScreen","132 inch","q","","","Ultimate Access/Series E, 132 inch, WideScreen, Glass Beaded, 110 V","2022");
Data[44] = new Array("119192","High Contrast Grey","WideScreen","132 inch","q","","","Ultimate Access/Series E, 132 inch, WideScreen, High Contrast Grey, 110 V","2022");
Data[45] = new Array("119027","Matt White","WideScreen","132 inch","q","","","Ultimate Access/Series E, 132 inch, WideScreen, Matt White, 110 V","2022");
Data[46] = new Array("119228","AT Grey","HDTV","133 inch","q","","","Ultimate Access/Series E, 133 inch, HDTV, AT Grey, 110 V","5726");
Data[47] = new Array("119110","AT1200","HDTV","133 inch","q","","","Ultimate Access/Series E, 133 inch, HDTV, AT1200, 110 V","5726");
Data[48] = new Array("119050","Glass Beaded","HDTV","133 inch","q","","","Ultimate Access/Series E, 133 inch, HDTV, Glass Beaded, 110 V","2022");
Data[49] = new Array("119187","High Contrast Grey","HDTV","133 inch","q","","","Ultimate Access/Series E, 133 inch, HDTV, High Contrast Grey, 110 V","2022");
Data[50] = new Array("119022","Matt White","HDTV","133 inch","q","","","Ultimate Access/Series E, 133 inch, HDTV, Matt White, 110 V","2022");
Data[51] = new Array("119295","High Contrast Grey","15:9","135 inch","q","","","Ultimate Access/Series E, 135 inch, 15:9, High Contrast Grey, 110 V","2022");
Data[52] = new Array("119290","Matt White","15:9","135 inch","q","","","Ultimate Access/Series E, 135 inch, 15:9, Matt White, 110 V","2022");
Data[53] = new Array("119285","High Contrast Grey","16:10","137 inch","q","","","Ultimate Access/Series E, 137 inch, 16:10, High Contrast Grey, 110 V","2022");
Data[54] = new Array("119280","Matt White","16:10","137 inch","q","","","Ultimate Access/Series E, 137 inch, 16:10, Matt White, 110 V","2022");
Data[55] = new Array("119047","Glass Beaded","NTSC","15 ft","","","","Ultimate Access/Series E, 15 ft, NTSC, Glass Beaded, 110 V","2118");
Data[56] = new Array("119019","Matt White","NTSC","15 ft","q","","","Ultimate Access/Series E, 15 ft, NTSC, Matt White, 110 V","2118");
Data[57] = new Array("119046","Glass Beaded","NTSC","150 inch","q","","","Ultimate Access/Series E, 150 inch, NTSC, Glass Beaded, 110 V","2072");
Data[58] = new Array("119184","High Contrast Grey","NTSC","150 inch","q","","","Ultimate Access/Series E, 150 inch, NTSC, High Contrast Grey, 110 V","2072");
Data[59] = new Array("119018","Matt White","NTSC","150 inch","q","","","Ultimate Access/Series E, 150 inch, NTSC, Matt White, 110 V","2072");
Data[60] = new Array("119051","Glass Beaded","HDTV","161 inch","q","","","Ultimate Access/Series E, 161 inch, HDTV, Glass Beaded, 110 V","2067");
Data[61] = new Array("119188","High Contrast Grey","HDTV","161 inch","q","","","Ultimate Access/Series E, 161 inch, HDTV, High Contrast Grey, 110 V","2067");
Data[62] = new Array("119023","Matt White","HDTV","161 inch","q","","","Ultimate Access/Series E, 161 inch, HDTV, Matt White, 110 V","2067");
Data[63] = new Array("119056","Glass Beaded","WideScreen","162 inch","q","","","Ultimate Access/Series E, 162 inch, WideScreen, Glass Beaded, 110 V","2067");
Data[64] = new Array("119216","High Contrast Grey","WideScreen","162 inch","q","","","Ultimate Access/Series E, 162 inch, WideScreen, High Contrast Grey, 110 V","2067");
Data[65] = new Array("119028","Matt White","WideScreen","162 inch","q","","","Ultimate Access/Series E, 162 inch, WideScreen, Matt White, 110 V","2067");
Data[66] = new Array("119296","High Contrast Grey","15:9","163 inch","q","","","Ultimate Access/Series E, 163 inch, 15:9, High Contrast Grey, 110 V","2067");
Data[67] = new Array("119291","Matt White","15:9","163 inch","q","","","Ultimate Access/Series E, 163 inch, 15:9, Matt White, 110 V","2067");
Data[68] = new Array("119286","High Contrast Grey","16:10","165 inch","q","","","Ultimate Access/Series E, 165 inch, 16:10, High Contrast Grey, 110 V","2067");
Data[69] = new Array("119281","Matt White","16:10","165 inch","q","","","Ultimate Access/Series E, 165 inch, 16:10, Matt White, 110 V","2067");
Data[70] = new Array("119029","Glass Beaded","AV","50 inch x 50 inch","q","","","Ultimate Access/Series E, 50 inch x 50 inch, AV, Glass Beaded, 110 V","1819");
Data[71] = new Array("119171","High Contrast Grey","AV","50 inch x 50 inch","q","","","Ultimate Access/Series E, 50 inch x 50 inch, AV, High Contrast Grey, 110 V","1819");
Data[72] = new Array("119001","Matt White","AV","50 inch x 50 inch","q","","","Ultimate Access/Series E, 50 inch x 50 inch, AV, Matt White, 110 V","1819");
Data[73] = new Array("119041","Glass Beaded","NTSC","6 ft","q","","","Ultimate Access/Series E, 6 ft, NTSC, Glass Beaded, 110 V","1839");
Data[74] = new Array("119179","High Contrast Grey","NTSC","6 ft","q","","","Ultimate Access/Series E, 6 ft, NTSC, High Contrast Grey, 110 V","1839");
Data[75] = new Array("119013","Matt White","NTSC","6 ft","q","","","Ultimate Access/Series E, 6 ft, NTSC, Matt White, 110 V","1839");
Data[76] = new Array("119030","Glass Beaded","AV","60 inch x 60 inch","q","","","Ultimate Access/Series E, 60 inch x 60 inch, AV, Glass Beaded, 110 V","1839");
Data[77] = new Array("119172","High Contrast Grey","AV","60 inch x 60 inch","q","","","Ultimate Access/Series E, 60 inch x 60 inch, AV, High Contrast Grey, 110 V","1839");
Data[78] = new Array("119002","Matt White","AV","60 inch x 60 inch","q","","","Ultimate Access/Series E, 60 inch x 60 inch, AV, Matt White, 110 V","1839");
Data[79] = new Array("119035","Glass Beaded","AV","7 ft x 9 ft","q","","","Ultimate Access/Series E, 7 ft x 9 ft, AV, Glass Beaded, 110 V","2012");
Data[80] = new Array("119177","High Contrast Grey","AV","7 ft x 9 ft","q","","","Ultimate Access/Series E, 7 ft x 9 ft, AV, High Contrast Grey, 110 V","2012");
Data[81] = new Array("119007","Matt White","AV","7 ft x 9 ft","q","","","Ultimate Access/Series E, 7 ft x 9 ft, AV, Matt White, 110 V","2012");
Data[82] = new Array("119042","Glass Beaded","NTSC","7 ft","q","","","Ultimate Access/Series E, 7 ft, NTSC, Glass Beaded, 110 V","1855");
Data[83] = new Array("119180","High Contrast Grey","NTSC","7 ft","q","","","Ultimate Access/Series E, 7 ft, NTSC, High Contrast Grey, 110 V","1855");
Data[84] = new Array("119014","Matt White","NTSC","7 ft","q","","","Ultimate Access/Series E, 7 ft, NTSC, Matt White, 110 V","1855");
Data[85] = new Array("119031","Glass Beaded","AV","70 inch x 70 inch","q","","","Ultimate Access/Series E, 70 inch x 70 inch, AV, Glass Beaded, 110 V","1855");
Data[86] = new Array("119173","High Contrast Grey","AV","70 inch x 70 inch","q","","","Ultimate Access/Series E, 70 inch x 70 inch, AV, High Contrast Grey, 110 V","1855");
Data[87] = new Array("119003","Matt White","AV","70 inch x 70 inch","q","","","Ultimate Access/Series E, 70 inch x 70 inch, AV, Matt White, 110 V","1855");
Data[88] = new Array("119221","AT Grey","AV","72 inch x 96 inch","q","","","Ultimate Access/Series E, 72 inch x 96 inch, AV, AT Grey, 110 V","5446");
Data[89] = new Array("119103","AT1200","AV","72 inch x 96 inch","q","","","Ultimate Access/Series E, 72 inch x 96 inch, AV, AT1200, 110 V","5446");
Data[90] = new Array("119033","Glass Beaded","AV","72 inch x 96 inch","q","","","Ultimate Access/Series E, 72 inch x 96 inch, AV, Glass Beaded, 110 V","1925");
Data[91] = new Array("119175","High Contrast Grey","AV","72 inch x 96 inch","q","","","Ultimate Access/Series E, 72 inch x 96 inch, AV, High Contrast Grey, 110 V","1925");
Data[92] = new Array("119005","Matt White","AV","72 inch x 96 inch","q","","","Ultimate Access/Series E, 72 inch x 96 inch, AV, Matt White, 110 V","1925");
Data[93] = new Array("119037","Glass Beaded","AV","8 ft x 10 ft","q","","","Ultimate Access/Series E, 8 ft x 10 ft, AV, Glass Beaded, 110 V","2072");
Data[94] = new Array("119178","High Contrast Grey","AV","8 ft x 10 ft","q","","","Ultimate Access/Series E, 8 ft x 10 ft, AV, High Contrast Grey, 110 V","2072");
Data[95] = new Array("119009","Matt White","AV","8 ft x 10 ft","q","","","Ultimate Access/Series E, 8 ft x 10 ft, AV, Matt White, 110 V","2072");
Data[96] = new Array("119220","AT Grey","AV","84 inch x 84 inch","q","","","Ultimate Access/Series E, 84 inch x 84 inch, AV, AT Grey, 110 V","4313");
Data[97] = new Array("119102","AT1200","AV","84 inch x 84 inch","q","","","Ultimate Access/Series E, 84 inch x 84 inch, AV, AT1200, 110 V","4313");
Data[98] = new Array("119032","Glass Beaded","AV","84 inch x 84 inch","q","","","Ultimate Access/Series E, 84 inch x 84 inch, AV, Glass Beaded, 110 V","1911");
Data[99] = new Array("119174","High Contrast Grey","AV","84 inch x 84 inch","q","","","Ultimate Access/Series E, 84 inch x 84 inch, AV, High Contrast Grey, 110 V","1911");
Data[100] = new Array("119004","Matt White","AV","84 inch x 84 inch","q","","","Ultimate Access/Series E, 84 inch x 84 inch, AV, Matt White, 110 V","1911");
Data[101] = new Array("119039","Glass Beaded","AV","9 ft x 12 ft","","","","Ultimate Access/Series E, 9 ft x 12 ft, AV, Glass Beaded, 110 V","2118");
Data[102] = new Array("119011","Matt White","AV","9 ft x 12 ft","q","","","Ultimate Access/Series E, 9 ft x 12 ft, AV, Matt White, 110 V","2118");
Data[103] = new Array("119036","Glass Beaded","AV","9 ft x 9 ft","q","","","Ultimate Access/Series E, 9 ft x 9 ft, AV, Glass Beaded, 110 V","2032");
Data[104] = new Array("119008","Matt White","AV","9 ft x 9 ft","q","","","Ultimate Access/Series E, 9 ft x 9 ft, AV, Matt White, 110 V","2032");
Data[105] = new Array("119241","AT Grey","HDTV","92 inch","q","","","Ultimate Access/Series E, 92 inch, HDTV, AT Grey, 110 V","4098");
Data[106] = new Array("119243","AT1200","HDTV","92 inch","q","","","Ultimate Access/Series E, 92 inch, HDTV, AT1200, 110 V","4098");
Data[107] = new Array("119247","Glass Beaded","HDTV","92 inch","q","","","Ultimate Access/Series E, 92 inch, HDTV, Glass Beaded, 110 V","1871");
Data[108] = new Array("119249","High Contrast Grey","HDTV","92 inch","q","","","Ultimate Access/Series E, 92 inch, HDTV, High Contrast Grey, 110 V","1871");
Data[109] = new Array("119245","Matt White","HDTV","92 inch","q","","","Ultimate Access/Series E, 92 inch, HDTV, Matt White, 110 V","1871");
Data[110] = new Array("119292","High Contrast Grey","15:9","93 inch","q","","","Ultimate Access/Series E, 93 inch, 15:9, High Contrast Grey, 110 V","1871");
Data[111] = new Array("119287","Matt White","15:9","93 inch","q","","","Ultimate Access/Series E, 93 inch, 15:9, Matt White, 110 V","1871");
Data[112] = new Array("119282","High Contrast Grey","16:10","94 inch","q","","","Ultimate Access/Series E, 94 inch, 16:10, High Contrast Grey, 110 V","1871");
Data[113] = new Array("119277","Matt White","16:10","94 inch","q","","","Ultimate Access/Series E, 94 inch, 16:10, Matt White, 110 V","1871");
Data[114] = new Array("119034","Glass Beaded","AV","96 inch x 96 inch","q","","","Ultimate Access/Series E, 96 inch x 96 inch, AV, Glass Beaded, 110 V","1956");
Data[115] = new Array("119176","High Contrast Grey","AV","96 inch x 96 inch","q","","","Ultimate Access/Series E, 96 inch x 96 inch, AV, High Contrast Grey, 110 V","1956");
Data[116] = new Array("119006","Matt White","AV","96 inch x 96 inch","q","","","Ultimate Access/Series E, 96 inch x 96 inch, AV, Matt White, 110 V","1956");
Data[117] = new Array("119229","AT Grey","WideScreen","99 inch","q","","","Ultimate Access/Series E, 99 inch, WideScreen, AT Grey, 110 V","4838");
Data[118] = new Array("119111","AT1200","WideScreen","99 inch","q","","","Ultimate Access/Series E, 99 inch, WideScreen, AT1200, 110 V","4838");
Data[119] = new Array("119052","Glass Beaded","WideScreen","99 inch","q","","","Ultimate Access/Series E, 99 inch, WideScreen, Glass Beaded, 110 V","1875");
Data[120] = new Array("119189","High Contrast Grey","WideScreen","99 inch","q","","","Ultimate Access/Series E, 99 inch, WideScreen, High Contrast Grey, 110 V","1875");
Data[121] = new Array("119024","Matt White","WideScreen","99 inch","q","","","Ultimate Access/Series E, 99 inch, WideScreen, Matt White, 110 V","1875");


   for (i = 0; i < Data.length; i++) {
        if (surfacePick == Data[i][1] && formatPick == Data[i][2] && sizePick == Data[i][3])
        partPick = Data[i][0];
   }

    for (i = 0; i < Data.length; i++) {
        if (partPick == Data[i][0]) {
            if (Data[i][5] == "ql")     screenAddon = quietMotor + "<br>" + lowVoltage;
        else if (Data[i][4] == "q" ) {
            screenAddon = quietMotor;
            if (Data[i][6] == "l")  screenAddon = quietMotor + "<br>" + lowVoltage;
        }
        else if (Data[i][6] == "l") screenAddon = lowVoltage;
        else screenAddon = "";

            description = Data[i][7];
            descriptionOrg = description;
            cost = parseFloat(Data[i][8]);
            costOrg = cost;
        }
   }

   saveValues();
    displayValues();
}



function CheckBox() {
partPick = partPick.substring(0,6);
cost = costOrg;
description = descriptionOrg;

if (document.Prod.quietMotor) {
    if (document.Prod.quietMotor.checked) {
        document.Prod.quietMotor.setAttribute("checked","checked");
        partPick = partPick + "Q";
        cost = cost + quietMotorPrice;
        description = description + ", With Quiet Motor";

    } else {
        document.Prod.quietMotor.removeAttribute("checked");
        partPick = partPick.replace("Q","");

    }

}

    if (document.Prod.lowVoltage) {
        if (document.Prod.lowVoltage.checked) {
        document.Prod.lowVoltage.setAttribute("checked","checked");
        partPick = partPick + "L";
        cost = cost + lowVoltagePrice;
        description = description + ", With Low Voltage Controller";

    } else {
        document.Prod.lowVoltage.removeAttribute("checked");
        partPick = partPick.replace("L","");

    }

}
   if (document.Prod.quietMotor && document.Prod.lowVoltage) {
        if (document.Prod.quietMotor.checked && document.Prod.lowVoltage.checked) {
            partPick = partPick.substring(0,6) + "QL";
            cost = costOrg + quietMotorPrice + lowVoltagePrice;
            description = descriptionOrg + ", With Quiet Motor & Low Voltage Controller";
    }
}

cost = cost.toFixed(2);
}

function addonSelected() {
     CheckBox();
     saveValues();
     displayValues();
}

function resetCost() {
     if (sizePick != 9999 && formatPick != 99)
         displayAddons()
     else {
          document.getElementById('access').innerHTML = "";
          document.getElementById('unitInfo').innerHTML = "";
          document.getElementById('cost').innerHTML = "Select a Material, Format and Screen Size below<br><br>";
          document.getElementById('button').innerHTML = '<input disabled type="submit"value="ADD TO CART" class="btn">';
     }
}
