function CalculateValves(form){
if (document.valves.os0.value == "Single Valve")
{
document.valves.amount.value = 85.00;
document.valves.item_name.value="Vegmatics Solenoid Valve";
}
if (document.valves.os0.value == "Pair of Valves")
{
document.valves.amount.value = 160.00;
document.valves.item_name.value="Pair of Vegmatics Solenoid Valves";
}
}

function CalculateFilters(form){
if (document.filters.os0.value == "Griffin GTB228 filter")
{
document.filters.amount.value = 130.00;
}
if (document.filters.os0.value == "Griffin G1000 filter")
{
document.filters.amount.value = 170.00;
}
}

function CalculateElem(form){
if (document.elem.os0.value == "Griffin 2010 2 micron element for Griffin GTB228 or Racor 500FG" ||
document.elem.os0.value == "Griffin 2010 10 micron element for Griffin GTB228 or Racor 500FG")
{
document.elem.amount.value = 8.00;
}
if (document.elem.os0.value == "Griffin 2020 2 micron element for Griffin G1000 or Racor 1000FH" ||
document.elem.os0.value == "Griffin 2020 10 micron element for Griffin G1000 or Racor 1000FH")
{
document.elem.amount.value = 10.00;
}
}

function CalculateHotfox(form){
if (document.hotfox.os0.value == "8-10 inches" ||
document.hotfox.os0.value == "10-12 inches" ||
document.hotfox.os0.value == "12-14 inches" ||
document.hotfox.os0.value == "13-15 inches" ||
document.hotfox.os0.value == "14-16 inches" ||
document.hotfox.os0.value == "17-19 inches")
{
document.hotfox.amount.value = 192.50;
}
if (document.hotfox.os0.value == "20-22 inches" ||
document.hotfox.os0.value == "22-24 inches" ||
document.hotfox.os0.value == "24-26 inches" ||
document.hotfox.os0.value == "26-28 inches" ||
document.hotfox.os0.value == "27-29 inches")
{
document.hotfox.amount.value = 200.00;
}
}

function CalculateArcticheat(form){
if (document.arcticheat.os0.value == "Trendsetter")
{
document.arcticheat.amount.value = 57.50;
}
if (document.arcticheat.os0.value == "Midranger")
{
document.arcticheat.amount.value = 140.00;
}
if (document.arcticheat.os0.value == "Linehauler")
{
document.arcticheat.amount.value = 155.00;
}
if (document.arcticheat.os0.value == "Thermal Liner")
{
document.arcticheat.amount.value = 800.00;
}
}

function CalculateVegmaticsheat(form){
if (document.vegmaticsheat.os0.value == "170 watts")
{
document.vegmaticsheat.amount.value = 70.00;
}
if (document.vegmaticsheat.os0.value == "170 watts temperature limited")
{
document.vegmaticsheat.amount.value = 85.00;
}
if (document.vegmaticsheat.os0.value == "250 watts")
{
document.vegmaticsheat.amount.value = 80.00;
}
if (document.vegmaticsheat.os0.value == "250 watts temperature limited")
{
document.vegmaticsheat.amount.value = 95.00;
}
if (document.vegmaticsheat.os0.value == "335 watts temperature limited")
{
document.vegmaticsheat.amount.value = 105.00;
}
if (document.vegmaticsheat.os0.value == "420 watts temperature limited")
{
document.vegmaticsheat.amount.value = 115.00;
}
}

function CalculateVegmaticspad(form){
if (document.vegmaticspad.os0.value == "85 watts")
{
document.vegmaticspad.amount.value = 40.00;
}
if (document.vegmaticspad.os0.value == "170 watts")
{
document.vegmaticspad.amount.value = 60.00;
}
}

function CalculateArcticpad(form){
if (document.arcticpad.os0.value == "80 Watts at 12 Volts DC, 3.25x1.75 in." ||
document.arcticpad.os0.value == "80 Watts at 12 Volts DC, 1.5x8 in." ||
document.arcticpad.os0.value == "80 Watts at 24 Volts DC")
{
document.arcticpad.amount.value = 67.50;
}
if (document.arcticpad.os0.value == "125 Watts at 120 Volts AC" ||
document.arcticpad.os0.value == "125 Watts at 220 Volts AC")
{
document.arcticpad.amount.value = 70.00;
}
if (document.arcticpad.os0.value == "250 Watts at 12 Volts DC")
{
document.arcticpad.amount.value = 85.00;
}
if (document.arcticpad.os0.value == "250 Watts at 120 Volts AC" ||
document.arcticpad.os0.value == "250 Watts at 220 Volts AC" ||
document.arcticpad.os0.value == "370 Watts at 12 Volts DC")
{
document.arcticpad.amount.value = 95.00;
}
if (document.arcticpad.os0.value == "500 Watts at 120 Volts AC" ||
document.arcticpad.os0.value == "500 Watts at 220 Volts AC")
{
document.arcticpad.amount.value = 105.00;
} 
if (document.arcticpad.os0.value == "1000 Watts at 120 Volts AC" ||
document.arcticpad.os0.value == "1000 Watts at 220 Volts AC")
{ 
document.arcticpad.amount.value = 135.00; 
}
}