Thanks for the reply. I'm not really understanding this simply because I've never used this method before. Using ElementById, if I request a particular element (i.e. selection1) it pulls the information just fine. So I don't really understand where the problem lies. However, if I understood your post correctly, my checkboxes should become:
<input type='checkbox' name='selection0' value='1578'>1578 - Product A
<input type='checkbox' name='selection1' value='1590'>1590 - Product B
And then my function should become
egg_salad = 5;
if (document.forms.elements['selection'+j].checked == true)
else if (egg_salad==5)
If I'm understanding this incorrectly, just let me know. However, when I attempt this I get errors as well stating the call has no properties.