
var partPick    = "";
var surfacePick = "";
var formatPick  = "";
var sizePick    = "";

var Data            = new Array();
var description     = "";
var descriptionOrg  = "";
var cost            = "";
var costOrg         = "";
var weight          = "";
var weightOrg       = "";

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 == "HC Matte White") {
selbox.options[selbox.options.length] = new Option('Screen Format','99');
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('Square','Square');
}

if (chosen == "High Power") {
selbox.options[selbox.options.length] = new Option('Screen Format','99');
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('Square','Square');
}

if (chosen == "Matte White") {
selbox.options[selbox.options.length] = new Option('Screen Format','99');
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('Square','Square');
}

if (chosen == "Video Spectra 1.5") {
selbox.options[selbox.options.length] = new Option('Screen Format','99');
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('Square','Square');
}

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 == "HC Matte White") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('37 1/2 inch x 67 inch','37 1/2 inch x 67 inch');
selbox.options[selbox.options.length] = new Option('45 inch x 80 inch','45 inch x 80 inch');
selbox.options[selbox.options.length] = new Option('52 inch x 92 inch','52 inch x 92 inch');
}


if (chosen == "HDTV" && surfacePick == "High Power") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('37 1/2 inch x 67 inch','37 1/2 inch x 67 inch');
selbox.options[selbox.options.length] = new Option('45 inch x 80 inch','45 inch x 80 inch');
selbox.options[selbox.options.length] = new Option('52 inch x 92 inch','52 inch x 92 inch');
}


if (chosen == "HDTV" && surfacePick == "Matte White") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('37 1/2 inch x 67 inch','37 1/2 inch x 67 inch');
selbox.options[selbox.options.length] = new Option('45 inch x 80 inch','45 inch x 80 inch');
selbox.options[selbox.options.length] = new Option('52 inch x 92 inch','52 inch x 92 inch');
}


if (chosen == "HDTV" && surfacePick == "Video Spectra 1.5") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('37 1/2 inch x 67 inch','37 1/2 inch x 67 inch');
selbox.options[selbox.options.length] = new Option('45 inch x 80 inch','45 inch x 80 inch');
selbox.options[selbox.options.length] = new Option('52 inch x 92 inch','52 inch x 92 inch');
}


if (chosen == "Square" && surfacePick == "HC Matte 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('64 inch x 84 inch','64 inch x 84 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('72 inch x 72 inch','72 inch x 72 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('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 == "Square" && surfacePick == "High Power") {
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('64 inch x 84 inch','64 inch x 84 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('72 inch x 72 inch','72 inch x 72 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('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 == "Square" && surfacePick == "Matte White") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('40 inch x 40 inch','40 inch x 40 inch');
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('64 inch x 84 inch','64 inch x 84 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('72 inch x 72 inch','72 inch x 72 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('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 == "Square" && surfacePick == "Video Spectra 1.5") {
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('64 inch x 84 inch','64 inch x 84 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('72 inch x 72 inch','72 inch x 72 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('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 == "HC Matte White") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('43 inch x 57 inch','43 inch x 57 inch');
selbox.options[selbox.options.length] = new Option('50 inch x 67 inch','50 inch x 67 inch');
selbox.options[selbox.options.length] = new Option('57 inch x 77 inch','57 inch x 77 inch');
selbox.options[selbox.options.length] = new Option('60 inch x 80 inch','60 inch x 80 inch');
selbox.options[selbox.options.length] = new Option('69 inch x 92 inch','69 inch x 92 inch');
}


if (chosen == "NTSC" && surfacePick == "High Power") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('43 inch x 57 inch','43 inch x 57 inch');
selbox.options[selbox.options.length] = new Option('50 inch x 67 inch','50 inch x 67 inch');
selbox.options[selbox.options.length] = new Option('57 inch x 77 inch','57 inch x 77 inch');
selbox.options[selbox.options.length] = new Option('60 inch x 80 inch','60 inch x 80 inch');
selbox.options[selbox.options.length] = new Option('69 inch x 92 inch','69 inch x 92 inch');
}


if (chosen == "NTSC" && surfacePick == "Matte White") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('43 inch x 57 inch','43 inch x 57 inch');
selbox.options[selbox.options.length] = new Option('50 inch x 67 inch','50 inch x 67 inch');
selbox.options[selbox.options.length] = new Option('57 inch x 77 inch','57 inch x 77 inch');
selbox.options[selbox.options.length] = new Option('60 inch x 80 inch','60 inch x 80 inch');
selbox.options[selbox.options.length] = new Option('69 inch x 92 inch','69 inch x 92 inch');
}


if (chosen == "NTSC" && surfacePick == "Video Spectra 1.5") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('43 inch x 57 inch','43 inch x 57 inch');
selbox.options[selbox.options.length] = new Option('50 inch x 67 inch','50 inch x 67 inch');
selbox.options[selbox.options.length] = new Option('57 inch x 77 inch','57 inch x 77 inch');
selbox.options[selbox.options.length] = new Option('60 inch x 80 inch','60 inch x 80 inch');
selbox.options[selbox.options.length] = new Option('69 inch x 92 inch','69 inch x 92 inch');
}


if (chosen == "16:10" && surfacePick == "HC Matte White") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('50 inch x 80 inch','50 inch x 80 inch');
selbox.options[selbox.options.length] = new Option('57 1/2 inch x 92 inch','57 1/2 inch x 92 inch');
}


if (chosen == "16:10" && surfacePick == "High Power") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('50 inch x 80 inch','50 inch x 80 inch');
selbox.options[selbox.options.length] = new Option('57 1/2 inch x 92 inch','57 1/2 inch x 92 inch');
}


if (chosen == "16:10" && surfacePick == "Matte White") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('50 inch x 80 inch','50 inch x 80 inch');
selbox.options[selbox.options.length] = new Option('57 1/2 inch x 92 inch','57 1/2 inch x 92 inch');
}


if (chosen == "16:10" && surfacePick == "Video Spectra 1.5") {
selbox.options[selbox.options.length] = new Option('Screen Size','9999');
selbox.options[selbox.options.length] = new Option('50 inch x 80 inch','50 inch x 80 inch');
selbox.options[selbox.options.length] = new Option('57 1/2 inch x 92 inch','57 1/2 inch x 92 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;
document.Prod.Weight.value = weight;
}

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("93009","HC Matte White","HDTV","37 1/2 inch x 67 inch","","","","Model B, 37 1/2 inch x 67 inch, HDTV, HC Matte White","307.8","15");
Data[1] = new Array("93006","High Power","HDTV","37 1/2 inch x 67 inch","","","","Model B, 37 1/2 inch x 67 inch, HDTV, High Power","502.2","15");
Data[2] = new Array("93007","Matte White","HDTV","37 1/2 inch x 67 inch","","","","Model B, 37 1/2 inch x 67 inch, HDTV, Matte White","232.2","15");
Data[3] = new Array("93010","Video Spectra 1.5","HDTV","37 1/2 inch x 67 inch","","","","Model B, 37 1/2 inch x 67 inch, HDTV, Video Spectra 1.5","307.8","15");
Data[4] = new Array("40177","Matte White","Square","40 inch x 40 inch","","","","Model B, 40 inch x 40 inch, Square, Matte White","43.2","9");
Data[5] = new Array("93160","HC Matte White","NTSC","43 inch x 57 inch","","","","Model B, 43 inch x 57 inch, NTSC, HC Matte White","90.45","13");
Data[6] = new Array("77322","High Power","NTSC","43 inch x 57 inch","","","","Model B, 43 inch x 57 inch, NTSC, High Power","205.2","13");
Data[7] = new Array("74644","Matte White","NTSC","43 inch x 57 inch","","","","Model B, 43 inch x 57 inch, NTSC, Matte White","76.95","13");
Data[8] = new Array("74645","Video Spectra 1.5","NTSC","43 inch x 57 inch","","","","Model B, 43 inch x 57 inch, NTSC, Video Spectra 1.5","90.45","13");
Data[9] = new Array("93165","HC Matte White","HDTV","45 inch x 80 inch","","","","Model B, 45 inch x 80 inch, HDTV, HC Matte White","351","23");
Data[10] = new Array("83407","High Power","HDTV","45 inch x 80 inch","","","","Model B, 45 inch x 80 inch, HDTV, High Power","510.3","23");
Data[11] = new Array("83404","Matte White","HDTV","45 inch x 80 inch","","","","Model B, 45 inch x 80 inch, HDTV, Matte White","272.7","23");
Data[12] = new Array("83406","Video Spectra 1.5","HDTV","45 inch x 80 inch","","","","Model B, 45 inch x 80 inch, HDTV, Video Spectra 1.5","351","23");
Data[13] = new Array("93153","HC Matte White","Square","50 inch x 50 inch","","","","Model B, 50 inch x 50 inch, Square, HC Matte White","67.5","12");
Data[14] = new Array("79950","High Power","Square","50 inch x 50 inch","","","","Model B, 50 inch x 50 inch, Square, High Power","170.1","12");
Data[15] = new Array("40180","Matte White","Square","50 inch x 50 inch","","","","Model B, 50 inch x 50 inch, Square, Matte White","49.95","12");
Data[16] = new Array("73560","Video Spectra 1.5","Square","50 inch x 50 inch","","","","Model B, 50 inch x 50 inch, Square, Video Spectra 1.5","67.5","12");
Data[17] = new Array("93161","HC Matte White","NTSC","50 inch x 67 inch","","","","Model B, 50 inch x 67 inch, NTSC, HC Matte White","110.7","15");
Data[18] = new Array("77323","High Power","NTSC","50 inch x 67 inch","","","","Model B, 50 inch x 67 inch, NTSC, High Power","218.7","15");
Data[19] = new Array("74647","Matte White","NTSC","50 inch x 67 inch","","","","Model B, 50 inch x 67 inch, NTSC, Matte White","87.75","15");
Data[20] = new Array("74648","Video Spectra 1.5","NTSC","50 inch x 67 inch","","","","Model B, 50 inch x 67 inch, NTSC, Video Spectra 1.5","110.7","15");
Data[21] = new Array("36462","HC Matte White","16:10","50 inch x 80 inch","","","","Model B, 50 inch x 80 inch, 16:10, HC Matte White","175.5","24");
Data[22] = new Array("36464","High Power","16:10","50 inch x 80 inch","","","","Model B, 50 inch x 80 inch, 16:10, High Power","255.15","24");
Data[23] = new Array("36461","Matte White","16:10","50 inch x 80 inch","","","","Model B, 50 inch x 80 inch, 16:10, Matte White","136.35","24");
Data[24] = new Array("36463","Video Spectra 1.5","16:10","50 inch x 80 inch","","","","Model B, 50 inch x 80 inch, 16:10, Video Spectra 1.5","175.5","24");
Data[25] = new Array("93166","HC Matte White","HDTV","52 inch x 92 inch","","","","Model B, 52 inch x 92 inch, HDTV, HC Matte White","375.3","26");
Data[26] = new Array("78672","High Power","HDTV","52 inch x 92 inch","","","","Model B, 52 inch x 92 inch, HDTV, High Power","548.1","26");
Data[27] = new Array("78670","Matte White","HDTV","52 inch x 92 inch","","","","Model B, 52 inch x 92 inch, HDTV, Matte White","310.5","26");
Data[28] = new Array("78671","Video Spectra 1.5","HDTV","52 inch x 92 inch","","","","Model B, 52 inch x 92 inch, HDTV, Video Spectra 1.5","375.3","26");
Data[29] = new Array("36466","HC Matte White","16:10","57 1/2 inch x 92 inch","","","","Model B, 57 1/2 inch x 92 inch, 16:10, HC Matte White","187.65","27");
Data[30] = new Array("36468","High Power","16:10","57 1/2 inch x 92 inch","","","","Model B, 57 1/2 inch x 92 inch, 16:10, High Power","274.05","27");
Data[31] = new Array("36465","Matte White","16:10","57 1/2 inch x 92 inch","","","","Model B, 57 1/2 inch x 92 inch, 16:10, Matte White","155.25","27");
Data[32] = new Array("36467","Video Spectra 1.5","16:10","57 1/2 inch x 92 inch","","","","Model B, 57 1/2 inch x 92 inch, 16:10, Video Spectra 1.5","187.65","27");
Data[33] = new Array("93162","HC Matte White","NTSC","57 inch x 77 inch","","","","Model B, 57 inch x 77 inch, NTSC, HC Matte White","137.7","23");
Data[34] = new Array("82390","High Power","NTSC","57 inch x 77 inch","","","","Model B, 57 inch x 77 inch, NTSC, High Power","236.25","23");
Data[35] = new Array("74650","Matte White","NTSC","57 inch x 77 inch","","","","Model B, 57 inch x 77 inch, NTSC, Matte White","110.7","23");
Data[36] = new Array("74651","Video Spectra 1.5","NTSC","57 inch x 77 inch","","","","Model B, 57 inch x 77 inch, NTSC, Video Spectra 1.5","137.7","23");
Data[37] = new Array("93154","HC Matte White","Square","60 inch x 60 inch","","","","Model B, 60 inch x 60 inch, Square, HC Matte White","76.95","14");
Data[38] = new Array("77320","High Power","Square","60 inch x 60 inch","","","","Model B, 60 inch x 60 inch, Square, High Power","178.2","14");
Data[39] = new Array("40184","Matte White","Square","60 inch x 60 inch","","","","Model B, 60 inch x 60 inch, Square, Matte White","56.7","14");
Data[40] = new Array("73561","Video Spectra 1.5","Square","60 inch x 60 inch","","","","Model B, 60 inch x 60 inch, Square, Video Spectra 1.5","76.95","14");
Data[41] = new Array("93163","HC Matte White","NTSC","60 inch x 80 inch","","","","Model B, 60 inch x 80 inch, NTSC, HC Matte White","141.75","24");
Data[42] = new Array("77324","High Power","NTSC","60 inch x 80 inch","","","","Model B, 60 inch x 80 inch, NTSC, High Power","245.7","24");
Data[43] = new Array("40194","Matte White","NTSC","60 inch x 80 inch","","","","Model B, 60 inch x 80 inch, NTSC, Matte White","110.7","24");
Data[44] = new Array("73637","Video Spectra 1.5","NTSC","60 inch x 80 inch","","","","Model B, 60 inch x 80 inch, NTSC, Video Spectra 1.5","141.75","24");
Data[45] = new Array("93156","HC Matte White","Square","64 inch x 84 inch","","","","Model B, 64 inch x 84 inch, Square, HC Matte White","137.7","24");
Data[46] = new Array("79951","High Power","Square","64 inch x 84 inch","","","","Model B, 64 inch x 84 inch, Square, High Power","236.25","24");
Data[47] = new Array("40191","Matte White","Square","64 inch x 84 inch","","","","Model B, 64 inch x 84 inch, Square, Matte White","110.7","24");
Data[48] = new Array("77753","Video Spectra 1.5","Square","64 inch x 84 inch","","","","Model B, 64 inch x 84 inch, Square, Video Spectra 1.5","137.7","24");
Data[49] = new Array("93164","HC Matte White","NTSC","69 inch x 92 inch","","","","Model B, 69 inch x 92 inch, NTSC, HC Matte White","160.65","27");
Data[50] = new Array("77325","High Power","NTSC","69 inch x 92 inch","","","","Model B, 69 inch x 92 inch, NTSC, High Power","263.25","27");
Data[51] = new Array("74653","Matte White","NTSC","69 inch x 92 inch","","","","Model B, 69 inch x 92 inch, NTSC, Matte White","128.25","27");
Data[52] = new Array("74654","Video Spectra 1.5","NTSC","69 inch x 92 inch","","","","Model B, 69 inch x 92 inch, NTSC, Video Spectra 1.5","160.65","27");
Data[53] = new Array("93155","HC Matte White","Square","70 inch x 70 inch","","","","Model B, 70 inch x 70 inch, Square, HC Matte White","90.45","17");
Data[54] = new Array("77321","High Power","Square","70 inch x 70 inch","","","","Model B, 70 inch x 70 inch, Square, High Power","191.7","17");
Data[55] = new Array("40188","Matte White","Square","70 inch x 70 inch","","","","Model B, 70 inch x 70 inch, Square, Matte White","67.5","17");
Data[56] = new Array("73562","Video Spectra 1.5","Square","70 inch x 70 inch","","","","Model B, 70 inch x 70 inch, Square, Video Spectra 1.5","90.45","17");
Data[57] = new Array("33422","HC Matte White","Square","72 inch x 72 inch","","","","Model B, 72 inch x 72 inch, Square, HC Matte White","103.95","19");
Data[58] = new Array("33424","High Power","Square","72 inch x 72 inch","","","","Model B, 72 inch x 72 inch, Square, High Power","205.2","19");
Data[59] = new Array("33420","Matte White","Square","72 inch x 72 inch","","","","Model B, 72 inch x 72 inch, Square, Matte White","81","19");
Data[60] = new Array("33423","Video Spectra 1.5","Square","72 inch x 72 inch","","","","Model B, 72 inch x 72 inch, Square, Video Spectra 1.5","103.95","19");
Data[61] = new Array("93158","HC Matte White","Square","72 inch x 96 inch","","","","Model B, 72 inch x 96 inch, Square, HC Matte White","160.65","28");
Data[62] = new Array("83223","High Power","Square","72 inch x 96 inch","","","","Model B, 72 inch x 96 inch, Square, High Power","263.25","28");
Data[63] = new Array("40203","Matte White","Square","72 inch x 96 inch","","","","Model B, 72 inch x 96 inch, Square, Matte White","128.25","28");
Data[64] = new Array("83226","Video Spectra 1.5","Square","72 inch x 96 inch","","","","Model B, 72 inch x 96 inch, Square, Video Spectra 1.5","160.65","28");
Data[65] = new Array("93157","HC Matte White","Square","84 inch x 84 inch","","","","Model B, 84 inch x 84 inch, Square, HC Matte White","139.05","26");
Data[66] = new Array("83222","High Power","Square","84 inch x 84 inch","","","","Model B, 84 inch x 84 inch, Square, High Power","237.6","26");
Data[67] = new Array("40197","Matte White","Square","84 inch x 84 inch","","","","Model B, 84 inch x 84 inch, Square, Matte White","112.05","26");
Data[68] = new Array("83225","Video Spectra 1.5","Square","84 inch x 84 inch","","","","Model B, 84 inch x 84 inch, Square, Video Spectra 1.5","139.05","26");
Data[69] = new Array("93159","HC Matte White","Square","96 inch x 96 inch","","","","Model B, 96 inch x 96 inch, Square, HC Matte White","186.3","30");
Data[70] = new Array("83224","High Power","Square","96 inch x 96 inch","","","","Model B, 96 inch x 96 inch, Square, High Power","278.1","30");
Data[71] = new Array("40208","Matte White","Square","96 inch x 96 inch","","","","Model B, 96 inch x 96 inch, Square, Matte White","148.5","30");
Data[72] = new Array("83227","Video Spectra 1.5","Square","96 inch x 96 inch","","","","Model B, 96 inch x 96 inch, Square, Video Spectra 1.5","186.3","30");


   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;
            weight = Data[i][9];
            weightOrg = weight;
        }
   }

   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">';
     }
}

