<!-- 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 countChoices2(obj) {
max = 3; // max. number allowed at a time

checkbox1 = obj.form.checkbox1.checked;  // your checkboxes here
checkbox2 = obj.form.checkbox2.checked;
checkbox3 = obj.form.checkbox3.checked;  // add more if necessary
checkbox4 = obj.form.checkbox4.checked;
checkbox5 = obj.form.checkbox5.checked;
checkbox6 = obj.form.checkbox6.checked;
checkbox7 = obj.form.checkbox7.checked;
checkbox8 = obj.form.checkbox8.checked;
checkbox9 = obj.form.checkbox9.checked;
checkbox10 = obj.form.checkbox10.checked;
checkbox11 = obj.form.checkbox11.checked;
checkbox12 = obj.form.checkbox12.checked;

count = (checkbox1 ? 1 : 0) + (checkbox2 ? 1 : 0) + (checkbox3 ? 1 : 0) + (checkbox4 ? 1 : 0) + (checkbox5 ? 1 : 0) + (checkbox6 ? 1 : 0) + (checkbox7 ? 1 : 0) + (checkbox8 ? 1 : 0) + (checkbox9 ? 1 : 0) + (checkbox10 ? 1 : 0) + (checkbox11 ? 1 : 0) + (checkbox12 ? 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 + " selections! \nUncheck an option if you want to pick another or EXTRA selections can be added with a small fee of $2.20(pp) per selection. Use the \"Special Requirements\" box in the \"Booking Details\" Tab to add your requests.");
obj.checked = false;
   }
}
//  End -->
