function anyCheck(form)
{
var j = 0;
var k = 0;
var radio_buttons = new Array();
var check_box = new Array();
var the_form = window.document.Form1;
for(var i=0; i < the_form.length; i++)
{
var temp = the_form.elements[i].type;
if((temp == "radio") && (the_form.elements[i].checked))
{
radio_buttons[j] = the_form.elements[i].value;
j++;
}
if((temp == "checkbox") && (the_form.elements[i].checked))
{
check_box[k] = the_form.elements[i].value;
k++;
}
}
if (j == 0)
{
document.all['lblmsg'].innerHTML="Please Select At Least One Selection."
return false;
}
if (k == 0)
{
document.all['lblmsg'].innerHTML="Please Select At Least One Option."
return false;
}
return true;
}