// javascript includes

function qualify_submission(product_form)
{
    if  (  (product_form.elements.ADD_PRODUCT_cancellation_policy.checked) &&
           (product_form.elements.ADD_PRODUCT_attendance_policy.checked)
        )
        { 
            // alert (product_form.attendance_policy_accepted.checked);
            // alert (product_form.attendance_policy_accepted.checked);
            return true;
        }
    else
    {
        alert ("In order to proceed with this registration you must review and accept the Cancellation & Attendance policies.");
        // alert (product_form.attendance_policy_accepted.value);
        // alert (product_form.attendance_policy_accepted.checked);
        return false;
   }

}

function toggle_display_state(curobj)
{
  if (curobj)
  {
    if (document.getElementById(curobj).style.display=="none")
    {
      document.getElementById(curobj).style.display="block";
    }
    else
    {
      document.getElementById(curobj).style.display="none";
    }
  }
}

// find LOUD clinician search terms accepted
function qualify_loud_search(loud_search)
{
    if  (loud_search.elements.x_loud_search_terms_conditions.checked)
        { 
            return true;
        }
    else
    {
        alert ("In order to proceed with the Find LSVT LOUD Clinicians search you must review and accept the Search Terms and Conditions.");
        return false;
   }
}

// find BIG clinician search terms accepted
function qualify_big_search(big_search)
{
    if  (big_search.elements.x_big_search_terms_conditions.checked)
        { 
            return true;
        }
    else
    {
        alert ("In order to proceed with the Find BIG Clinicians search you must review and accept the Search Terms and Conditions.");
        return false;
   }
}