<!-- Original:  Glenn Wang (brief@ix.netcom.com) -->
<!-- Web Site:  http://capsule.bayside.net/ -->

<!-- Modified by Ronnie T. Moore (The JavaScript Source) -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
function countChoices(obj) {
max = 3; // max. number allowed at a time

box1 = obj.form.EconomyDiapers.checked;  // your checkboxes here
box2 = obj.form.PremiumDiapers.checked;
box3 = obj.form.GenericDiapers.checked;
box4 = obj.form.PrivateLabelDiapers.checked;
box5 = obj.form.SecondsIrregularDiapers.checked;
box6 = obj.form.AdultDiapers.checked;
box7 = obj.form.BecomingDistributor.checked;
box8 = obj.form.CreatingPrivateLabel.checked;

count = (box1 ? 1 : 0) + (box2 ? 1 : 0) + (box3 ? 1 : 0) + (box4 ? 1 : 0) + (box5 ? 1 : 0) + (box6 ? 1 : 0) + (box7 ? 1 : 0) + (box8 ? 1 : 0);
// If you have more checkboxes on your form
// add more  (box_ ? 1 : 0)  's separated by '+'

if (count > max) {
alert("Oops!  You can only choose up to " + max + " choices! \nUncheck an option if you want to pick another.");
obj.checked = false;
   }
}
//  End -->
