function cntsel(f)
{
var count=0; all=0;
if (f.options[0].selected==true)
	all = 1
for (var i=0; i<f.options.length; i++)
 if (f.options[i].selected==true)
    count++
if (all==1)
  if (count>1)	{
  	alert("You may select either “All” OR items below “All”, but you may not select “All” AND items below “All”.")
	for (var i=1; i<f.options.length; i++)
	  f.options[i].selected=false

	}
}

