<!--
function anyCheck() {

var total = 0;
var total2 = 0;
var flag = true;

var max =document.form1.count.value;
var range = 16
for (var idx = 1; idx < range; idx++) {


if (eval("document.form1.check" + idx +".checked") == true) {

    total += 1;
   if (total  != 1 ){
		alert("亞太區最受歡迎男歌星只可選一位");
		flag=false;
	}
	
	}

}

for (var idx = range ; idx <= max ; idx++) {
//alert(idx + "max=" + max);

if (eval("document.form1.check" + idx +".checked") == true) {
    total2 += 1;
   if (total2 != 1){
		alert("亞太區最受歡迎女歌星只可選一位");
		flag=false;
	}
	
	}

}
   if (flag==true)
   {
		document.form1.submit();
	}

}
//-->