if then statement that allows me to have a price of a 4th selection be based on a, b, or c, selected
<pre><code>&lt;input type="checkbox" name="KingBed" id="KingBed" /&gt;
&lt;input type="checkbox" name="queenbed" id="queenbed" /&gt;
&lt;input type="checkbox" name="FullBed" id="FullBed" /&gt;
&lt;input type="checkbox" name="headboard" id="headboard" /&gt;


check = document.getElementById("headboard").checked;
if(check) { maxTotal += 25 /*PRICE*/; minTotal += 17/*PRICE*/; }
</code></pre>

<p>I am looking for an if then statement that if bed1 is chosen, then when headboard is chosen, it will issue one set of prices, but if queenbed, and so forth is chosen, it will list another price.</p>
