<!-- 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.box1.checked;  // your checkboxes here
box2 = obj.form.box2.checked;
box3 = obj.form.box3.checked;  // add more if necessary
box4 = obj.form.box4.checked;
box5 = obj.form.box5.checked;
box6 = obj.form.box6.checked;
box7 = obj.form.box7.checked;
box8 = obj.form.box8.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 + " 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 -->
