<!---------------------------//
function anyCheck(form) 
{
    var total = 0;
    var max = form.fran_id2.length;
    for (var idx = 0; idx < max; idx++) 
    {
        if (eval("document.franlist.fran_id2[" + idx + "].checked") == true) 
        {
            total += 1;
        }
    }

    if (total > 10)
    {
        alert("You may not select more than 10 franchises at one time.  You must reduce the number of boxes that are checked by " + (total-10) + ".");
        return false;
    }

    if (total == 0)
    {
        alert("You must select at least one franchise before continuing.");
        return false;
    }

    if (10 >= total > 0)
    {
        return true;
    }
    
}

//---------------------------->
